#gabriel-_api

1 messages ยท Page 1 of 1 (latest)

thin duneBOT
#

๐Ÿ‘‹ 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/1278056295475318784

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

celest rain
#

Hello! We're a ticketing platform using connect operating in the US and a few counties.
In Mexico for whatever reason, we have to call PaymentIntents like this, with no application_fee_amount, so that it runs. super crazy.

payment_intent_data: {
...(!mexicanAccounts.includes(organizer.connectAccountID || "") && {
application_fee_amount: platformFee,
}),
...(specialAccounts.includes(organizer.connectAccountID || "") && {
on_behalf_of: organizer.connectAccountID, // for some countries needed
}),
transfer_data: {
destination: organizer.connectAccountID,
},
...(isManualCapture && { capture_method: "manual" }),
},

#

we're processing abt $200k GMV / mo so this is critical

celest anvil
#

Do you have an Account ID I can look at?

celest rain
#

yes!

#

acct_1KFT58CyOmoY8JGE

#

this is our acct / platform

celest anvil
#

Error: Stripe doesn't currently support application fees for platforms in US with connected accounts in MX.
Did this error come directly from Stripe? Or is it coming from a 3rd party connector/platform/plugin?

celest rain
#

FirebaseFunction calls Stripe

celest anvil
celest rain
#

searching for req id

#

hi!

#

I don't know how to find an error 10 days ago

#

nvm, here I found it!

#

req_G0oSCfrTLoYJvg

thin duneBOT
celest rain
celest anvil
#

Okay, so I think the issue here is that the application fee results in funds being transfered from the MX account to the US account, which (if I recall correctly) is highly regulated and unsupportable by Stripe.

The workaround here would be to implement Separate Charges and Transfers, such that the platform accepts the funds from the payment and then removes the fee before transferring the remainder of the payment to the MX connect account. This effectively ensures that funds are only ever flowing to the MX connect account from the platform, and never from the MX connect account to the platform.

https://docs.stripe.com/connect/separate-charges-and-transfers

Create charges on your platform account and transfer funds to multiple connected accounts.