#krishnavcse-connect

1 messages · Page 1 of 1 (latest)

tardy granite
#

When you create the Account link you already have the account id, I believe

sudden void
#

yaa but i am telling about onboarding a fresh account

#

that time i don't know his account id

tardy granite
#

What flow are you using? Account Link?

sudden void
#

using oaut

tardy granite
#

ah

sudden void
#

i am using oauth link for onboarding an express account

#

once onboarded it redirects me to account onboarded page

tardy granite
sudden void
#

that is part of stripe

tardy granite
#

Here in the response of OAuth token API there is the account id

sudden void
#

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

tardy granite
#

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}
sudden void
#

it's giving permission error
while accepting tos for cross border payment of connected account

#

req_Xg7wf2TIwjjAwW

blazing bane
sudden void
#

i am using oauth to onboard connected account

blazing bane
sudden void
#

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

blazing bane
#

To do cross border payments,

  1. 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
  2. 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
    The Express connected account user will accept the TOS when completing the hosted onboarding form
sudden void
#

i am not doing anything locallly

#

i am just creating an onboarding url and rest all is taken care by stripe

#

are you there

blazing bane
sudden void
#

$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

blazing bane
#

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.

sudden void
#

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

blazing bane
#

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

sudden void
#

this is not right

sudden void
#

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

blazing bane