#irene_92049
1 messages · Page 1 of 1 (latest)
What do you mean by "I'm using an internal code to redirect"? Are you using a Stripe method for 3DS authentication? Or something else?
what is 3DS?
I'm using this logic: https://stripe.com/docs/payments/finalize-payments-on-the-server
3DS is additional authentication that's required for some payment methods, where the customer gets redirected to the card issuer to authenticate a payment. It's required to provide a return_url because of this.
I tried to disable that configuration. I tried to do that with "'automatic_payment_methods' => ['enabled' => true]" but it didn't work
What payment methods are you intending to present?
this is my logic:
$paymentMethod = \Stripe\PaymentMethod::retrieve($paymentInformation["token"]);
$paymentMethod->attach(['customer' => $customerStripeObject->id]);
$paymentIntent = \Stripe\PaymentIntent::create([
'customer' => $customerStripeObject->id,
'amount' => intval(round($totalAmounts["Total"] * 100)),
'currency' => 'usd',
'payment_method' => $paymentMethod->id,
'confirm' => false,
'confirmation_method' => 'manual',
'setup_future_usage' => 'off_session',
'metadata' => [
'order' => $orderInfo->public_id,
'number' => $this->phoneNumber
],
'description' => 'Pay Today - Phone Number: ' . $this->phoneNumber
]);
That's. not really helpful. What Payment Method types are you wanting to use? Cards? ACH? Apple Pay? Google Pay? SEPA? Klarna?
card
Then you need 3DS. Follow the steps in the guide you posted
could you share with me the documentation of that? please
It's the docs you shared