franklinfs Posted May 8, 2014 Share Posted May 8, 2014 Hi, I created one payment module "payatstore". When i choose this payment method from front and confirm the order, the order details are inserted properly. But its not redirecting after the order placement. Its going a blank page. But I can able to see the order details in admin side. The blank page url is index.php?fc=module&module=payatstore&controller=validation. I am using one page checkout method. My ps version is 1.5.4.1 When i check the validation controller, i think this code is not working properly.. but i am not sure... $this->module->validateOrder((int)$this->context->cart->id, Configuration::get('PS_OS_PREPARATION'), $total, $this->module->displayName, null, array(), null, false, $customer->secure_key); Give me suggestions Link to comment Share on other sites More sharing options...
UniqueModules Posted May 8, 2014 Share Posted May 8, 2014 You have to switch on display errors go to config/defines.inc.php and change this code : define('_PS_MODE_DEV_', false); to define('_PS_MODE_DEV_', true); I guess there will be problem with order state Link to comment Share on other sites More sharing options...
franklinfs Posted May 8, 2014 Author Share Posted May 8, 2014 I am getting this errors Catchable fatal error: Argument 4 passed to ToolsCore::displayPrice() must be an instance of Context, boolean given, called in prestashop/modules/mailalerts/mailalerts.php on line 122 and defined in prestashop/classes/Tools.php on line 451 Link to comment Share on other sites More sharing options...
franklinfs Posted May 9, 2014 Author Share Posted May 9, 2014 I replaced mail alerts module with original version... Its working fine... Thanks for your help Link to comment Share on other sites More sharing options...
vekia Posted May 9, 2014 Share Posted May 9, 2014 thank you for posting the way how you fixed it i marked topic title as solved with regards, Milos Link to comment Share on other sites More sharing options...
Recommended Posts