-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #68 from PluginAndPartners/main
Release v4.13.0
- Loading branch information
Showing
110 changed files
with
296 additions
and
244 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
/** | ||
* 2007-2022 PrestaShop | ||
* 2007-2023 PrestaShop | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
|
@@ -19,7 +19,7 @@ | |
* needs please refer to http://www.prestashop.com for more information. | ||
* | ||
* @author PrestaShop SA <[email protected]> | ||
* @copyright 2007-2022 PrestaShop SA | ||
* @copyright 2007-2023 PrestaShop SA | ||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) | ||
* International Registered Trademark & Property of PrestaShop SA | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
/** | ||
* 2007-2022 PrestaShop | ||
* 2007-2023 PrestaShop | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
|
@@ -19,7 +19,7 @@ | |
* needs please refer to http://www.prestashop.com for more information. | ||
* | ||
* @author PrestaShop SA <[email protected]> | ||
* @copyright 2007-2022 PrestaShop SA | ||
* @copyright 2007-2023 PrestaShop SA | ||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) | ||
* International Registered Trademark & Property of PrestaShop SA | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
/** | ||
* 2007-2022 PrestaShop | ||
* 2007-2023 PrestaShop | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
|
@@ -19,7 +19,7 @@ | |
* needs please refer to http://www.prestashop.com for more information. | ||
* | ||
* @author PrestaShop SA <[email protected]> | ||
* @copyright 2007-2022 PrestaShop SA | ||
* @copyright 2007-2023 PrestaShop SA | ||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) | ||
* International Registered Trademark & Property of PrestaShop SA | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
/** | ||
* 2007-2022 PrestaShop | ||
* 2007-2023 PrestaShop | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
|
@@ -19,7 +19,7 @@ | |
* needs please refer to http://www.prestashop.com for more information. | ||
* | ||
* @author PrestaShop SA <[email protected]> | ||
* @copyright 2007-2022 PrestaShop SA | ||
* @copyright 2007-2023 PrestaShop SA | ||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) | ||
* International Registered Trademark & Property of PrestaShop SA | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
/** | ||
* 2007-2022 PrestaShop | ||
* 2007-2023 PrestaShop | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
|
@@ -19,7 +19,7 @@ | |
* needs please refer to http://www.prestashop.com for more information. | ||
* | ||
* @author PrestaShop SA <[email protected]> | ||
* @copyright 2007-2022 PrestaShop SA | ||
* @copyright 2007-2023 PrestaShop SA | ||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) | ||
* International Registered Trademark & Property of PrestaShop SA | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
/** | ||
* 2007-2022 PrestaShop | ||
* 2007-2023 PrestaShop | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
|
@@ -19,7 +19,7 @@ | |
* needs please refer to http://www.prestashop.com for more information. | ||
* | ||
* @author PrestaShop SA <[email protected]> | ||
* @copyright 2007-2022 PrestaShop SA | ||
* @copyright 2007-2023 PrestaShop SA | ||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) | ||
* International Registered Trademark & Property of PrestaShop SA | ||
* | ||
|
@@ -54,7 +54,7 @@ public function initContent() | |
if (isset($payment_ids) && $payment_ids != false && $payment_ids != 'null' && $typeReturn != 'failure') { | ||
$payment_id = explode(',', $payment_ids)[0]; | ||
$this->redirectCheck($payment_id); | ||
|
||
return; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
/** | ||
* 2007-2022 PrestaShop | ||
* 2007-2023 PrestaShop | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
|
@@ -19,7 +19,7 @@ | |
* needs please refer to http://www.prestashop.com for more information. | ||
* | ||
* @author PrestaShop SA <[email protected]> | ||
* @copyright 2007-2022 PrestaShop SA | ||
* @copyright 2007-2023 PrestaShop SA | ||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) | ||
* International Registered Trademark & Property of PrestaShop SA | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
/** | ||
* 2007-2022 PrestaShop | ||
* 2007-2023 PrestaShop | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
|
@@ -19,7 +19,7 @@ | |
* needs please refer to http://www.prestashop.com for more information. | ||
* | ||
* @author PrestaShop SA <[email protected]> | ||
* @copyright 2007-2022 PrestaShop SA | ||
* @copyright 2007-2023 PrestaShop SA | ||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) | ||
* International Registered Trademark & Property of PrestaShop SA | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
/** | ||
* 2007-2022 PrestaShop | ||
* 2007-2023 PrestaShop | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
|
@@ -19,7 +19,7 @@ | |
* needs please refer to http://www.prestashop.com for more information. | ||
* | ||
* @author PrestaShop SA <[email protected]> | ||
* @copyright 2007-2022 PrestaShop SA | ||
* @copyright 2007-2023 PrestaShop SA | ||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) | ||
* International Registered Trademark & Property of PrestaShop SA | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
/** | ||
* 2007-2022 PrestaShop | ||
* 2007-2023 PrestaShop | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
|
@@ -19,7 +19,7 @@ | |
* needs please refer to http://www.prestashop.com for more information. | ||
* | ||
* @author PrestaShop SA <[email protected]> | ||
* @copyright 2007-2022 PrestaShop SA | ||
* @copyright 2007-2023 PrestaShop SA | ||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) | ||
* International Registered Trademark & Property of PrestaShop SA | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
/** | ||
* 2007-2022 PrestaShop | ||
* 2007-2023 PrestaShop | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
|
@@ -19,7 +19,7 @@ | |
* needs please refer to http://www.prestashop.com for more information. | ||
* | ||
* @author PrestaShop SA <[email protected]> | ||
* @copyright 2007-2022 PrestaShop SA | ||
* @copyright 2007-2023 PrestaShop SA | ||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) | ||
* International Registered Trademark & Property of PrestaShop SA | ||
* | ||
|
@@ -111,9 +111,8 @@ public function getCredentialsWrapper($access_token) | |
*/ | ||
public function getPaymentMethods() | ||
{ | ||
$public_key = $this->getPublicKey(); | ||
$response = MPRestCli::get('/v1/bifrost/payment-methods', ["Authorization: " . $public_key]); | ||
|
||
$access_token = $this->getAccessToken(); | ||
$response = MPRestCli::get('/v1/bifrost/payment-methods', ["Authorization: Bearer " . $access_token]); | ||
|
||
|
||
//in case of failures | ||
|
@@ -129,7 +128,7 @@ public function getPaymentMethods() | |
|
||
$payments = array(); | ||
foreach ($result as $value) { | ||
// remove on paypay release | ||
//remove on paypay release | ||
if ($value['id'] == 'paypal') { | ||
continue; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
/** | ||
* 2007-2022 PrestaShop | ||
* 2007-2023 PrestaShop | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
|
@@ -19,7 +19,7 @@ | |
* needs please refer to http://www.prestashop.com for more information. | ||
* | ||
* @author PrestaShop SA <[email protected]> | ||
* @copyright 2007-2022 PrestaShop SA | ||
* @copyright 2007-2023 PrestaShop SA | ||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) | ||
* International Registered Trademark & Property of PrestaShop SA | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
/** | ||
* 2007-2022 PrestaShop | ||
* 2007-2023 PrestaShop | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
|
@@ -19,7 +19,7 @@ | |
* needs please refer to http://www.prestashop.com for more information. | ||
* | ||
* @author PrestaShop SA <[email protected]> | ||
* @copyright 2007-2022 PrestaShop SA | ||
* @copyright 2007-2023 PrestaShop SA | ||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) | ||
* International Registered Trademark & Property of PrestaShop SA | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
/** | ||
* 2007-2022 PrestaShop | ||
* 2007-2023 PrestaShop | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
|
@@ -19,7 +19,7 @@ | |
* needs please refer to http://www.prestashop.com for more information. | ||
* | ||
* @author PrestaShop SA <[email protected]> | ||
* @copyright 2007-2022 PrestaShop SA | ||
* @copyright 2007-2023 PrestaShop SA | ||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) | ||
* International Registered Trademark & Property of PrestaShop SA | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
/** | ||
* 2007-2022 PrestaShop | ||
* 2007-2023 PrestaShop | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
|
@@ -19,7 +19,7 @@ | |
* needs please refer to http://www.prestashop.com for more information. | ||
* | ||
* @author PrestaShop SA <[email protected]> | ||
* @copyright 2007-2022 PrestaShop SA | ||
* @copyright 2007-2023 PrestaShop SA | ||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) | ||
* International Registered Trademark & Property of PrestaShop SA | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
/** | ||
* 2007-2022 PrestaShop | ||
* 2007-2023 PrestaShop | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
|
@@ -19,7 +19,7 @@ | |
* needs please refer to http://www.prestashop.com for more information. | ||
* | ||
* @author PrestaShop SA <[email protected]> | ||
* @copyright 2007-2022 PrestaShop SA | ||
* @copyright 2007-2023 PrestaShop SA | ||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) | ||
* International Registered Trademark & Property of PrestaShop SA | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
/** | ||
* 2007-2022 PrestaShop | ||
* 2007-2023 PrestaShop | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
|
@@ -19,7 +19,7 @@ | |
* needs please refer to http://www.prestashop.com for more information. | ||
* | ||
* @author PrestaShop SA <[email protected]> | ||
* @copyright 2007-2022 PrestaShop SA | ||
* @copyright 2007-2023 PrestaShop SA | ||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) | ||
* International Registered Trademark & Property of PrestaShop SA | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
/** | ||
* 2007-2022 PrestaShop | ||
* 2007-2023 PrestaShop | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
|
@@ -19,7 +19,7 @@ | |
* needs please refer to http://www.prestashop.com for more information. | ||
* | ||
* @author PrestaShop SA <[email protected]> | ||
* @copyright 2007-2022 PrestaShop SA | ||
* @copyright 2007-2023 PrestaShop SA | ||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) | ||
* International Registered Trademark & Property of PrestaShop SA | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
/** | ||
* 2007-2022 PrestaShop | ||
* 2007-2023 PrestaShop | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
|
@@ -19,7 +19,7 @@ | |
* needs please refer to http://www.prestashop.com for more information. | ||
* | ||
* @author PrestaShop SA <[email protected]> | ||
* @copyright 2007-2022 PrestaShop SA | ||
* @copyright 2007-2023 PrestaShop SA | ||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) | ||
* International Registered Trademark & Property of PrestaShop SA | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
/** | ||
* 2007-2022 PrestaShop | ||
* 2007-2023 PrestaShop | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
|
@@ -19,7 +19,7 @@ | |
* needs please refer to http://www.prestashop.com for more information. | ||
* | ||
* @author PrestaShop SA <[email protected]> | ||
* @copyright 2007-2022 PrestaShop SA | ||
* @copyright 2007-2023 PrestaShop SA | ||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) | ||
* International Registered Trademark & Property of PrestaShop SA | ||
* | ||
|
Oops, something went wrong.