Update newpayment.php

This commit is contained in:
Laurent Destailleur 2018-10-04 19:03:18 +02:00 committed by GitHub
parent 762abf7060
commit 571bc86836
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'])
);