From 4e04f25e2f6a76c2adc4c7c9d482f78c09d13127 Mon Sep 17 00:00:00 2001 From: Emilio Davis Date: Mon, 25 May 2015 12:26:10 -0300 Subject: [PATCH] removing .git in distribution --- class-wc-khipu.php | 10 +++++----- class-wc-khipubacs.php | 8 ++++---- package.sh | 2 +- readme.txt | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/class-wc-khipu.php b/class-wc-khipu.php index e80cc6e..4423747 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.0 + * Version: 2.1 * Author: khipu * Author URI: https://khipu.com */ @@ -188,7 +188,7 @@ function get_available_banks() { $Khipu = new Khipu(); $Khipu->authenticate($this->receiver_id, $this->secret); - $Khipu->setAgent('woocommerce-khipu-2.0;;'.site_url().';;'.bloginfo('name')); + $Khipu->setAgent('woocommerce-khipu-2.1;;'.site_url().';;'.bloginfo('name')); $service = $Khipu->loadService('ReceiverBanks'); return $service->consult(); } @@ -332,7 +332,7 @@ function generate_khipu_generate_payment($order_id) $Khipu = new Khipu(); $Khipu->authenticate($this->receiver_id, $this->secret); - $Khipu->setAgent('woocommerce-khipu-2.0;;'.site_url().';;'.bloginfo('name')); + $Khipu->setAgent('woocommerce-khipu-2.1;;'.site_url().';;'.bloginfo('name')); $create_page_service = $Khipu->loadService('CreatePaymentURL'); $item_names = array(); @@ -424,7 +424,7 @@ function get_order_from_ipn() function get_order_from_ipn_1_2() { $Khipu = new Khipu(); $Khipu->authenticate($this->receiver_id, $this->secret); - $Khipu->setAgent('woocommerce-khipu-2.0;;'.site_url().';;'.bloginfo('name')); + $Khipu->setAgent('woocommerce-khipu-2.1;;'.site_url().';;'.bloginfo('name')); $service = $Khipu->loadService('VerifyPaymentNotification'); $service->setDataFromPost(); if ($_POST['receiver_id'] != $this->receiver_id) { @@ -444,7 +444,7 @@ function get_order_from_ipn_1_2() { function get_order_from_ipn_1_3() { $Khipu = new Khipu(); $Khipu->authenticate($this->receiver_id, $this->secret); - $Khipu->setAgent('woocommerce-khipu-2.0;;'.site_url().';;'.bloginfo('name')); + $Khipu->setAgent('woocommerce-khipu-2.1;;'.site_url().';;'.bloginfo('name')); $service = $Khipu->loadService('GetPaymentNotification'); $service->setDataFromPost(); $response = json_decode($service->consult()); diff --git a/class-wc-khipubacs.php b/class-wc-khipubacs.php index 329ae20..0b5f086 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.0 + * Version: 2.1 * Author: khipu * Author URI: https://khipu.com */ @@ -199,7 +199,7 @@ function generate_khipubacs_submit_button($order_id) $Khipu = new Khipu(); $Khipu->authenticate($this->receiver_id, $this->secret); - $Khipu->setAgent('woocommerce-khipubacs-2.0;;'.site_url().';;'.bloginfo('name')); + $Khipu->setAgent('woocommerce-khipubacs-2.1;;'.site_url().';;'.bloginfo('name')); $create_page_service = $Khipu->loadService('CreatePaymentURL'); $item_names = array(); @@ -278,7 +278,7 @@ function get_order_from_ipn() function get_order_from_ipn_1_2() { $Khipu = new Khipu(); $Khipu->authenticate($this->receiver_id, $this->secret); - $Khipu->setAgent('woocommerce-khipubacs-2.0;;'.site_url().';;'.bloginfo('name')); + $Khipu->setAgent('woocommerce-khipubacs-2.1;;'.site_url().';;'.bloginfo('name')); $service = $Khipu->loadService('VerifyPaymentNotification'); $service->setDataFromPost(); if ($_POST['receiver_id'] != $this->receiver_id) { @@ -298,7 +298,7 @@ function get_order_from_ipn_1_2() { function get_order_from_ipn_1_3() { $Khipu = new Khipu(); $Khipu->authenticate($this->receiver_id, $this->secret); - $Khipu->setAgent('woocommerce-khipubacs-2.0;;'.site_url().';;'.bloginfo('name')); + $Khipu->setAgent('woocommerce-khipubacs-2.1;;'.site_url().';;'.bloginfo('name')); $service = $Khipu->loadService('GetPaymentNotification'); $service->setDataFromPost(); $response = json_decode($service->consult()); diff --git a/package.sh b/package.sh index 0cff70c..0b604d6 100644 --- a/package.sh +++ b/package.sh @@ -1,6 +1,6 @@ cd .. rm -rf woocommerce-khipu-gateway woocommerce-khipu-gateway.zip cp -R woocommerce-khipu woocommerce-khipu-gateway -rm -rf woocommerce-khipu-gateway/.git woocommerce-khipu-gateway/.gitignore woocommerce-khipu-gateway/.gitmodules woocommerce-khipu-gateway/.idea woocommerce-khipu-gateway/.DS_Store woocommerce-khipu-gateway/package.sh +rm -rf woocommerce-khipu-gateway/.git woocommerce-khipu-gateway/.gitignore woocommerce-khipu-gateway/.gitmodules woocommerce-khipu-gateway/.idea woocommerce-khipu-gateway/.DS_Store woocommerce-khipu-gateway/package.sh woocommerce-khipu-gateway/lib/lib-khipu/.git woocommerce-khipu-gateway/lib/lib-khipu/.gitignore woocommerce-khipu-gateway/lib/lib-khipu/.gitattributes zip -r woocommerce-khipu-gateway.zip woocommerce-khipu-gateway rm -rf woocommerce-khipu-gateway diff --git a/readme.txt b/readme.txt index 28bdd65..1a283ef 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Donate link: Tags: payment gateway, khipu, woocommerce, chile Requires at least: 3.3 Tested up to: 4.1 -Stable tag: 2.0 +Stable tag: 2.1 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html