diff --git a/changelog.md b/changelog.md index af45b045..70c39188 100755 --- a/changelog.md +++ b/changelog.md @@ -129,3 +129,7 @@ - BO : ReturnSuccessUrl and ReturnFailUrl replaced by ReturnUrl container - BO : NotificationUrl container replaced by SuccessNotificationUrl and FailNotificationUrl, - BO : Display from BillingAddressForm and DeliveryAddressForm containers replaced by AddressSource + +## [1.1.4] - * + +- BO : Fixed API version issue diff --git a/saferpayofficial.php b/saferpayofficial.php index 2995eeae..2b5791ed 100755 --- a/saferpayofficial.php +++ b/saferpayofficial.php @@ -36,7 +36,7 @@ public function __construct($name = null) { $this->name = 'saferpayofficial'; $this->author = 'Invertus'; - $this->version = '1.1.3'; + $this->version = '1.1.4'; $this->module_key = '3d3506c3e184a1fe63b936b82bda1bdf'; $this->displayName = 'SaferpayOfficial'; $this->description = 'Saferpay Payment module'; diff --git a/upgrade/install-1.1.4.php b/upgrade/install-1.1.4.php new file mode 100644 index 00000000..8b710f13 --- /dev/null +++ b/upgrade/install-1.1.4.php @@ -0,0 +1,36 @@ + + *@copyright SIX Payment Services + *@license SIX Payment Services + */ + +use Invertus\SaferPay\Config\SaferPayConfig; +use Invertus\SaferPay\DTO\Request\RequestHeader; + +if (!defined('_PS_VERSION_')) { + exit; +} +function upgrade_module_1_1_4($module) +{ + Configuration::updateValue(RequestHeader::SPEC_VERSION, SaferPayConfig::API_VERSION); + Configuration::updateValue(RequestHeader::SPEC_REFUND_VERSION, SaferPayConfig::API_VERSION); + + return true; +}