diff --git a/class-wc-khipu.php b/class-wc-khipu.php
index be80f11..139f541 100644
--- a/class-wc-khipu.php
+++ b/class-wc-khipu.php
@@ -8,7 +8,7 @@
* Plugin Name: WooCommerce khipu
* Plugin URI: https://khipu.com
* Description: khipu payment gateway for woocommerce
- * Version: 2.4.1
+ * Version: 2.4.2
* Author: khipu
* Author URI: https://khipu.com
*/
@@ -200,7 +200,7 @@ function get_available_banks()
$configuration = new Khipu\Configuration();
$configuration->setSecret($this->secret);
$configuration->setReceiverId($this->receiver_id);
- $configuration->setPlatform('woocommerce-khipu', '2.4.1');
+ $configuration->setPlatform('woocommerce-khipu', '2.4.2');
$client = new Khipu\ApiClient($configuration);
$banks = new Khipu\Client\BanksApi($client);
@@ -275,7 +275,7 @@ function generate_khipu_bankselect()
if (!$bank->getParent()) {
$bankSelector .= "bankRootSelect.append('');\n";
$bankSelector .= "bankOptions['" . $bank->getBankId() . "'] = [];\n";
- $bankSelector .= "bankOptions['" . $bank->getBankId() . "'].push('')\n";
+ $bankSelector .= "bankOptions['" . $bank->getBankId() . "'].push('');\n";
} else {
$bankSelector .= "bankOptions['" . $bank->getParent() . "'].push('');\n";
}
@@ -376,7 +376,7 @@ function generate_khipu_generate_payment($order_id)
$configuration = new Khipu\Configuration();
$configuration->setSecret($this->secret);
$configuration->setReceiverId($this->receiver_id);
- $configuration->setPlatform('woocommerce-khipu', '2.4.1');
+ $configuration->setPlatform('woocommerce-khipu', '2.4.2');
$client = new Khipu\ApiClient($configuration);
$payments = new Khipu\Client\PaymentsApi($client);
@@ -472,7 +472,7 @@ function get_order_from_notification()
$configuration = new Khipu\Configuration();
$configuration->setSecret($this->secret);
$configuration->setReceiverId($this->receiver_id);
- $configuration->setPlatform('woocommerce-khipu', '2.4.1');
+ $configuration->setPlatform('woocommerce-khipu', '2.4.2');
$client = new Khipu\ApiClient($configuration);
$payments = new Khipu\Client\PaymentsApi($client);
diff --git a/class-wc-khipubacs.php b/class-wc-khipubacs.php
index 23e7507..6ff64ed 100644
--- a/class-wc-khipubacs.php
+++ b/class-wc-khipubacs.php
@@ -8,7 +8,7 @@
* Plugin Name: WooCommerce khipubacs
* Plugin URI: https://khipu.com
* Description: khipu powered direct transfer payment gateway for woocommerce
- * Version: 2.4.1
+ * Version: 2.4.2
* Author: khipu
* Author URI: https://khipu.com
*/
@@ -233,7 +233,7 @@ function generate_khipubacs_submit_button($order_id)
$configuration = new Khipu\Configuration();
$configuration->setSecret($this->secret);
$configuration->setReceiverId($this->receiver_id);
- $configuration->setPlatform('opencart-khipu', '2.4.1');
+ $configuration->setPlatform('opencart-khipu', '2.4.2');
$client = new Khipu\ApiClient($configuration);
$payments = new Khipu\Client\PaymentsApi($client);
@@ -296,7 +296,7 @@ function get_order_from_notification()
$configuration = new Khipu\Configuration();
$configuration->setSecret($this->secret);
$configuration->setReceiverId($this->receiver_id);
- $configuration->setPlatform('woocommerce-khipu', '2.4.1');
+ $configuration->setPlatform('woocommerce-khipu', '2.4.2');
$client = new Khipu\ApiClient($configuration);
$payments = new Khipu\Client\PaymentsApi($client);