#memekyTeam

1 messages · Page 1 of 1 (latest)

uneven ploverBOT
rich geode
#

Can you explain what you mena? I'm not sure what this is you're referring to

pliant blaze
#

i am creating custom connected accounts for singapore

#

stripe asks me

rich geode
#

Stripe asks you for what?

pliant blaze
#

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

rich geode
#

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

pliant blaze
#

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

rich geode
#

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

pliant blaze
#

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

rich geode
#

@pliant blaze here

#

What have you learned?

pliant blaze
#

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

rich geode
#

Have you confirmed that is the requirement that is missing using the API?

#

What happens when you make that request?

pliant blaze
#

req_OpEGEGcHUq1jL4

rich geode
#

What are you expecting to happen?

pliant blaze
#

I can create the account but it asks me for the life test as I showed in the image

rich geode
#

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

pliant blaze
rich geode
#

You really need to look at the API, not the dashboard

pliant blaze
#

if when you fill in the full_name_aliases it asks you for the life test

#

and this is not in the information

rich geode
pliant blaze
#

$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

rich geode
#

I see no such alias information in your request

#

it appears to be missing from the individual

pliant blaze
#

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

rich geode
#

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 any full_name_aliases here.
https://stripe.com/docs/api/accounts/create#create_account-individual-full_name_aliases

#

Which is the requirement listed in the response

pliant blaze
#

look at the code: above

rich geode
#

I'm not understand where you see life test (in the API/event data, not dashboard)

pliant blaze
#

LOOK :

#

$stripe->accounts->updatePerson(
$accountID,
$personID,
['full_name_aliases' => [ 'asdasda']]
);

rich geode
#

Do you have an example of that update request?

pliant blaze
#

Haven't even looked at the code

rich geode
#

That's where you send it

#

and then we see:

requirements: {
alternatives: []
currently_due: [
"verification.proof_of_liveness",
],

pliant blaze
#

is proof_of_liveness the equivalent of life_test?

rich geode
#

That sounds rrelated, but now we're getting somewhere!

#

I'm not familiar with this specific requirement so let me look into it

pliant blaze
#

the translator on my computer tells me that life_test is equal to proof_of_liveness

#

could this be happening?

rich geode
#

you should open the onboarding URL in a private browser tab

pliant blaze
#

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 !!!!