#jatinpatel0708
1 messages ยท Page 1 of 1 (latest)
a stripe.confirmOxxoPayment(
paymentIntentClientSecret,
{
payment_method: {
billing_details: {
name: accountHolderNameField+' '+accountHolderLastName,
email: emailField.value,
},
},
});
here is my code and when I click on the button it creates payment intent and Open the OXXO popup screen but I am confused as to how we know the payment is success
when I am using "jenny.rosen+succeed_immediately@example.com" email ID and succeed in the payment, the popup is not closed and the status is not changed please let me now which step in I need to recirect to user on the thank you page
okay
taking a look
okay
this is only happening in test mode right?
yes
unfortunately this is the actual behavior
I am using it in test mode once done in the test mode i will deploy it on the live
okay then which case in i want to redirect to user on the thank you page
i am getting this
you can't really pass a return_url to the https://stripe.com/docs/js/payment_intents/confirm_oxxo_payment
in that case I think the only option is to set handleActions to false
and use https://stripe.com/docs/payments/oxxo/accept-a-payment?platform=web&ui=API#optional:-email-voucher-link-to-your-customer to send the voucher link to your customer and redirect your customer to a success Page
i will check and back to you if i have any issue