diff --git a/paynlpaymentmethods/paynlpaymentmethods.php b/paynlpaymentmethods/paynlpaymentmethods.php index cf30e65..b033455 100644 --- a/paynlpaymentmethods/paynlpaymentmethods.php +++ b/paynlpaymentmethods/paynlpaymentmethods.php @@ -56,7 +56,7 @@ public function __construct() { $this->name = 'paynlpaymentmethods'; $this->tab = 'payments_gateways'; - $this->version = '4.6.0'; + $this->version = '4.6.1'; $this->payLogEnabled = null; $this->ps_versions_compliancy = array('min' => '1.7', 'max' => _PS_VERSION_); @@ -886,7 +886,7 @@ public function startPayment(Cart $cart, $payment_option_id, $extra_data = array } $startData = array( - 'amount' => $cartTotal, + 'amount' => $cart->getOrderTotal(), 'currency' => $currency->iso_code, 'returnUrl' => $this->context->link->getModuleLink($this->name, 'finish', array(), true), 'exchangeUrl' => $this->context->link->getModuleLink($this->name, 'exchange', array(), true),