#-frinos-_code

1 messages ¡ Page 1 of 1 (latest)

native ferryBOT
#

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

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

upbeat void
#

I'm not sure if the issue is on the front-end or the back-end since we do not get any error messages.

fair gazelleBOT
haughty wasp
#

After the transaction is successful through Google Pay, we want to send that money to a Connect account. In the creation of payment intent, we are adding OnBehalfOf to send that money to a Connect account but nothing happens even after Stripe says it was successful after payment is done on front end.
You need to use transfer_data.destination

#

You can also specify the amount

upbeat void
#

I tried that but I got this error:

Cannot create a destination charge for connected accounts in AU because funds would be settled on the platform and the connected account is outside the platform's region. You may use the on_behalf_of parameter to have the charge settle in the connected account's country. For more information on on_behalf_of, see https://docs.stripe.com/connect/destination-charges#settlement-merchant. If using capabilities (e.g. card_payments, transfers), note that they affect settlement as well. For more information on capabilities, see https://stripe.com/docs/connect/account-capabilities. If you still need assistance, please contact us via https://support.stripe.com/contact.

haughty wasp
#

What you can do is to use on_behalf_of and the transfer data in that case

upbeat void
#

ah, so to do that we would need "recipient" TOS agreement for the Connect account?

#

I made a payment link as the Connect account and the money went to the Connect account without any issue. Shouldn't the "full" agreement cause an issue there as well or is that handled differently by Stripe?

haughty wasp
#

Can you share the resulting payment_intent ?

haughty wasp
upbeat void
upbeat void
haughty wasp
upbeat void
haughty wasp
haughty wasp
upbeat void
haughty wasp
#

Cool!

upbeat void
#

thanks a lot for the help!