#memekyTeam
1 messages · Page 1 of 1 (latest)
Can you explain what you mena? I'm not sure what this is you're referring to
Stripe asks you for what?
I have a code that works 100% for the identity document, I'll pass it on to see if we can modify it
$namename2 = $userA.rand();
$target_dir2 = $_SERVER['DOCUMENT_ROOT'] . "/323232323233/".$namename2;
move_uploaded_file($_FILES["fotodni2"]["tmp_name"], $target_dir2);
$updatedni2 = \Stripe\File::create([
'purpose' => 'life_test',
'file' => fopen($target_dir2, 'r'),
], [
'stripe_account' => $accountID,
]);
$fileID2 = $updatedni2->id;
$stripe->accounts->updatePerson(
$accountID,
$personID,
['verification' => ['life_test' => [ 'front' => $fileID2 ]]]
);
Can you share an example connected account ID? I'm not familiar with that requirements but you may want to examine the account requirements in the API instead of relying on the dashboard there
like this?
acct_1MYxPvFY6nAyegUN
or does it refer to php code? sorry but I do not understand
the goal is a connected account update of life test with api this is what i would like to achieve
You need to look at the account requirements: https://stripe.com/docs/api/accounts/object#account_object-requirements
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
It looks like you don't have an endpoint configured for account.updated events on your platform, you should set that up to get relevant events
Thanks for the information. I'm going to review the information. We close this conversation. Thanks for your attention. If I have more problems, I'll come back at another time. Thank you 🙂 Have a good day
hello sorry sorry I thought I had closed it I apologize
it's not there
I'm not a native Englishman, I'm from Spain and looking through it, I couldn't find it.
I know what is done with the following code because with this code I have managed to update the identity documents in other connected accounts from other countries
$updatedni2 = \Stripe\File::create([
'purpose' => 'additional_verification',
'file' => fopen($target_dir2, 'r'),
], [
'stripe_account' => $accountID,
]);
$fileID2 = $updatedni2->id;
$stripe->accounts->updatePerson(
$accountID,
$personID,
['verification' => ['additional_document' => ['front' => $fileID2 ]]]
);
I think additional document or additional verification would be wrong but I can't find it
Have you confirmed that is the requirement that is missing using the API?
What happens when you make that request?
req_OpEGEGcHUq1jL4
What are you expecting to happen?
I can create the account but it asks me for the life test as I showed in the image
Look at the response in that request, the requirements only lists individual.full_name_aliases
So I'm still not clear what "life test" refers to
You really need to look at the API, not the dashboard
if when you fill in the full_name_aliases it asks you for the life test
and this is not in the information
What do you mean, when does this happen?
$stripe->accounts->updatePerson(
$accountID,
$personID,
['full_name_aliases' => [ 'asdasda']]
);
Look at the request that I sent you, it already has the full name aliases
req_OpEGEGcHUq1jL4
I see no such alias information in your request
it appears to be missing from the individual
No, I repeat that the full name aliases I put it look, he gave him all the code of the connected account and I entered this parameter in fact I have a thread with @bismarck yesterday and I solved this problem
I know that it requires the full name aliases but when you put it, it asks for the life_test, you have it wrong in the documentation
$CONacount = $stripe->accounts->create(
[
'country' => $pais,
'type' => 'custom',
"email" => $email,
'capabilities' => [
'card_payments' => ['requested' => true],
'transfers' => ['requested' => true],
],
"company"=> [
"name"=> 'Illuminate',
],
"business_type" => "individual",
'business_profile' => [
"mcc" => "5734",
"product_description" => "Es una red social de memes donde los usuarios suben sus memes en diferentes categorÃas y otros los votan; además se realiza una competición mensual dependiendo de la suscripción, pueden acceder a un contenido y además jugar dinero para ver cuál de sus memes recibe más votos al iniciar la web automáticamente hay un tutorial que lo explica de forma detallada.",
"support_email" => 'gestion@memeky.com',
"url" => "www.memeky.com"
],
"individual"=> [
"email"=> $email,
"first_name" => $nombre,
"last_name" => $apellidos,
"address"=>[
"city" => $ciudad,
"country" => $pais,
"line1" => $direccion,
"line2" => $linia2,
"postal_code"=> $zipCode,
"state"=> $provincia
],
"phone"=> $telefono,
"dob" => [
"day"=> $day,
"month"=> $month,
"year"=> $year
],
"id_number"=> $dni,
"nationality" => $nacionalidadSingapour,
],
"external_account" => [
"country" => $paisCuenta,
"currency" => $currency,
"account_number" => $iban ,
"routing_number" => $enrutamiento,
"object" => "bank_account"
],
'tos_acceptance' => [
"date"=> $t,
"ip"=> $f,
"user_agent"=> $s
],
]
);
$namename2 = $userA.rand();
$target_dir2 = $_SERVER['DOCUMENT_ROOT'] . "/232323232/".$namename2;
move_uploaded_file($_FILES["fotodni2"]["tmp_name"], $target_dir2);
$stripe->accounts->updatePerson(
$accountID,
$personID,
['full_name_aliases' => [ 'asdasda']]
);
$updatedni = \Stripe\File::create([
'purpose' => 'identity_document',
'file' => fopen($target_dir, 'r'),
], [
'stripe_account' => $accountID,
]);
$fileID = $updatedni->id;
- $accountID = $CONacount -> id;
$personID = $CONacount ->individual-> id;
This code creates this request acct_1MYxoTFKU5Yyk3hK and the connected account is not valid because it asks for the life test, take your time and review it, I'll tell you that either the api fails or the documentation is wrong, I'm 1000% sure
individual"=> [
"email"=> $email,
"first_name" => $nombre,
"last_name" => $apellidos,
"address"=>[
"city" => $ciudad,
"country" => $pais,
"line1" => $direccion,
"line2" => $linia2,
"postal_code"=> $zipCode,
"state"=> $provincia
],
"phone"=> $telefono,
"dob" => [
"day"=> $day,
"month"=> $month,
"year"=> $year
],"id_number"=> $dni,
"nationality" => $nacionalidadSingapour,
],
I don't see anyfull_name_aliaseshere.
https://stripe.com/docs/api/accounts/create#create_account-individual-full_name_aliases
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Which is the requirement listed in the response
look at the code: above
I'm not understand where you see life test (in the API/event data, not dashboard)
LOOK :
$stripe->accounts->updatePerson(
$accountID,
$personID,
['full_name_aliases' => [ 'asdasda']]
);
Do you have an example of that update request?
Haven't even looked at the code
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
That's where you send it
and then we see:
requirements: {
alternatives: []
currently_due: [
"verification.proof_of_liveness",
],
is proof_of_liveness the equivalent of life_test?
That sounds rrelated, but now we're getting somewhere!
I'm not familiar with this specific requirement so let me look into it
the translator on my computer tells me that life_test is equal to proof_of_liveness
could this be happening?
Can you try creating an Account Link for that test account and then access the url for Connect Onboarding?
https://stripe.com/docs/connect/connect-onboarding#info-to-collect
you should open the onboarding URL in a private browser tab
yes
I'm having problems with the internet connection
wait a minute thanks
it seems that it has been solved the problems were: 1 the life_test translator is equal to proof_of_liveness 2 in the documentation of its website it says that only the alias and the identity document are required, it must be added that proof_of_liveness is required
now if we close the topic thank you very much for your attention, have a good one and thank you for your patience and sorry for opening the thread so you are professionals 12/10 always solve my doubts have a good day 🙂 THANKS !!!!