#Toye

1 messages · Page 1 of 1 (latest)

wet hornetBOT
tired hatch
#

Out of curiosity why are you using oauth?

#

That's an older flow that's not generally recommended unless you have to use it

oblique seal
#

I am using oauth because of the way it redirects me to the stripe page immediately on clicking the oauth link

#

so the user have the ability to create everything about the account after been redirected to the stripe page

tired hatch
#

They just get directed to the Stripe-hosted link and can input all required info

#

Would recommend doing it that way

oblique seal
#

Okay, thanks @tired hatch I would try this method and let you know if this solves my issue.

tired hatch
#

Cool no problem

oblique seal
#

Hi @tired hatch while trying to use api I got this error
{
"error": {
"message": "The recipient ToS agreement is not supported for platforms in US creating accounts in US.",
"param": "tos_acceptance[service_agreement]",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_WSfvEDAZWb4osB?t=1683315334",
"type": "invalid_request_error"
}
}

This were the parameters passed:
type: express,
email: xxxx
business_type: individual,
capabilities[transfers][requested]: true,
tos_acceptance[service_agreement]: recipient

So I guess it is assuming that the account is located in usa, so this is forcing me to send a country parameter with it. do you think I have another way to achieve this with this api or I just have to send the country parameter along with it?

tired hatch