#nitesh0001_82405
1 messages · Page 1 of 1 (latest)
Are you there ?
Hi! Let me help you with this.
In what country do you want your account to be based?
Let me explain you the flow
I have integrated Stripe connect in one of my application
I want to register service provider to provide services and end user to request these services
The service provider can be from any country
But when I try to register as a provider, I am unable to change the country name
it is default set to the US
You can check it here
Are you there ?
Yes
How are you creating the connect accounts?
Yes
Please check
you can check this link
https://connect.stripe.com/setup/e/acct_1NnIGpPCRDoOv3Co/4rsDrU6kBHRy
I mean, how are you creating the connected accounts? Via Dashboard or API?
API
I see you're providing the country in this request, that's why you can't change it: https://dashboard.stripe.com/logs/req_kXAklGHvFSQQAZ
providing country in API ?
What do you mean?
I see you're providing the country in this request, that's why you can't change it:
I am providing country in API that's why it's not changing?
Where am I providing the country ?
When your application sends a request to Stripe, you provide the country parameter.
Okay.
I tried without country parameter also. It's still not working
Can you please check
?
What's not working?
Still the country option is disable
Your client has to select the country on your website, and then you set it in the request. They can't select it during the onboarding unfortunately.
Will it work for Ecuador also?
yes
That should work with Ecuador. Given your Platform is based in the US.
If I am selecting Ecuador country It's not working
$stripe->accounts->create(['type' => 'express']);
$account = $stripe->accounts->create([
'type' => 'express',
'country' => 'EC',
'email' => $email,
'capabilities' => [
'card_payments' => ['requested' => true],
'transfers' => ['requested' => true],
],
]);
$user_token_id = $account->id;
I am using this code
What's not working?
It shows this error
<br />
<b>Fatal error</b>: Uncaught (Status 400) (Request req_BX6O7oqpvBuuhV) You cannot request the card_payments capability
for accounts in EC. For a list of countries that support card_payments, see https://stripe.com/global. To create an
account in EC, see https://stripe.com/docs/connect/cross-border-payouts.
thrown in
<b>/home/inwizard/public_html/worklive/miksa_api/Stripe/vendor/stripe/stripe-php/lib/Exception/ApiErrorException.php</b>
on line <b>38</b><br />
If I am changing country name to Ecuador
Could you please share the Request ID req_xxx? https://support.stripe.com/questions/finding-the-id-for-an-api-request
Do you mean publishable key ?
No, a request ID that produced this error. Please check the link.
You don't need card_payments capability for Express accounts, if you do Destination Charges: https://stripe.com/docs/connect/destination-charges
Basically meaning clients only use the Connected accounts to receive payouts. All the payments activity happens on the Platform account.
okay
You mean for providers, we don't need to register as an express account. Right ?
No
You need to create an Express account for your providers. They need to pass the onboarding. And then you can transfer funds to their account and they will be able to make payouts to their bank.
However, you don't need to request a card_payments capability for their accounts because the Customer payments will happen on your Platform account.
Basically, you need to send the same request but without card_payments capability, and it will work.
Okay. Let me check
Still facing this error
<br />
<b>Fatal error</b>: Uncaught (Status 400) (Request req_LVNSzNuADRn7YW) A recipient service agreement is required for
accounts in EC. To specify the recipient service agreement, see
https://stripe.com/docs/connect/service-agreement-types#choosing-type-with-api. For more information on cross-border
transfers, see https://stripe.com/docs/connect/account-capabilities#transfers-cross-border.
thrown in
<b>/home/inwizard/public_html/worklive/miksa_api/Stripe/vendor/stripe/stripe-php/lib/Exception/ApiErrorException.php</b>
on line <b>38</b><br />
Please read the linked articles.
We are trying to make error message as descriptive as possible so you can solve your issues on your own.
Okay thanks
let me check with this
Can I message you personally? as this chat disables automatically after some time
So that If i still face problem so i can contact you
No, we don't provide 1x1 support. I am closing the thread after some time as I need to step away and my colleague takes over.
If you want 1x1 support you can reach out to Stripe Support: https://support.stripe.com/?contact=true
You can write in the main channel and my colleagues will happily assist you.
Happy to help!