#reang-connect
1 messages ยท Page 1 of 1 (latest)
Hi! Can you share the request ID (req_xxx)? Here's how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Thanks! Give me a few minutes to look into this.
So you platform account (acct_1KYfi0JIUgD8pRL5) is trying to make a direct charge on a connected account (acct_1KjERAJe4jUF8dp7). However in your request you are using a Payment Method that belongs to the platform account, so that can't work. The payment method needs to exist on the connected account.
So in this case you could solve this by cloning the payment method from the platform account to the connected account, with this: https://stripe.com/docs/payments/payment-methods/connect#cloning-payment-methods
when i have to cloning payment method? before payment intent in connected account? or after that?
Before creating the Payment Intent.
And then you have to use the cloned payment method ID (the one on the connected account) when creating the Payment Intent.
okayy, after i clone payment_method and now create payment Intent. get response no such customer. thankyou
Well it's the same, the customer should also be on the connected account.
When using direct charges, all objects should live on the connected account.
So you can create a new customer on the connected account, and pass that ID in the paymentintent.
any documentation for create new customer in connected account?
Yes you can see an example on this page: https://stripe.com/docs/connect/authentication#stripe-account-header
oke thankyou, i'll try first
hello, i successfully create the uncaptured payment ๐ thanks
any documentation to capture payment from connected account?
Great! You need to call this: https://stripe.com/docs/api/payment_intents/capture while passing the stripe-account header (similar to how you created the customer on the connected account).
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.