mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01: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['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…
Reference in New Issue
Block a user