mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Server's IP address, instead of client's is passed to payment gateway. #1507
This commit is contained in:
parent
b4437c645b
commit
b1c91e2632
@ -381,7 +381,7 @@ class BasePaymentDriver
|
||||
'description' => trans('texts.' . $invoice->getEntityType()) . " {$invoice->invoice_number}",
|
||||
'transactionId' => $invoice->invoice_number,
|
||||
'transactionType' => 'Purchase',
|
||||
'ip' => Request::ip(),
|
||||
'ip' => Request::getClientIp(),
|
||||
];
|
||||
|
||||
if ($paymentMethod) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user