#TheUchi007-separate-charges-and-transfers
1 messages · Page 1 of 1 (latest)
Hi 👋 I would not recommend this approach. Instead, if you have scenarios that involve multiple third parties/merchants/vendors, I would recommend looking at Separate Charges and Transfers.
With that flow a single payment is made by the Customer, and then you can use Transfers to divide the proceeds from that transaction amongst the related parties as necessary.
https://stripe.com/docs/connect/charges#types
https://stripe.com/docs/connect/charges-transfers
I am using transfers to send the money to their account, but I still need to create a payment intent first. I was just checking the possibility of being able to have a "global" shopping cart in which I could add items from several stores, and then manage who gets what amount through creation of several payment intents at once
But now that I think about it, it does sound way more complex that it needs to be
I will find a different approach
Thanks for your suggestion!
Yeah, I would recommend doing that with one Payment Intent. Otherwise you would need to build in failure logic to handle scenarios where only some of the payments failed, and I believe (though am not certain) you would end up paying more in fees if you increased the number of payments per transaction.