This commit is contained in:
2025-03-21 20:24:43 +01:00
parent 224398df90
commit f34c9162d4
12427 changed files with 5329941 additions and 373384 deletions

View File

@@ -6,6 +6,9 @@
* @copyright Przelewy24
* @license https://www.gnu.org/licenses/lgpl-3.0.en.html
*/
if (!defined('_PS_VERSION_')) {
exit;
}
/**
* Class Przelewy24HookHelper
@@ -26,11 +29,9 @@ class Przelewy24HookHelper
public static function isStoreConfiguredForSuffix($suffix)
{
return
(int) Configuration::get('P24_MERCHANT_ID'.$suffix) > 0
&&
(int) Configuration::get('P24_SHOP_ID'.$suffix) > 0
&&
!empty(Configuration::get('P24_SALT'.$suffix))
(int) Configuration::get('P24_MERCHANT_ID' . $suffix) > 0
&& (int) Configuration::get('P24_SHOP_ID' . $suffix) > 0
&& !empty(Configuration::get('P24_SALT' . $suffix))
;
}
}