mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix hardcoded currency
This commit is contained in:
parent
71a3814973
commit
0186449794
@ -77,8 +77,7 @@ class CheckoutComPaymentDriver extends BasePaymentDriver
|
|||||||
{
|
{
|
||||||
$data['gateway'] = $this;
|
$data['gateway'] = $this;
|
||||||
$data['client'] = $this->client;
|
$data['client'] = $this->client;
|
||||||
// $data['currency'] = $this->client->getCurrencyCode();
|
$data['currency'] = $this->client->getCurrencyCode();
|
||||||
$data['currency'] = 'EUR';
|
|
||||||
$data['value'] = $this->convertToCheckoutAmount($data['amount_with_fee'], $this->client->getCurrencyCode());
|
$data['value'] = $this->convertToCheckoutAmount($data['amount_with_fee'], $this->client->getCurrencyCode());
|
||||||
$data['raw_value'] = $data['amount_with_fee'];
|
$data['raw_value'] = $data['amount_with_fee'];
|
||||||
$data['customer_email'] = $this->client->present()->email;
|
$data['customer_email'] = $this->client->present()->email;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user