diff --git a/htdocs/public/payment/newpayment.php b/htdocs/public/payment/newpayment.php index c5bd8549eee..dc5d99a43eb 100644 --- a/htdocs/public/payment/newpayment.php +++ b/htdocs/public/payment/newpayment.php @@ -2160,11 +2160,11 @@ if (preg_match('/^dopayment/', $action)) { // If we choosed/click on the payme } }, - save_payment_method: /* true when a customer was provided when creating payment intent. true ask to save the card */ + print 'false'; + } ?> /* true when a customer was provided when creating payment intent. true ask to save the card */ } ).then(function(result) { console.log(result); @@ -2189,8 +2189,8 @@ if (preg_match('/^dopayment/', $action)) { // If we choosed/click on the payme }); // Old code for payment with option STRIPE_USE_INTENT_WITH_AUTOMATIC_CONFIRMATION off and STRIPE_USE_NEW_CHECKOUT off