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) { 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");