diff --git a/config.xml b/config.xml index d1bd087..44bde6c 100644 --- a/config.xml +++ b/config.xml @@ -2,7 +2,7 @@ khipupayment - + diff --git a/config_es.xml b/config_es.xml index d1bd087..44bde6c 100644 --- a/config_es.xml +++ b/config_es.xml @@ -2,7 +2,7 @@ khipupayment - + diff --git a/controllers/front/bankselect.php b/controllers/front/bankselect.php index 78eb862..eb61172 100644 --- a/controllers/front/bankselect.php +++ b/controllers/front/bankselect.php @@ -21,7 +21,7 @@ public function initContent() $khipu->authenticate(Configuration::get('KHIPU_MERCHANTID'), Configuration::get('KHIPU_SECRETCODE')); - $khipu->setAgent('prestashop-khipu-2.0.5;;'.Tools::getShopDomainSsl(true, true) . __PS_BASE_URI__ .';;'.Configuration::get('PS_SHOP_NAME')); + $khipu->setAgent('prestashop-khipu-2.0.6;;'.Tools::getShopDomainSsl(true, true) . __PS_BASE_URI__ .';;'.Configuration::get('PS_SHOP_NAME')); $khipu_service = $khipu->loadService('ReceiverBanks'); diff --git a/controllers/front/manual.php b/controllers/front/manual.php index 1865d82..9a7d79f 100644 --- a/controllers/front/manual.php +++ b/controllers/front/manual.php @@ -25,7 +25,7 @@ public function initContent() $khipu->authenticate(Configuration::get('KHIPU_MERCHANTID'), Configuration::get('KHIPU_SECRETCODE')); - $khipu->setAgent('prestashop-khipu-2.0.5;;'.Tools::getShopDomainSsl(true, true) . __PS_BASE_URI__ .';;'.Configuration::get('PS_SHOP_NAME')); + $khipu->setAgent('prestashop-khipu-2.0.6;;'.Tools::getShopDomainSsl(true, true) . __PS_BASE_URI__ .';;'.Configuration::get('PS_SHOP_NAME')); $khipu_service = $khipu->loadService('CreatePaymentURL'); $data = array( diff --git a/controllers/front/payment.php b/controllers/front/payment.php index b94cf0c..128162f 100644 --- a/controllers/front/payment.php +++ b/controllers/front/payment.php @@ -25,7 +25,7 @@ public function initContent() $khipu->authenticate(Configuration::get('KHIPU_MERCHANTID'), Configuration::get('KHIPU_SECRETCODE')); - $khipu->setAgent('prestashop-khipu-2.0.5;;'.Tools::getShopDomainSsl(true, true) . __PS_BASE_URI__ .';;'.Configuration::get('PS_SHOP_NAME')); + $khipu->setAgent('prestashop-khipu-2.0.6;;'.Tools::getShopDomainSsl(true, true) . __PS_BASE_URI__ .';;'.Configuration::get('PS_SHOP_NAME')); $khipu_service = $khipu->loadService('CreatePaymentURL'); $data = array( diff --git a/khipupayment.php b/khipupayment.php index ed75121..9341757 100644 --- a/khipupayment.php +++ b/khipupayment.php @@ -19,7 +19,7 @@ public function __construct() { $this->description = $this->l('Transferencia bancaria usando khipu'); $this->author = 'khipu'; - $this->version = '2.0.5'; + $this->version = '2.0.6'; $this->tab = 'payments_gateways'; diff --git a/validate.php b/validate.php index d9a5146..0987d90 100644 --- a/validate.php +++ b/validate.php @@ -7,7 +7,7 @@ class Khipu_Postback { private $byKhipuStatus; private $byPrestaStatus; - private $version = '2.0.5'; + private $version = '2.0.6'; public function init() { define('_PS_ADMIN_DIR_', getcwd()); @@ -62,7 +62,7 @@ private function validate_1_2_notification() { private function validate_1_3_notification() { $Khipu = new Khipu(); $Khipu->authenticate(Configuration::get('KHIPU_MERCHANTID'), Configuration::get('KHIPU_SECRETCODE')); - $Khipu->setAgent('prestashop-khipu-2.0.5;;'.Tools::getShopDomainSsl(true, true) . __PS_BASE_URI__ .';;'.Configuration::get('PS_SHOP_NAME')); + $Khipu->setAgent('prestashop-khipu-2.0.6;;'.Tools::getShopDomainSsl(true, true) . __PS_BASE_URI__ .';;'.Configuration::get('PS_SHOP_NAME')); $khipu_service = $Khipu->loadService('GetPaymentNotification'); $khipu_service->setDataFromPost(); diff --git a/views/templates/hook/payment.tpl b/views/templates/hook/payment.tpl index e6c5bf6..1f830c3 100644 --- a/views/templates/hook/payment.tpl +++ b/views/templates/hook/payment.tpl @@ -2,7 +2,7 @@

- {l s='Transferencia simplificada' mod='khipupayment'} + {l s='Transferencia simplificada' mod='khipupayment'} {l s='Transferencia simplificada' mod='khipupayment'}

@@ -11,8 +11,8 @@

- {l s='Transferencia bancaria usando khipu' mod='khipupayment'} - {l s='Transferencia bancaria (normal)' mod='khipupayment'} + {l s='Transferencia normal' mod='khipupayment'} + {l s='Transferencia normal' mod='khipupayment'}

-{/if} \ No newline at end of file +{/if}