#brandon-pm-clone

1 messages · Page 1 of 1 (latest)

quiet burrowBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

silent river
#

Can you share the failing request ID please?

gloomy vault
#

the customer id is cus_PLQEnwCwOuTVB4

#

the code I'm trying to run is

    const paymentMethod = await stripe_ua.paymentMethods.create(
      {
        customer: stripeCustomer.id,
        payment_method: paymentMethodId,
      },
      {
        stripeAccount,
      },
    );
#

whoops sorry, the actual request ID is req_n4RkOYV0B44ItM

#

for the failling request

silent river
#

In this case the customer should be the platform customer that the payment method is attached to

#

Rather than a customer on the connected account

#

When you provide a customer & payment_method on the platform using the header like this, the result is a new payment method on that conencted account, which you can then attached to a customer on the connected account

quiet burrowBOT
quiet burrowBOT