#pinho

1 messages ยท Page 1 of 1 (latest)

zinc saddleBOT
tropic kraken
#

Hi ๐Ÿ‘‹ can you tell me more about your scenario, is it a bank account field in our onboarding experience that is giving you trouble?

wicked verge
#

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', ] ] ]);

tropic kraken
#

That isn't one of our test account numbers, is that a real account number that you're using?

wicked verge
#

Correct, this is production environment

tropic kraken
#

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.

wicked verge
#

Well, people can only transfer money to that account ๐Ÿ˜€, but feel free to do it

tropic kraken
#

Ah, gotcha ๐Ÿ˜…

#

Do you have the ID of the Stripe Account (starts with acct_) that you were using to go through that flow?

wicked verge
#

account: acct_1MvgfRCSCp4gtRfY/Q8FiwwWFixil

tropic kraken
#

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.

wicked verge
#

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

tropic kraken
#

Hm, the number you were using seems to be the same length as our test account number, so I would expect it to fit.

wicked verge
#

Does the bank number in Stripe Logs matches the bank number I've sent in the request?

tropic kraken
#

Those numbers are redacted, I'm not able to confirm that.

#

Sorry, could you post the screenshot again?

wicked verge
#

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

tropic kraken
#

I'm trying to step through a test of this currently

wicked verge
#

Toby, does the telephone number & email must also match?

#

(the request)

tropic kraken
#

Are those fields also surfacing errors?

wicked verge
#

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.

tropic kraken
#

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.

wicked verge
#

Can I provide full url here?

#

(of stripe)

tropic kraken
#

I guess, to what?

wicked verge
#

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.

tropic kraken
#

Was that link previously accessed? I got redirected to what looks like your login page, so I suspect the session was already consumed.

wicked verge
#

Oh, sorry, I fogot you can only enter ONE time in the link

#

here's the new one

tropic kraken
#

That also took me to your login page.

wicked verge
#

What the hell

#

Let me test it

tropic kraken
#

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.

wicked verge
desert yarrow
#

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.

wicked verge
#

Ahhhhh

#

You're probably right !

desert yarrow
#

Yeah, I think you can wrap them in backticks to prevent that? `

wicked verge
#

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

desert yarrow
#

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

wicked verge
#

ok 1 moment

#

acct_1Mvh8iFhF0CpBFNE/riFTf4WzAYO0

#

there

#

ID /v1/account_links: req_ab3FhdOvRWmUhC

desert yarrow
#

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

wicked verge
#

Doesn't the Request ID helps you?

desert yarrow
#

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.

wicked verge
#

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

zinc saddleBOT
desert yarrow
#

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

wicked verge
#

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)

desert yarrow
#

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

wicked verge
#

It is important maybe to say that this problem is only happening in production. In test enviroment was OK.

desert yarrow
#

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

wicked verge
#

In test mode? Yes, I'm gonna change API values

desert yarrow
#

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?

wicked verge
#

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

desert yarrow
#

Gotcha, what other values are you changing then?

#

Yep, test numbers only in test mode here.

wicked verge
#

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

desert yarrow
#

Interesting. Thanks for testing here at least

wicked verge
#

I only changed the Bank Number, the Vat Number remained the same

#

ID: req_E3OAJYkPmGzD4r

desert yarrow
#

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

wicked verge
#

Dude !!!

#

Look what I just found !!!

#

If I change the max length from 20 to 100

#

it works !!!

desert yarrow
#

As in manually change the length of the check in the page?

wicked verge
#

(directly in browser inspect)

#

yeah

#

exactly !

desert yarrow
#

That's good to know at least! Will make sure to say that it seems to be a client side issue with that check

wicked verge
#

I'm still in test mode, but I can try now in production

#

Gonna do it in production

desert yarrow
#

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

wicked verge
#

Do I need to write an email to Stripe Support?

desert yarrow
#

Yes please, just send in an email and I can grab it. I will file the bug report from there

wicked verge
#

What is the email address?

desert yarrow
#

Thanks a lot for all of the info and testing

#

There is a form on this page: https://support.stripe.com/?contact=true

wicked verge
#

Oh, ok, I'll do it then. Thanks for your help.