#pinho
1 messages ยท Page 1 of 1 (latest)
Hi ๐ can you tell me more about your scenario, is it a bank account field in our onboarding experience that is giving you trouble?
Hello, yes
I'm from Portugal
When trying to fill that field, it is restricted to some length of characters
The link / account was created using the following code:
$result = $this->stripe->accounts->create( [ 'country' => 'PT', 'type' => 'custom', 'capabilities' => [ 'card_payments' => ['requested' => false], 'transfers' => ['requested' => true], ], 'business_type' => 'company', 'email' => $data['email'], 'default_currency' => 'eur', 'company' => [ 'name' => $data['name'], 'phone' => '+351' . $data['telephone'], 'address' => [ 'city' => $data['city'], 'postal_code' => $data['postal_code'], 'line1' => $data['address'], 'country' => 'PT' ], 'structure' => 'private_corporation', 'vat_id' => $data['vat_number'], ], 'external_account' => [ 'object' => 'bank_account', 'country' => 'PT', 'currency' => 'eur', 'account_holder_name' => $data['name'], 'account_holder_type' => 'company', 'account_number' => $data['bank_number'], ], 'settings' => [ 'payouts' => [ 'schedule' => ['interval' => 'manual'], 'statement_descriptor' => 'HiperRetail', ] ] ]);
That isn't one of our test account numbers, is that a real account number that you're using?
Correct, this is production environment
Alright, I'm going to remove the messages with that number then since this is a public forum and I'm unsure how sensitive that number is.
Well, people can only transfer money to that account ๐, but feel free to do it
Ah, gotcha ๐
Do you have the ID of the Stripe Account (starts with acct_) that you were using to go through that flow?
account: acct_1MvgfRCSCp4gtRfY/Q8FiwwWFixil
I noticed the error on the page seemed to indicate that the value provided in the verification process didn't match the bank account number that had been provided. Looking to see if I can find anything related to that.
Yes, I'm aware of the error. But indeed, I'm unable to fill all the characters, it's limiting. I thought this might be due to the country not being correctly filled?
Probably you apply the length based on the country?
But as you can see in my code / request, I'm filling PT
Hm, the number you were using seems to be the same length as our test account number, so I would expect it to fit.
Does the bank number in Stripe Logs matches the bank number I've sent in the request?
Those numbers are redacted, I'm not able to confirm that.
Sorry, could you post the screenshot again?
Sure, I can also post the full response body, I'm currently seeing the logs in Stripe Dashboard
If you want, I can go check what is the length being applied to the field, through browser inspect
I'm trying to step through a test of this currently
Are those fields also surfacing errors?
No, actually no
We are using OUR OWN data to fill both email & phone number
and I was thinking if that was the problem, since that in the request I sent the customer data.
What are the steps you're taking to get to the shown screen? I ended up on a different screen than the one you showed.
I guess, to what?
Toby I just checked, the phone number & email doesn't need to be the same as the original content, at least, the bank number still has the same error
I just checked through browser inspector and the field puts a maximum length of 20 characters, dunno why.
Was that link previously accessed? I got redirected to what looks like your login page, so I suspect the session was already consumed.
That also took me to your login page.
Bear with me a moment, I need to handle a couple other questions but will be back asap to see if I can repro and take a closer look at what requests you're making.
Ok. It works for me. If I generate a new link I'm able to access it, if I close the page and open again the session is lost = OK.
I just generated this one: https://connect.stripe.com/setup/c/acct_1Mvh8iFhF0CpBFNE/SiPmsbEIdzu4
I didn't click on it
Hey, toby is busy so I am helping look in to this. Do you have the ID of one of these account links that you generated? Unfortunately that link just sends me to your login page as well
I think Discord usually invalidates those links because they are one time use but Discord visits them for the auto-expand preview.
Yeah, I think you can wrap them in backticks to prevent that? `
Maybe I send you the link in code?
yeah, let me try
https://connect.stripe.com/setup/c/acct_1Mvh8iFhF0CpBFNE/auZhh5bG1uIf
I can also provide you the logs ID's from Stripe Dashboard
That also didn't work unfortunately. And ID may help, I can try making a link on my own account with the exact same params
ok 1 moment
acct_1Mvh8iFhF0CpBFNE/riFTf4WzAYO0
there
ID /v1/account_links: req_ab3FhdOvRWmUhC
I am still having trouble getting that page to show up even when using your same code for both API calls. Trying to think of what this is and if there is another way to look at the overall issue of that form messing up
Doesn't the Request ID helps you?
Yes it did, I copied the exact params you were passing in (other than redacted ones) and am unfortunately still seeing different behavior. I think that some of my platform account setup must be different somehow.
Can you take a look at req_d8rUdLwKf1TGkv
at tell me if the request body is well filled?
At least the Response body returned by Stripe seems OK with the request.
I can also provide you with a 15seconds video, if that helps
Yeah the data for that request looks good as far as I can see. Looks like all of the data you showed in your example code is being passed properly
And yes a quick video could definitely help. I may also not be filling out the form correctly
Have you tried to open the link in anonymous tab?
I'm gonna do the video, give me a second (the link is gonna get broken)
Unfortunately an anonymous tab would not help. The issue is more that the link is somehow already being visited before I try to look at it
Thanks! Will keep testing until I see the video as well
Please take a look
It is important maybe to say that this problem is only happening in production. In test enviroment was OK.
Interesting. Can you quickly create an account link for them for me and send me the ID of that request?
I believe you that it is the same code but it is always helpful to double check
In test mode? Yes, I'm gonna change API values
Honestly this is going to be a bug report with the eng team either way. Sounds good, mostly just changing the VAT number and the bank account number correct?
I can put a generic VAT Number & Bank Number, but first let me try with this ones to see if the problem persists
You must use a test bank account number in test mode. Try PT50000201231234567890154 or see more options at https://stripe.com/docs/connect/testing#account-numbers
It seems I really need to use a test bank number
Gotcha, what other values are you changing then?
Yep, test numbers only in test mode here.
Ok, it seems I have the same problem. But I'm 100% sure this was working in the past, I even got to the screens where it ask the name information, files, etc
Interesting. Thanks for testing here at least
I only changed the Bank Number, the Vat Number remained the same
ID: req_E3OAJYkPmGzD4r
I think I just need to open a bug report with the engineering team that makes this page. I was hoping to get easy repro steps for them but it seems like one needs very in depth knowledge of this page to properly get that. Would you mind writing in to our support team and then DMing me your email so I can keep you updated on the fix? https://support.stripe.com/?contact=true
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Dude !!!
Look what I just found !!!
If I change the max length from 20 to 100
it works !!!
As in manually change the length of the check in the page?
That's good to know at least! Will make sure to say that it seems to be a client side issue with that check
Also when writing in to support you don't have to re-supply all this info. Can just be describing the client side issue and mentioning that you are talking to Pompey on Discord about this. I can grab the ticket and add the rest of the details
Yes please, just send in an email and I can grab it. I will file the bug report from there
What is the email address?
Thanks a lot for all of the info and testing
There is a form on this page: https://support.stripe.com/?contact=true
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Oh, ok, I'll do it then. Thanks for your help.