#TBM

1 messages ยท Page 1 of 1 (latest)

tame sigilBOT
sturdy relic
#

There no single command for this, you need to provide the required information for the account using the test information for connect:

#

You could also create a connect onboarding link and provide the test data in that flow

unkempt pagoda
#

if i use this code ```php
\Stripe\File::create([
'purpose' => 'identity_document',
'file' => fopen('/path/to/a/file.jpg', 'r'),
], [
'stripe_account' => '{{CONNECTED_STRIPE_ACCOUNT_ID}}',
]);

plus this code

```php
$stripe->accounts->update(
  '{{CONNECTED_ACCOUNT_ID}}',
  ['company' => ['verification' => ['document' => ['front' => 'file_5dtoJkOhAxrMWb']]]]
);

How would i fill in the blanks to make the test verification a success?

sturdy relic
#

You mean the connected account id template?

unkempt pagoda
#

skip the upload part

sturdy relic
unkempt pagoda
#

actually i want to test the uploads

sturdy relic
#

Yep, then you can use 'front' => 'file_identity_document_success' eg

#

ok to test the uploads you should use the test images

unkempt pagoda
#

what would the code be. Ive been trying for hours and failing.

sturdy relic
#

You download the linked test image in that doc section

#

then upload those using your uploader and provide as you showed in your snippets

#

That's the image, but you should save it from the docs link

unkempt pagoda
hot nexus
#

Hi there ๐Ÿ‘‹ taking over for @sturdy relic as they have to step away.

Yes. You would download the file and upload it to test

unkempt pagoda
#

It is still saying its unverified

hot nexus
#

There are a lot of different types of requirements for an account to be fully verified. Have you checked the requirements hash on the Account object?

unkempt pagoda
#

yes

#

ill just copy and paste it

#

That loks a bit messy. I cant remember a text website off the top of my head. Do you know one?

#

but to put it simply, the only requirement i currently have is individual.verification.document and thats what im stuck on.