Fix refunds on Stripe
This commit is contained in:
parent
cef9fb3202
commit
5eb76df20e
1 changed files with 1 additions and 1 deletions
|
|
@ -1005,7 +1005,7 @@ class PaymentService extends BaseService
|
|||
'transactionReference' => $payment->transaction_reference,
|
||||
);
|
||||
|
||||
if ($amount != ($payment->amount - $payment->refunded)) {
|
||||
if ($accountGateway->gateway_id != GATEWAY_WEPAY || $amount != ($payment->amount - $payment->refunded)) {
|
||||
$details['amount'] = $amount;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue