#Mustafa Cheraim
1 messages ยท Page 1 of 1 (latest)
How are your integrating Stripe ? are you using Stripe Elements? it looks like the 3DS auth failed
I use curl to make requests, and my environement is PHP 7.2/ Apache...
so should I change something on
the parameter :
"payment_method_options": {
"card": {
"request_three_d_secure": "any"
}
}
?
Can you try to reproduce this behavior on this sample please ?
https://stripe.com/docs/payments/quickstart?lang=php&client=html&platform=web
You can do the same test using 4242 card you are using in the preview or download the complete project in your local env
This is just the backend code, what about the frontend code ?
In the link I shared above, there is a preview could you please try to reproduce on it ?
I'm sorry
but on this link, I can't modify on the code
how can I update the code to reproduce the issue ?
You can download that sample in your local env and update it.
This is what I did before. so you need juste the front ?
I have modify on my local
and I launched the payment
and I get the same error
is there a method to put that updated code on the link you gave ?
What are you modifying exactly according to that sample
the publishable and secret keys
the parameters :
$paymentIntent = \Stripe\PaymentIntent::create([
'amount' => calculateOrderAmount($jsonObj->items),
"currency" => "eur",
"description" => "mcheraim@udevweb.co",
"metadata" => [
"shop_id" => 369,
"shop_name" => "Ww Migos",
"order_id" => 1378,
"email" => "mcheraim@udevweb.co"
],
"shipping" => [
"address" => [
"city" => "Paris",
"country" => "France",
"line1" => "20 Rue de la Pompe",
"postal_code" => "75016"
],
"name" => "Mustafa Cheraim",
"phone" => "+212639599197"
],
"payment_method_options" => ["card" => ["request_three_d_secure" => "any"]]
]);
and the link to create.php on js file
Hi! I'm taking over my colleague. Please, give me a moment to catch up.
ok ๐
Could you please summarise the latest question?