-
Is it possible to pay with the PaymentSheet while using a StripeAccountId of a Connected Account? As soon as I assign a StripeAccountId to The client_secret provided does not match the client_secret associated with the PaymentIntent. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
The account id is something different then the client secret. When using the payment sheet you always need to add the client secret linked to the payment intent in order to make it work. This client secret is created on the server. See also our examples |
Beta Was this translation helpful? Give feedback.
-
Ok, so is there a way to use the PaymentSheet with Connected Accounts? |
Beta Was this translation helpful? Give feedback.
-
OK, I managed to make a payment to an Connected Account with the PaymentSheet. In addition to assigning the StripeAccountId to
|
Beta Was this translation helpful? Give feedback.
OK, I managed to make a payment to an Connected Account with the PaymentSheet.
In addition to assigning the StripeAccountId to
Stripe.stripeAccountId
I need to also add it when the PaymentIntent is created: