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:
parent
e02df85793
commit
efd2461646
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user