#nitesh0001_82405

1 messages · Page 1 of 1 (latest)

stable glacierBOT
blazing pike
#

Are you there ?

median carbon
#

Hi! Let me help you with this.

#

In what country do you want your account to be based?

blazing pike
#

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 ?

median carbon
median carbon
blazing pike
#

Yes

#

Please check

median carbon
#

I mean, how are you creating the connected accounts? Via Dashboard or API?

blazing pike
#

API

median carbon
blazing pike
#

providing country in API ?

median carbon
blazing pike
#

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 ?

median carbon
blazing pike
#

Okay.

#

I tried without country parameter also. It's still not working

#

Can you please check

#

?

median carbon
#

What's not working?

blazing pike
#

Still the country option is disable

median carbon
#

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.

blazing pike
#

Will it work for Ecuador also?

median carbon
#

Yes

#

You're creating Express accounts, right?

blazing pike
#

yes

median carbon
#

That should work with Ecuador. Given your Platform is based in the US.

blazing pike
#

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

median carbon
#

What's not working?

blazing pike
#

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

Transfer and pay out funds around the world.

#

If I am changing country name to Ecuador

median carbon
blazing pike
#

Do you mean publishable key ?

median carbon
median carbon
#

Basically meaning clients only use the Connected accounts to receive payouts. All the payments activity happens on the Platform account.

blazing pike
#

okay

#

You mean for providers, we don't need to register as an express account. Right ?

median carbon
#

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.

median carbon
blazing pike
#

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

A service agreement establishes the relationship between Stripe and the platform's users.

Learn about capabilities you can enable for accounts and the requirements you must satisfy to use them.

median carbon
#

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.

blazing pike
#

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

median carbon
#

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.

blazing pike
#

ohh

#

How can i contact you later ?

#

I mean connect with you later?

median carbon
#

You can write in the main channel and my colleagues will happily assist you.

blazing pike
#

Okay

#

Thanks

median carbon
#

Happy to help!