update
This commit is contained in:
@@ -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))
|
||||
;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user