Use correct variable
This commit is contained in:
parent
81ec1125cb
commit
2973ef3b1d
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ $(document).ready(function() {
|
||||||
console.log("Show SCA");
|
console.log("Show SCA");
|
||||||
var stripe = Stripe(data.STRIPE_PUBLISHABLE_KEY);
|
var stripe = Stripe(data.STRIPE_PUBLISHABLE_KEY);
|
||||||
|
|
||||||
stripe.confirmCardPayment(pi_secret).then(function(result) {
|
stripe.confirmCardPayment(data.payment_intent_secret).then(function(result) {
|
||||||
if (result.error) {
|
if (result.error) {
|
||||||
// Display error.message in your UI.
|
// Display error.message in your UI.
|
||||||
$("#3ds_result").text("Error!");
|
$("#3ds_result").text("Error!");
|
||||||
|
|
Loading…
Reference in a new issue