#TheUchi007-separate-charges-and-transfers

1 messages · Page 1 of 1 (latest)

native linden
#

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

With Connect, you can make charges on your platform account on behalf of connected accounts, perform transfers separately, and retain funds in the process.

Learn how to create a charge and split payments between your platform and your sellers or service providers when you accept payments.

frosty pond
#

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!

native linden
#

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.

frosty pond
#

Yeah, that is true

#

Adding unnecessary complexity lol

#

I will just create a cart system in which the cart is tied to a business ID

#

And then have the checkout page use that cart