mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 19:34:39 -04:00
Checkout.com: Update amount with fee
This commit is contained in:
parent
24d76e98f0
commit
0b95e8c8bc
@ -64,8 +64,8 @@ class CreditCard
|
|||||||
$data['company_gateway'] = $this->checkout->company_gateway;
|
$data['company_gateway'] = $this->checkout->company_gateway;
|
||||||
$data['client'] = $this->checkout->client;
|
$data['client'] = $this->checkout->client;
|
||||||
$data['currency'] = $this->checkout->client->getCurrencyCode();
|
$data['currency'] = $this->checkout->client->getCurrencyCode();
|
||||||
$data['value'] = $this->checkout->convertToCheckoutAmount($data['amount_with_fee'], $this->checkout->client->getCurrencyCode());
|
$data['value'] = $this->checkout->convertToCheckoutAmount($data['total']['amount_with_fee'], $this->checkout->client->getCurrencyCode());
|
||||||
$data['raw_value'] = $data['amount_with_fee'];
|
$data['raw_value'] = $data['total']['amount_with_fee'];
|
||||||
$data['customer_email'] = $this->checkout->client->present()->email;
|
$data['customer_email'] = $this->checkout->client->present()->email;
|
||||||
|
|
||||||
return render('gateways.checkout.credit_card.pay', $data);
|
return render('gateways.checkout.credit_card.pay', $data);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user