#ahmad-naeem_separate-ct
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1234798200997806090
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- ahmad-naeem_code, 3 days ago, 29 messages
- ahmad-naeem_code, 4 days ago, 31 messages
so how i'm distributing fund is though webhook when i recieve a checkout session completed event in webhook i try to transer
await this.stripe.transfers.create({
amount: vendorCollectionAmount,
destination: accountId,
source_transaction: sourceCharge,
transfer_group: transferGroup,
});
Likelihood is that you might struggle to do transfers to non-US accounts because of cross-border restrictions: https://docs.stripe.com/connect/account-capabilities#transfers-cross-border
Depends on the service agreement set on your connected accounts as noted
can we use on_behalf_of parameted for multiple connected accounts ?
No, that's not how that parameter works. You need to create 1 transfer per connected account
but on checkout session we are recieving payment on behal of multiple vendors ?
Sure, and that scenario is supported via separate charges and transfers were you create n transfers post payment
There are no parameters you can pass to Checkout that will distribute funds automatically to multiple conncted accounts
ahmad-naeem_separate-ct
let's say we have 3 products from 3 vendors in checkout session, 1 vendor has connected account in usa, other has in uk, other has in australia, how i will make transfer to connected accounts after completing checkout session
Which part is unclear then?
how will i make transfer to connected accounts after checkout session is completed, what parameter will be there while creating checkout session? what parameters are required to make transfer to connected accounts
If you'd actually read that doc, those questions are answered: https://docs.stripe.com/connect/separate-charges-and-transfers?platform=web&ui=stripe-hosted#transfer-availability
how will i make transfer to connected accounts after checkout session is completed
Use the Transfers API
what parameter will be there while creating checkout session?
None that are useful in your scenario
what parameters are required to make transfer to connected accounts
See link above
i don't need to use on behalf of parameter right ?
No
but i still need source transaction parameter ?
Do you understand how that works?
emm can you help me understanding how that works ?
Explains it: https://docs.stripe.com/connect/separate-charges-and-transfers?platform=web&ui=stripe-hosted#transfer-availability
okay