fix phpcs
This commit is contained in:
parent
7f209f7cc7
commit
d6b81b21f1
@ -2161,12 +2161,12 @@ if (preg_match('/^dopayment/', $action)) { // If we choosed/click on the payme
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
save_payment_method: <?php if ($stripecu) {
|
save_payment_method: <?php if ($stripecu) {
|
||||||
print 'true';
|
print 'true';
|
||||||
} else {
|
} else {
|
||||||
print 'false';
|
print 'false';
|
||||||
} ?> /* true when a customer was provided when creating payment intent. true ask to save the card */
|
} ?> /* true when a customer was provided when creating payment intent. true ask to save the card */
|
||||||
}
|
}
|
||||||
).then(function(result) {
|
).then(function(result) {
|
||||||
console.log(result);
|
console.log(result);
|
||||||
if (result.error) {
|
if (result.error) {
|
||||||
console.log("Error on result of handleCardPayment");
|
console.log("Error on result of handleCardPayment");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user