From 7fdccf4eb84b9c1e02dfd93dd2d40ecf620a6d51 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 10 Jul 2020 02:28:00 +0200 Subject: [PATCH] Fix error in stripe payment if no country defined --- htdocs/public/payment/newpayment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/public/payment/newpayment.php b/htdocs/public/payment/newpayment.php index bcee660a17d..e7d1a3b5fa9 100644 --- a/htdocs/public/payment/newpayment.php +++ b/htdocs/public/payment/newpayment.php @@ -2142,7 +2142,7 @@ if (preg_match('/^dopayment/', $action)) // If we choosed/click on the payment thirdparty) && !empty($object->thirdparty->phone)) { ?>, phone: 'thirdparty->phone); ?>' thirdparty)) { ?>, address: { city: 'thirdparty->town); ?>', - country: 'thirdparty->country_code); ?>', + thirdparty->country_code) { ?>country: 'thirdparty->country_code); ?>', line1: 'thirdparty->address)); ?>', postal_code: 'thirdparty->zip); ?>'} }