Skip to content

Commit

Permalink
Merge pull request #241 from Invertus/SL-278/maestro-error
Browse files Browse the repository at this point in the history
SL-278 Upgraded header API version
  • Loading branch information
MarijusCoding authored Dec 16, 2024
2 parents e583246 + 0e5f1c8 commit be27a34
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions upgrade/install-1.2.5.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?php
/**
*NOTICE OF LICENSE
*
*This source file is subject to the Open Software License (OSL 3.0)
*that is bundled with this package in the file LICENSE.txt.
*It is also available through the world-wide-web at this URL:
*http://opensource.org/licenses/osl-3.0.php
*If you did not receive a copy of the license and are unable to
*obtain it through the world-wide-web, please send an email
*to [email protected] so we can send you a copy immediately.
*
*DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
*versions in the future. If you wish to customize PrestaShop for your
*needs please refer to http://www.prestashop.com for more information.
*
*@author INVERTUS UAB www.invertus.eu <[email protected]>
*@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_2_5(SaferPayOfficial $module)
{
return Configuration::updateValue(RequestHeader::SPEC_VERSION, SaferPayConfig::API_VERSION);
}

0 comments on commit be27a34

Please sign in to comment.