Skip to content
Snippets Groups Projects
Commit 1a5863a1 authored by mattwire's avatar mattwire
Browse files

Fix 3dsecure verification

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