#Mustafa Cheraim

1 messages ยท Page 1 of 1 (latest)

trail flumeBOT
simple glacier
#

How are your integrating Stripe ? are you using Stripe Elements? it looks like the 3DS auth failed

terse mesa
#

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"
}
}

#

?

simple glacier
#

You can do the same test using 4242 card you are using in the preview or download the complete project in your local env

terse mesa
#

same issue

#

pi_3N1pFfB31n4vrp9l1zaaqQvz

simple glacier
#

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 ?

terse mesa
#

I'm sorry
but on this link, I can't modify on the code
how can I update the code to reproduce the issue ?

simple glacier
#

You can download that sample in your local env and update it.

terse mesa
#

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 ?

trail flumeBOT
simple glacier
#

What are you modifying exactly according to that sample

terse mesa
#

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

sterile oyster
#

Hi! I'm taking over my colleague. Please, give me a moment to catch up.

terse mesa
#

ok ๐Ÿ‘

sterile oyster
#

Could you please summarise the latest question?

sterile oyster
#

Are you with me?

#

Sorry I don't see the error that you mention so it's hard for me to investigate.