#Huvr2021-Connect-Express
1 messages ยท Page 1 of 1 (latest)
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?
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
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?
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
Can you tell me exactly what this "Connect my stripe account" button does and how far in the process your integration gets?
Does your flow generally look like this? https://stripe.com/docs/connect/express-accounts
- Create account object
- Create account link
- Direct customer to link to fill out account info
- Handle their return to your site
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
yes, that is what it does
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?
No, when they click on the "Payout Account" button, literally nothing happens.
they see a white screen
"Payout Account" or "Connect my stripe account"?
Its the same
These are buttons you created, correct?
Right. So I am trying to understand what you mean when you say "literally nothing happens"
Joining conversation
If nothing happens and your server isn't reached and creating these objects then it sounds like Stripe has not entered the process yet
@gleaming river please attach a screenshot or video
here is the screen that user gets stuck on
then when you click CONNECT STRIPE ACCOUNT, the screen turns white
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?
So far we have onboarded users from the US, Portugal, England, Australia, & Scotland through the same interface with zero errors.
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
@gleaming river is going to upload a video of the Brazil User to give you more info
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
I think so, one minute
Or even just reproduce this and check the Stripe logs in your Dashboard to see if it creates anything on our side
Thank you!
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
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
Still looking in to this and what you can do to get it to work.
๐
So cross border payouts are not currently generally available in Brazil https://stripe.com/docs/connect/cross-border-payouts#supported-countries
Though as that page notes you can request access an invite my emailing the address at the bottom of that section
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?
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
Ok thatnks @sage granite - this was a BIG HELP!
Of course happy to help
we officially submitted our request for an invite to Brazil. No indication for response time. But hopefully that fixes the issue.