mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 11:14:31 -04: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}",
|
'description' => trans('texts.' . $invoice->getEntityType()) . " {$invoice->invoice_number}",
|
||||||
'transactionId' => $invoice->invoice_number,
|
'transactionId' => $invoice->invoice_number,
|
||||||
'transactionType' => 'Purchase',
|
'transactionType' => 'Purchase',
|
||||||
'ip' => Request::getClientIp(),
|
'clientIp' => Request::getClientIp(),
|
||||||
];
|
];
|
||||||
|
|
||||||
if ($paymentMethod) {
|
if ($paymentMethod) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user