diff --git a/catalog/controller/payment/coingate.php b/catalog/controller/payment/coingate.php index 8b0943e..ca0af25 100755 --- a/catalog/controller/payment/coingate.php +++ b/catalog/controller/payment/coingate.php @@ -67,7 +67,7 @@ public function confirm() try { $order = \CoinGate\Merchant\Order::createOrFail(array( 'order_id' => $order['order_id'], - 'price_amount' => number_format($order['total'] * $this->currency->getvalue($order['currency_code']), 2, '.', ''), + 'price_amount' => number_format($order['total'] * $this->currency->getvalue($order['currency_code']), 8, '.', ''), 'price_currency' => $order['currency_code'], 'receive_currency' => $this->config->get('coingate_receive_currency'), 'cancel_url' => $this->url->link('payment/coingate/cancel', '', $this->config->get('config_secure')),