From 571bc86836bc8c1fa7f3ab737150c122267c15ec Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 4 Oct 2018 19:03:18 +0200 Subject: [PATCH] Update newpayment.php --- htdocs/public/payment/newpayment.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/htdocs/public/payment/newpayment.php b/htdocs/public/payment/newpayment.php index c1f731cc131..bcba0ac6f43 100644 --- a/htdocs/public/payment/newpayment.php +++ b/htdocs/public/payment/newpayment.php @@ -423,8 +423,9 @@ if ($action == 'charge' && ! empty($conf->stripe->enabled)) try { $metadata = array( - 'dol_version'=>DOL_VERSION, - 'dol_entity'=>$conf->entity, + 'dol_version' => DOL_VERSION, + 'dol_entity' => $conf->entity, + 'dol_company' => $mysoc->name, // Usefull when using multicompany 'ipaddress'=>(empty($_SERVER['REMOTE_ADDR'])?'':$_SERVER['REMOTE_ADDR']) );