Commit 1a5863a1 authored by mattwire's avatar mattwire
Browse files

Fix 3dsecure verification

parent 4e502ecf
......@@ -170,7 +170,7 @@
if (paymentIntentProcessResponse.requires_action) {
// Use Stripe.js to handle a pending card action (eg. 3d-secure)
script.paymentData.clientSecret = paymentIntentProcessResponse.paymentIntentClientSecret;
stripe.handleCardAction(paymentData.clientSecret)
stripe.handleCardAction(script.paymentData.clientSecret)
.then(function (cardActionResult) {
if (cardActionResult.error) {
// Show error in payment form
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment