#krishnavcse-connect
1 messages · Page 1 of 1 (latest)
yaa but i am telling about onboarding a fresh account
that time i don't know his account id
What flow are you using? Account Link?
using oaut
ah
i am using oauth link for onboarding an express account
once onboarded it redirects me to account onboarded page
that is part of stripe
Here in the response of OAuth token API there is the account id
how can i do cross border payment from platform to seller accout
Sounds like Cross-border payout: https://stripe.com/docs/connect/cross-border-payouts
yaa but how can i get authorization code in my application
it is in stripe link know
i want the code in my project link, so that i can fetch it
are u there
Yes, but have you followed the guide above steps by steps?
the authorization code is included in the redirection after you user complete registering
This part
https://connect.stripe.com/connect/default/oauth/test?code={AUTHORIZATION_CODE}
it's giving permission error
while accepting tos for cross border payment of connected account
req_Xg7wf2TIwjjAwW
@sudden void is there a reason why you're using OAuth instead of Connect Onboarding a.k.a https://stripe.com/docs/api/account_links/ to onboard accounts?
i am using oauth to onboard connected account
i understand that, but you should probably be using Connect Onboarding instead to onboard connected accounts - https://stripe.com/docs/connect/express-accounts
i want to do cross border payment, in document url you share, they specified i need to accept
tos
service level agreement
Service agreement type: Your platform can create connected accounts under the recipient service agreement to enable cross-border transfers. Such accounts have restricted access to capabilities.
how can i achieve this
not enough information
To do cross border payments,
- you should be using Connect Onboarding to onboard connected accounts - follow the step 2 here : https://stripe.com/docs/connect/add-and-pay-out-guide?integration=with-code#with-code-create-connected-account
- When creating the account, you should specify :
capabilities.transfers.requested=trueand
tos_acceptance.service_agreement:'recipient'https://stripe.com/docs/connect/service-agreement-types#choosing-type
The Express connected account user will accept the TOS when completing the hosted onboarding form
i am not doing anything locallly
i am just creating an onboarding url and rest all is taken care by stripe
in this case how do i accept the When creating the account, you should specify : capabilities.transfers.requested=true and
tos_acceptance.service_agreement:'recipient' https://stripe.com/docs/connect/service-agreement-types#choosing-type
are you there
have you taken a look at the steps in 2 Create a connected account listed in this guide : https://stripe.com/docs/connect/add-and-pay-out-guide?integration=with-code#with-code-create-connected-account?
$stripe = new \Stripe\StripeClient('sk_test_51LOJYqIXPR7EcpFkgUafdZmXCe6GwsS5tsAjxgIPrUfHlNVCalaWI3Bik6GATR1o8TGsJpNAcaya4XqvTMQNLZy2004OTVC9Ce');
$stripe->accounts->update(
'{{CONNECTED_STRIPE_ACCOUNT_ID}}',
['tos_acceptance' => ['service_agreement' => 'recipient']]
);
i tried that steps
then only
i am getting the error
permission error
req_Xg7wf2TIwjjAwW
You must create the account using - https://stripe.com/docs/api/accounts/create and set capabilities.transfers.requested=true and tos_acceptance.service_agreement:'recipient' when creating the account.
You **cannot onboard the connected account using OAuth **then update the account's tos.
yaa but why do i need to do so much extra work
if i can do automatically all those
i want to set that permssion
just tell me how to do that
could you elaborate more on i can do automatically all those? I'm not entirely sure what you're referring to here
i'm afraid this is the only way to go about onboarding Express accounts for crossborder payouts, there's no workaround
this is not right
i need alternative to store
and update capabilities.transfers.requested=true and tos_acceptance.service_agreement:'recipient'
i cannot switch the process once again
try to understand
already i spent months on that
For various reasons, OAuth isn't designed to be used for crossborder payouts. That's why the guide to onboard connected accounts for payouts mention to use the Connect onboarding flow : https://stripe.com/docs/connect/add-and-pay-out-guide?integration=with-code#with-code-create-connected-account
I'm sorry that you have to change most of your integration flow and I'll pass on the feedback to the relevant team to make it clearer in the docs that you must use Connect Onboarding.