#christophe5550
1 messages · Page 1 of 1 (latest)
Hey there
You want to use Direct Charges for this. Take a look at https://stripe.com/docs/connect/direct-charges
Hi bismark,
Thanks a lot for your answer!
So If I've well understood : When the user click on "Book", I use Direct Charges using PaymentIntent with id of the selected providers.
But when should i create a Checkout form ? Before or after PayementIntent ?
Ah well that depends on which integration flow you are using
The easiest thing here would actually be to use Stripe Checkout
Where you wouldn't create a PaymentIntent at all
But actually a Checkout Session
And redirect the customer to that Session
Are you familiar with Stripe Checkout?
You can see our basic integration guide for both Stripe Checkout or Elements here: https://stripe.com/docs/payments/accept-a-payment
So you would combine one of those two options with this idea of "direct Charges" where you are actually performing these actions on the Connected Account and then taking an Application Fee for your platform
It's my first use of Stripe !
I'm not really familiar but I learn fast ^^
If I use Stripe Checkout, where should i mention the destination connected accound id ? It's not explained in documentation as I can see
This is how you make requests for your Connected Accounts
So basically you pass the Stripe Account Header when creating your Checkout Session
Then the Checkout Session will be created on your Connected Account
That is basically the idea of how "direct Charges" work as a Connect flow
Hum, OK I think I've understood. Just adding Stripe Account header will redirect my Stripe Checkout to the good connected account
Yep
Thanks a lot for all, I'm testing right now
Sounds good!