Round appropriately for paypal
This commit is contained in:
parent
6709e5bbc4
commit
e989644718
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue