#jarcher

1 messages · Page 1 of 1 (latest)

tough escarpBOT
lavish gyro
#

Hi there, let me take a look

junior zinc
#

thanks @lavish gyro !

#

It's created like this on the frontend: const cardElement = elements.getElement(CardElement); const paymentMethodReq = await stripe.createPaymentMethod({ type: "card", card: cardElement, }); const paymentMethod = paymentMethodReq?.paymentMethod?.id;

lavish gyro
#

The pm_1Mby15FSRlrDjPli1gYcKljD was created on a different connected account

junior zinc
#

and attached like this on the backend: await stripe.paymentMethods.attach( paymentMethod, { customer: customer, }, { stripeAccount: stripeAccount, } );

#

aha

#

nice that helped me find the bug. Thanks @lavish gyro