#TBM
1 messages ยท Page 1 of 1 (latest)
There no single command for this, you need to provide the required information for the account using the test information for connect:
Handling verification via the API (vs using Connect Onboarding) is explained here: https://stripe.com/docs/connect/identity-verification-api
You could also create a connect onboarding link and provide the test data in that flow
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?
You mean the connected account id template?
If you're refering to the files, you can use test file tokens to skip the upload part:
https://stripe.com/docs/connect/testing#test-file-tokens
yes thats what i trying to do
skip the upload part
If you want to test the uploads, you need to use the test verification image we provide:
https://stripe.com/docs/connect/testing#test-document-images
oh i see.
actually i want to test the uploads
Yep, then you can use 'front' => 'file_identity_document_success' eg
ok to test the uploads you should use the test images
How do i do that
what would the code be. Ive been trying for hours and failing.
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
So i just have to download the file and upload that?
Hi there ๐ taking over for @sturdy relic as they have to step away.
Yes. You would download the file and upload it to test
Its not working again. I tried this before during my hours of trial and errors.
It is still saying its unverified
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?