#valdo99
1 messages ยท Page 1 of 1 (latest)
Hi there!
You are creating the Checkout Session on a connected account (with stripeAccount: connectedAccount). So you need to do the same with the customer.
Both the customer and the Checkout Session need to be on the same Stripe account for things to work.
ok nice
so if a customer needs to buy from another connected account using off session, he needs to add a payment method before ?
he cannot use the one used by the first connected account?
Yes if you have one customer with a payment method in connected account A, then later if the same customer wants to buy something from connected account B, then they need to re-enter their payment details.
One workaround would be to store the customer on the platform account direclty, and then clone the customer & payment method on the connected account A and B. You can learn more about this here: https://stripe.com/docs/payments/payment-methods/connect#cloning-payment-methods
Happy to help ๐
another thing quickly, can i save firstly the account to account A, execute the payment, and then save the customer with paymentmethod into the platform account?
Nope. You can only clone payment method from the platform to a connected account.
but in this case, the platform account needs to "take" the money and then transfer to the account A
Not necessarily. You could create the Payment method on the platform, and right after clone it on the connected account to make the payment there
in this case i cannot use the checkout session to save the payment method right?
That true. But you could use the Checkout Session in setup mode to collect the payment details without charging the customer, and then make the charge on the connected account. But yes it's not ideal.
mhh, i think the way is to create a custom checkout here ๐ฆ
thanks for the thoughts ๐๐ฝ
if a customer accepts a payment intent off session on the platform account can i pass this to Account A and B ?
the thing i'm trying to achieve is, if a customer buys items from account A , then he can buy products from account B without going thorugh checkout
if a customer buys items from account A , then he can buy products from account B without going thorugh checkout
Then there are only two options:
- Create the PaymentMethod on the platform, clone the payment method on the connected account, and then do Direct Charges
- Or create the PaymentMethod on the platform, and then do Destination Charge or Separate Charges & Transfer
You can learn more about the different types of charges here: https://stripe.com/docs/connect/charges
is this mind map ok?
If you have to use Direct Charges, then it looks correct. But what is "custom checkout pre-filled"?
๐ taking over for my colleague. Let me know if there's any follow-up Qs I can answer!