#irene_92049

1 messages · Page 1 of 1 (latest)

jade forgeBOT
boreal olive
#

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?

marsh depot
#

what is 3DS?

boreal olive
#

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.

marsh depot
#

I tried to disable that configuration. I tried to do that with "'automatic_payment_methods' => ['enabled' => true]" but it didn't work

boreal olive
#

What payment methods are you intending to present?

marsh depot
#

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
        ]);
boreal olive
#

That's. not really helpful. What Payment Method types are you wanting to use? Cards? ACH? Apple Pay? Google Pay? SEPA? Klarna?

marsh depot
#

card

boreal olive
#

Then you need 3DS. Follow the steps in the guide you posted

marsh depot
#

could you share with me the documentation of that? please

boreal olive
#

It's the docs you shared