diff --git a/server/src/internal/customers/attach/attachUtils/handleAttachErrors.ts b/server/src/internal/customers/attach/attachUtils/handleAttachErrors.ts index 1c0830b11..c27bbaa8b 100644 --- a/server/src/internal/customers/attach/attachUtils/handleAttachErrors.ts +++ b/server/src/internal/customers/attach/attachUtils/handleAttachErrors.ts @@ -144,7 +144,7 @@ export const handleCustomPaymentMethodErrors = ({ }) => { const { paymentMethod } = attachParams; if ( - paymentMethod?.type === "custom" || + paymentMethod?.type === "custom" && attachParams.customer.processors?.vercel?.custom_payment_method_id === paymentMethod?.custom?.type ) {