#Dejan
1 messages · Page 1 of 1 (latest)
Hello, thanks
okay so let me explain what we do, we create a payment method from frontend and we have the next action option for 3DS2 but when
they somehow reload the page and dont complete the payment thier subscription is with status incomplete for 1 day before it gets cancelled
now we need to confirm the payment intent and if we confirm the same payment intent on frontent with the function stripe.confirmCardPayment(intent) we get error
The source you supplied is invalid
payment_intent_incompatible_payment_method
you need to check the PaymentIntent status
and on dev with test cards it works but on production it doesnt
if it's a requires_action then instead of using confirmCardPayment you'd use handleNextAction https://stripe.com/docs/js/payment_intents/handle_next_action
how so? can you visit https://stripe.com/js ?
sorry my bad
you can also try this link https://stripe.com/docs/js/payment_intents/handle_card_action
sorry this one
just to recap in your case you need to use handleCardAction instead of confirmCardPayment
it doesnt work at all
nothing happens
this is the request we send
and we get this response
the status is:
status:requires_payment_method"
when the status is requires_action then you would use handleCardAction otherwise you would use confirmCardPayment