#evi
1 messages · Page 1 of 1 (latest)
Hi, not sure I follow but where does the Customer belong? the Platform or the Connected Account?
You can only generate receipt for Customer in the Stripe Account it belongs to
It's the connected account's customer
So say bob, the customer, makes a purchase on a Merchant A's connected account to my Platform ABC.
I would like the Stripe receipt to Bob to have Merchant A's name and branding.
Instead, Bob is currently getting a receipt that looks like its from my Platform ABC instead.
Okie, you can use on_behalf_of. How did you make the purchase?
Do you mean how the customer would make a purchase?
Yes, and which API do you call
stripe checkout
And how do you specify the Merchant A connected account on that Checkout Session?
Merchant A's Standard account it connected to the platform via OAuth
Okie, but at the time you make the Checkout Session, do you specify anything related Merchant A
I am talking about, for example desitnation parameters here: https://stripe.com/docs/api/checkout/sessions/create?lang=ruby#create_checkout_session-payment_intent_data-transfer_data-destination
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Hey, hope this is not confusing to you. I mean when you create a Checkout Session, there is an option on_behalf_of that will allow you to charge the Customer "on behalf of" the Connected Account, meaning using the Connected Account's branding and name on any Invoice generated
Do you have links to docs on this?
Does on_behalf_of go directly in the CheckoutSession payload, or is it nested under anything?
It is nested here: https://stripe.com/docs/api/checkout/sessions/create?lang=ruby#create_checkout_session-payment_intent_data-on_behalf_of
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
It has the explanation here: https://stripe.com/docs/connect/charges#on_behalf_of