#umu_api

1 messages ¡ Page 1 of 1 (latest)

ashen solsticeBOT
#

👋 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/1362194515686986000

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

strong wyvern
#

Express accounts generally use Destination charges, rather than Direct charges. Why did you choose Express? And why did you choose Direct charges?

lethal glacier
#

We were using Express because the whole idea of transferring payment from the platform to the target connected account seems matching what we want to achieve i.e. a donation feature. But it turns out the Stripe processing fee is charged by the platform, so we wanna see if direct charge is possible without changing the account type from Express to Standard.

strong wyvern
#

Right, so ... it's not recommended for many reasons, all of which make the integration harder.

#

whole idea of transferring payment from the platform to the target connected account seems matching what we want to achieve

This is true of all three kinds of Stripe Accounts.

lethal glacier
strong wyvern
#

It is possible, yes. I also think that Express Accounts are a great pairing for donations like this, but you likely want to use destination charges instead of direct.

lethal glacier
#

But the main point is we would like the connected account to be charged for the processing fee instead of the platform.

strong wyvern
#

Cool. You can reduce the amount you transfer to them to cover that.

At the same time, it's likely worth talking to Support about what you need to know to make sure this is supportable by Stripe, as donation platforms have requirements from our side - however, that's not something our team deals with/knows about.

lethal glacier
#

From the pricing doc https://stripe.com/en-ca/pricing though, the amount of processing fee can be calculated in many ways depending on the payment method. That's why I don't want to hard-coded a portion to reduce. And I don't see there is a way to automatically calculate the processing fee in th backend?

#

This leads to direct charge being the only path to go.

strong wyvern
#

Those are Destination charges.

lethal glacier
#

I've tried it and it seems it's only working for Standard.

#

But not for Express

strong wyvern
#

Can you share a Request ID showing the issue?

lethal glacier
#

Ok, it looks like I must specify stripe account for paymentIntents.create

{...},
{
  stripeAccount: accountId,
}

and also loadStripe() in the frontend in order for direct charges to work for Express accounts.

#

Though, if we want to use direct charge so that the connected account will be charged for processing fee, would it be better for us to just switch to Standard account?

strong wyvern
#

Yes, that's how it works for direct charges. Standard accounts are a lot for someone just trying to raise some money - even Express is more than most folks would care about.

That's assuming a large number of your users only do a few fundraisers.

lethal glacier
#

Got it. Thank you so much for the support.

strong wyvern
#

Of course!