Skip to content

Commit

Permalink
2.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
edavism committed May 25, 2016
1 parent 678c263 commit 3191374
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions class-wc-khipu.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -275,7 +275,7 @@ function generate_khipu_bankselect()
if (!$bank->getParent()) {
$bankSelector .= "bankRootSelect.append('<option value=\"" . $bank->getBankId(). "\">". $bank->getName(). "</option>');\n";
$bankSelector .= "bankOptions['" . $bank->getBankId() . "'] = [];\n";
$bankSelector .= "bankOptions['" . $bank->getBankId() . "'].push('<option value=\"" . $bank->getBankId(). "\">" . $bank->getType() . "</option>')\n";
$bankSelector .= "bankOptions['" . $bank->getBankId() . "'].push('<option value=\"" . $bank->getBankId(). "\">" . $bank->getType() . "</option>');\n";
} else {
$bankSelector .= "bankOptions['" . $bank->getParent() . "'].push('<option value=\"" . $bank->getBankId(). "\">" . $bank->getType() . "</option>');\n";
}
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down
6 changes: 3 additions & 3 deletions class-wc-khipubacs.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 3191374

Please sign in to comment.