diff --git a/class-wc-gateway-payline.php b/class-wc-gateway-payline.php index 68cede1..6a3425c 100644 --- a/class-wc-gateway-payline.php +++ b/class-wc-gateway-payline.php @@ -573,6 +573,7 @@ function generate_payline_form($order_id) { $this->SDK->usedBy('wooComm '.$this->extensionVersion); $doWebPaymentRequest = array(); + $doWebPaymentRequest['version'] = '14'; $doWebPaymentRequest['payment']['amount'] = round($order->get_total()*100); $doWebPaymentRequest['payment']['currency'] = $this->_currencies[$order->get_order_currency()]; $doWebPaymentRequest['payment']['action'] = $this->settings['payment_action'];