Checkout.com: Update amount with fee
This commit is contained in:
parent
24d76e98f0
commit
0b95e8c8bc
1 changed files with 2 additions and 2 deletions
|
|
@ -64,8 +64,8 @@ class CreditCard
|
|||
$data['company_gateway'] = $this->checkout->company_gateway;
|
||||
$data['client'] = $this->checkout->client;
|
||||
$data['currency'] = $this->checkout->client->getCurrencyCode();
|
||||
$data['value'] = $this->checkout->convertToCheckoutAmount($data['amount_with_fee'], $this->checkout->client->getCurrencyCode());
|
||||
$data['raw_value'] = $data['amount_with_fee'];
|
||||
$data['value'] = $this->checkout->convertToCheckoutAmount($data['total']['amount_with_fee'], $this->checkout->client->getCurrencyCode());
|
||||
$data['raw_value'] = $data['total']['amount_with_fee'];
|
||||
$data['customer_email'] = $this->checkout->client->present()->email;
|
||||
|
||||
return render('gateways.checkout.credit_card.pay', $data);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue