#_unclekaos-checkout-connect
1 messages ยท Page 1 of 1 (latest)
Sure. As an example, I have a company selling carbon offsets via either subscription or one-time purchases and they're using my drop-in widget to allow a customer to select which plan/offsets they'd like to buy. After a customer has made their selection, I'd like to generate a stripe checkout session for them (ideally directly on the company's account, but on my account and sending the funds to the company account could work).
I have a basic example here: https://dcec-108-162-142-18.ngrok.io/offset#home
My challenge is what's the best way to be able to instantiate a checkout session so that the funds go to the right third party stripe account?
Should I get them to connect their account to my account and everyone would use "my" account to checkout with the funds getting distributed afterwards? I was hoping I could just instantiate a checkout on behalf of their account so it would use their own checkout settings. It would also mean they could setup their own plans and I wouldn't have to manage plans/products for every integrated account.
๐ stepping in here.
Connect is the way to go here with Direct Charges
They could still set up their own prices/products in this case
Here is info on Direct Charges: https://stripe.com/docs/connect/direct-charges
You would basically do this but create a Checkout Session instead of a PaymentIntent