Jump to content

Can't complete checkout after last step 404 page


Recommended Posts

Hello.

I got a strange problem in my prestashop.
Everything is working fine but when i try to confrom the order it gives me smething like a 404 page.

I can add everything normal to the cart(5 step checkout), when i come to the last step where i have to pick how will i pay i have here 2 option a Cash on delivery and a bankwire option. So i click one, example, bakwire and i get the page where it says how much you need to pay and where to wire the money but then when i click the Confirm order button it gives me lika a 404 page. It doesn't matter wich one i chose it happens just the same way if i choose the Cash on delivery option.

Here is the picture of the page i get:
screen-13315109052014.png

 

The url is by this error on:
www.mydomain/index.php?fc=module&module=bankwire&controller=validation 

P.S. The modules are installed.

Any ideas anyone?

Please help.

Link to comment
Share on other sites

In the log i found this:

*ERROR*  2014/05/09 - 15:46:07: Can't load Order state status at line 147 in file classes/PaymentModule.php

So i went to classes/paymentModule.php and looked for the 147 wich is this:

throw new PrestaShopException('Can\'t load Order state status');

It starts from line 145 and till 150:

$order_status = new OrderState((int)$id_order_state, (int)$this->context->language->id);
if (!Validate::isLoadedObject($order_status))
throw new PrestaShopException('Can\'t load Order state status');


if (!$this->active)
die(Tools::displayError());

I have tried deleting the lines from line 145 to 150 and the order got trought but page vas saying that is have alredy placed the order. I don't know whats the problem here and i really hope someone could help me.

Please help.

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...
  On 6/10/2014 at 11:14 AM, Marino1988 said:

First it spend 11 hour trying to figure out the problem then i just deleted the whole thing and reinstalled it and it worked for me.

 I have the same problem and it's driving me crazy.

What do you mean with "I deleted the whole thing"? Did you delete the payment module and then reinstall it?

Link to comment
Share on other sites

  On 8/4/2014 at 4:13 PM, vinruud said:

 I have the same problem and it's driving me crazy.

What do you mean with "I deleted the whole thing"? Did you delete the payment module and then reinstall it?

I deleted everything from my server, the whole website. After that i reinstallt prestashop+theme and other stuff and the problem was gone. 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...