#seekay369
1 messages · Page 1 of 1 (latest)
Hi there, do you have the PaymentIntent ID?
OK, this payment_intent is in requires_action state, so you need to call stripe.confirmCardPayment() at your frontend to start the 3DS flow.
it is available in reactjs?
Yes, you can call this function in react as well.
call confirmCardPayment after get payment intent right?
so no need to redirect the url to iframe?
You don't need to handle the 3DS redirect URL by yourself, the Stripe.js will take care for you.
I see let me try.
thanks alot
stripe
.confirmCardPayment('{PAYMENT_INTENT_CLIENT_SECRET}', {
payment_method: {
card: cardElement,
billing_details: {
name: 'Jenny Rosen',
},
},
})
.then(function(result) {
// Handle result.error or result.paymentIntent
});
PAYMENT_INTENT_CLIENT_SECRET is full json or only id?
Payment_intent_client_secret is just a string.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
pi_3NgJVCDo5Duz2o7H3Id4MTkQ
Hi can you please help me check this? Many sorry