Tiuz Posted April 20, 2017 Share Posted April 20, 2017 Hello, I am having problems with guest checkout and a payment module (sofortbanking). If I try to checkout as guest the module says that the token is invalid. I already contact the module developers and they told me that it is a prestashop problem and a token should be generated for guest users as well. Fatal error: Uncaught exception 'Exception' with message 'SOFORT Überweisung Error: (Invalid token) | | ' in /var/www/vhosts/fancy-cosmetics.com/httpdocs/fancy-cosmetics/modules/sofortbanking/controllers/front/payment.php:48 Stack trace: #0 /var/www/vhosts/fancy-cosmetics.com/httpdocs/fancy-cosmetics/classes/controller/Controller.php(189): SofortbankingPaymentModuleFrontController->initContent() #1 /var/www/vhosts/fancy-cosmetics.com/httpdocs/fancy-cosmetics/classes/Dispatcher.php(367): ControllerCore->run() #2 /var/www/vhosts/fancy-cosmetics.com/httpdocs/fancy-cosmetics/index.php(28): DispatcherCore->dispatch() #3 {main} thrown in /var/www/vhosts/fancy-cosmetics.com/httpdocs/fancy-cosmetics/modules/sofortbanking/controllers/front/payment.php on line 48 This is the code where the error is thrown. if (!$this->isTokenValid()) { throw new \Exception(sprintf('%s Error: (Invalid token)', $this->module->displayName)); } Can anybody help me with this issue? Thank you and best regards Philipp Link to comment Share on other sites More sharing options...
Tiuz Posted April 26, 2017 Author Share Posted April 26, 2017 Problem could be fixed. Had nothing to with prestashop core. I used a One Page Checkout Module and the developer fixed his module. #closed Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now