#dmitry-PI
1 messages · Page 1 of 1 (latest)
yep you just create the PaymentIntent and pass the payment_method and the customer
I would say to not pass confirm=true at that point.
Then just send the client_secret to the frontend and call
https://stripe.com/docs/js/payment_intents/confirm_card_payment#stripe_confirm_card_payment-attached which handles attempting the payment and will present 3D Secure if needed.