#Huvr2021-Connect-Express

1 messages ยท Page 1 of 1 (latest)

sage granite
#

So the API calls all return successfully for you, but when Brazillian users click on your account link they only see a white screen?

#

Can you navigate to that link yourself when you test it for your Brazilian account?

tulip timber
#

correct. We actually went ahead and ran preliminary tests in England and Portugal as well, and those countries are fine too. It's just Brazil. We tried 4 different users in the country with different phones, and they all get the some response, they cant connect to stripe to add their account

sage granite
#

Do you have some Brazilian account IDs I can look in to?

#

And maybe one from Australia so I can compare it to the successful one

#

Have you checked the dev console in their browser for errors?

tulip timber
#

Other than on a local machine... no one has been able to create an accountID from Brazil... we do have australian IDs and US IDs

#

an account ID for stripe that is

sage granite
#

Can you tell me exactly what this "Connect my stripe account" button does and how far in the process your integration gets?

tulip timber
#

In our app, when you click the a button called "Payout Account", it essentially opens the Stripe API and asks you to create or connect your stripe account. You go through the stripe steps and after your account is created, you can perform gig work and get paid through the app.
The app is actually live in several countries if you want to see the button for yourself

sage granite
#

So how far in those steps does your app get with Brazilian users?

#

Is it reaching your server for account and account link creation? Is the redirect to Stripe definitely happening and that is the blank page?

tulip timber
#

No, when they click on the "Payout Account" button, literally nothing happens.

#

they see a white screen

sage granite
#

"Payout Account" or "Connect my stripe account"?

tulip timber
#

Its the same

sage granite
#

These are buttons you created, correct?

tulip timber
#

yes, and they work in many countries

#

just not Brazil

sage granite
#

Right. So I am trying to understand what you mean when you say "literally nothing happens"

gleaming river
#

Joining conversation

sage granite
#

If nothing happens and your server isn't reached and creating these objects then it sounds like Stripe has not entered the process yet

tulip timber
#

@gleaming river please attach a screenshot or video

gleaming river
#

here is the screen that user gets stuck on

tulip timber
#

then when you click CONNECT STRIPE ACCOUNT, the screen turns white

sage granite
#

Understood

#

But that can be the result of a lot of things

#

I am trying to understand what is happening in your code and Stripe's code if your app is reaching out to us

#

What debugging have you done for this?

tulip timber
#

So far we have onboarded users from the US, Portugal, England, Australia, & Scotland through the same interface with zero errors.

sage granite
#

Right, but this issue could still be coming from a lot of places

#

I want to see if it is Stripe but it sounds like we haven't confirmed that yet

tulip timber
#

@gleaming river is going to upload a video of the Brazil User to give you more info

sage granite
#

I don't think a video will tell me more about what is going on in the code.

#

Can you reproduce this on demand? If so, I would reproduce this and watch your server logs to see if you can receive this request and how it is reacted to

tulip timber
#

I think so, one minute

sage granite
#

Or even just reproduce this and check the Stripe logs in your Dashboard to see if it creates anything on our side

#

Thank you!

tulip timber
#

So here is what I see in the logs

#

POST /v1/accounts
Status
400 ERR
ID
req_vCXGLHXpfZlbAr
Time
9/29/21, 8:12:54 PM
IP address
34.204.53.14
API version
2020-08-27
Latest
Source
Stripe/v1 PhpBindings/7.74.0 Laravel Cashier/12.9.0 (https://laravel.com)
Idempotency
Key โ€” aceb285a-0319-445e-a235-ec39d4a94dab

invalid_request_error - tos_acceptance[service_agreement]
You cannot specify a different service agreement in BR.

Was this useful?

Yes

No
{
"type": "express",
"country": "BR",
"email": "ekaiser.martins@huvr.com",
"business_type": "individual",
"capabilities": {
"transfers": {
"requested": "true"
}
},
"tos_acceptance": {
"service_agreement": "recipient"
}
}
Response body
{
"error": {
"message": "You cannot specify a different service agreement in BR.",
"param": "tos_acceptance[service_agreement]",
"type": "invalid_request_error"
}
}
Request POST body
{
"type": "express",
"country": "BR",
"email": "ekaiser.martins@huvr.com",
"business_type": "individual",
"capabilities": {
"transfers": {
"requested": "true"
}
},
"tos_acceptance": {
"service_agreement": "recipient"
}
}

#

@sage granite

sage granite
#

There we go. That "invalid_request_error - tos_acceptance[service_agreement]
You cannot specify a different service agreement in BR." error is what I was looking for

#

Looking in to exactly what that means and what you can do

sage granite
#

Still looking in to this and what you can do to get it to work.

gleaming river
#

๐Ÿ‘

sage granite
#

Though as that page notes you can request access an invite my emailing the address at the bottom of that section

tulip timber
#

Ok, so in our control panel, it allows us to select 57 countries to onboard, but you are saying that for some, we have to request permission?

sage granite
#

So that doc has a list of where is currently supported for cross-border payouts. If you want to do cross border payouts in a new country you should check if they are listed as Supported in that doc

#

If another country requires such a request, it will be put in the section where Brazil is

tulip timber
#

Ok thatnks @sage granite - this was a BIG HELP!

sage granite
#

Of course happy to help

tulip timber
#

we officially submitted our request for an invite to Brazil. No indication for response time. But hopefully that fixes the issue.