mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-08-07 10:01:47 -04:00
Fix refunds on Stripe
This commit is contained in:
parent
cef9fb3202
commit
5eb76df20e
@ -1005,7 +1005,7 @@ class PaymentService extends BaseService
|
|||||||
'transactionReference' => $payment->transaction_reference,
|
'transactionReference' => $payment->transaction_reference,
|
||||||
);
|
);
|
||||||
|
|
||||||
if ($amount != ($payment->amount - $payment->refunded)) {
|
if ($accountGateway->gateway_id != GATEWAY_WEPAY || $amount != ($payment->amount - $payment->refunded)) {
|
||||||
$details['amount'] = $amount;
|
$details['amount'] = $amount;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user