diff --git a/README.md b/README.md index b7b199d..11d28b1 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # PrestaShop 8 wallee Integration This repository contains the PrestaShop wallee payment module that enables the shop to process payments with [wallee](https://www.wallee.com). -## To install module manually by dragging up zip file, please download [.zip archive](https://plugin-documentation.wallee.com/wallee-payment/prestashop-8/1.0.5/wallee.zip) of module with correct structure required by Prestashop installation +## To install module manually by dragging up zip file, please download [.zip archive](https://plugin-documentation.wallee.com/wallee-payment/prestashop-8/1.0.6/wallee.zip) of module with correct structure required by Prestashop installation ##### To use this extension, a [wallee](https://app-wallee.com/user/signup) account is required. @@ -12,7 +12,7 @@ This repository contains the PrestaShop wallee payment module that enables the s ## Documentation -* [English](https://plugin-documentation.wallee.com/wallee-payment/prestashop-8/1.0.5/docs/en/documentation.html) +* [English](https://plugin-documentation.wallee.com/wallee-payment/prestashop-8/1.0.6/docs/en/documentation.html) ## Support @@ -20,7 +20,7 @@ Support queries can be issued on the [wallee support site](https://app-wallee.co ## License -Please see the [license file](https://github.com/wallee-payment/prestashop-8/blob/1.0.5/LICENSE) for more information. +Please see the [license file](https://github.com/wallee-payment/prestashop-8/blob/1.0.6/LICENSE) for more information. ## Other PrestaShop Versions diff --git a/docs/en/documentation.html b/docs/en/documentation.html index d872cdd..cbc9f64 100644 --- a/docs/en/documentation.html +++ b/docs/en/documentation.html @@ -23,7 +23,7 @@
Download the module.
+Download the module.
Login to the backend of your PrestsShop store.
diff --git a/inc/Helper.php b/inc/Helper.php index cad2843..70c254b 100644 --- a/inc/Helper.php +++ b/inc/Helper.php @@ -359,6 +359,8 @@ public static function getResourceUrl($base, $path, $language = null, $spaceId = } else { $url = $base; } + $url = rtrim($url, "/"); + if (! empty($language)) { $url .= '/' . str_replace('_', '-', $language); } @@ -657,11 +659,11 @@ public static function generateUUID() return vsprintf('%s%s-%s-%s-%s-%s%s%s', str_split(bin2hex($data), 4)); } - + public static function getMaxExecutionTime() { $maxExecutionTime = ini_get('max_execution_time'); - + // Returns the default value, in case the ini_get fails. if ($maxExecutionTime === null || empty($maxExecutionTime) || $maxExecutionTime < 0) { return 30; diff --git a/views/templates/admin/admin_help_buttons.tpl b/views/templates/admin/admin_help_buttons.tpl index a85fa13..1d55c30 100644 --- a/views/templates/admin/admin_help_buttons.tpl +++ b/views/templates/admin/admin_help_buttons.tpl @@ -10,5 +10,5 @@{l s='This module requires an %s account.' sprintf='wallee' mod='wallee'}
-{l s='Sign Up' mod='wallee'} {l s='Documentation' mod='wallee'}
+{l s='Sign Up' mod='wallee'} {l s='Documentation' mod='wallee'}