From 2cc7e88f8eba32927b7546b910e019557a167c53 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 10 Jul 2020 02:32:22 +0200 Subject: [PATCH] clean code --- htdocs/public/payment/newpayment.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/htdocs/public/payment/newpayment.php b/htdocs/public/payment/newpayment.php index e7d1a3b5fa9..82ebed1bd27 100644 --- a/htdocs/public/payment/newpayment.php +++ b/htdocs/public/payment/newpayment.php @@ -2144,7 +2144,9 @@ if (preg_match('/^dopayment/', $action)) // If we choosed/click on the payment city: 'thirdparty->town); ?>', thirdparty->country_code) { ?>country: 'thirdparty->country_code); ?>', line1: 'thirdparty->address)); ?>', - postal_code: 'thirdparty->zip); ?>'} + postal_code: 'thirdparty->zip); ?>' + } + } }, save_payment_method: /* true when a customer was provided when creating payment intent. true ask to save the card */