fix phpcs

This commit is contained in:
Laurent Destailleur 2021-03-02 03:03:41 +01:00
parent 7f209f7cc7
commit d6b81b21f1

View File

@ -2161,12 +2161,12 @@ if (preg_match('/^dopayment/', $action)) { // If we choosed/click on the payme
}
},
save_payment_method: <?php if ($stripecu) {
print 'true';
} else {
print 'false';
print 'true';
} else {
print 'false';
} ?> /* 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);
if (result.error) {
console.log("Error on result of handleCardPayment");