Jump to content

Problem with validateOrder


Recommended Posts

Hello,

 

Recently on our website we have found that there is a bug when user select payment and confirm the last step - to validation.

 

Here is what error looks like:

Fatal error: Uncaught exception 'Exception' with message 'Please provide a valid token and secret (token: , secret: )' in /prestashop/modules/loyaltylion/lib/loyaltylion-client/main.php:47 Stack trace: #0 
/prestashop/modules/loyaltylion/loyaltylion.php(775): LoyaltyLion_Client->__construct(false, false, Array) #1 
/prestashop/modules/loyaltylion/loyaltylion.php(582): LoyaltyLion->loadLoyaltyLionClient() #2 /prestashop/classes/Hook.php(473): LoyaltyLion->hookActionValidateOrder(Array) #3 
/prestashop/classes/PaymentModule.php(546): HookCore::exec('actionValidateO...', Array) #4 
/prestashop/modules/bankwire/controllers/front/validation.php(64): PaymentModuleCore->validateOrder(4926, '10', 116.5, 'Przelew bankowy', NULL, Array, 1, false, '8f71bbd0575f7de...') #5 
/ in /prestashop/modules/loyaltylion/lib/loyaltylion-client/main.php on line 47

Do you have any idea what could be the reason of that error? Any help where should I look for solution would be appreciated.

Link to comment
Share on other sites

You're welcome.

 

For future reference, an error like that (with multiple files / functions) is listing the files and the function calling them in their nested order, so the first line will be the one causing the issue, and you can then trace it all the way back to the original file / call.

Link to comment
Share on other sites

×
×
  • Create New...