1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Server's IP address, instead of client's is passed to payment gateway. #1507

This commit is contained in:
Hillel Coren 2017-06-28 06:25:31 +03:00
parent e02df85793
commit efd2461646

View File

@ -422,7 +422,7 @@ class BasePaymentDriver
'description' => trans('texts.' . $invoice->getEntityType()) . " {$invoice->invoice_number}",
'transactionId' => $invoice->invoice_number,
'transactionType' => 'Purchase',
'ip' => Request::getClientIp(),
'clientIp' => Request::getClientIp(),
];
if ($paymentMethod) {