Jump to content

Recommended Posts

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

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

×
×
  • Create New...