From 693420e157417032c56dcb78129a7fe418e72798 Mon Sep 17 00:00:00 2001 From: amianthus <49116958+SirTenzin@users.noreply.github.com> Date: Fri, 14 Nov 2025 16:08:27 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20blocking=20attach=20bug?= =?UTF-8?q?=20for=20vercel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../internal/customers/attach/attachUtils/handleAttachErrors.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) {