Magento – Onepage checkout: Submit order button not working

checkoutmagento-1.8onepage-checkout

I am working on a Magento store V. 1.8.1.0 that does the following error:

On onepage checkout.

  1. Customer clicks on "Place order"

  2. The button becomes disabled, shows a spinner (all goood so far).

  3. Button goes back to normal. Nothing further happens.

enter image description here

The order gets created in the backend AND the customer's Credit Card gets charged. If the customer clicks again, another order gets created and his/her card gets charged again.

Does someone know why this happens?

According to the store owner, the store worked fine until a week ago when this error started to appear.

Best Answer

First find the Bug this way:

Go to the checkout page & open the console (you need firebug if mozila firefox). You should be able to see one ajax call on click place order. See the ajax response. Here you can find the error.

Now try below possible solutions:

  • Probably error comes in onepagecontroller.php saveAction. Now just look in that file.

  • If you installed any third party extension for checkout try to disable it.

  • Clear the caches in backend in System->Cache Management.

Related Topic