mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Round appropriately for paypal
This commit is contained in:
parent
6709e5bbc4
commit
e989644718
@ -185,7 +185,7 @@ class PayPalExpressPaymentDriver extends BaseDriver
|
||||
'currency' => $this->client->getCurrencyCode(),
|
||||
'transactionType' => 'Purchase',
|
||||
'clientIp' => request()->getClientIp(),
|
||||
'amount' => $data['total']['amount_with_fee'] + $this->fee,
|
||||
'amount' => round(($data['total']['amount_with_fee'] + $this->fee),2),
|
||||
'returnUrl' => route('client.payments.response', [
|
||||
'company_gateway_id' => $this->company_gateway->id,
|
||||
'payment_hash' => $this->payment_hash->hash,
|
||||
|
Loading…
x
Reference in New Issue
Block a user