cancel
Showing results for 
Search instead for 
Did you mean: 

onepage checkout not working after upgrade to 1.9

Re: onepage checkout not working after upgrade to 1.9

To make checkout process after version upgrade, you need to update form key.

You can update form key by adding following js code to /app/design/frontend/package/theme/template/checkout/onepage/review/info.phtml

 

<script type="text/javascript">

//<![CDATA[

review = new Review('<?php echo $this->getUrl('checkout/onepage/saveOrder', array('form_key' => Mage::getSingleton('core/session')->getFormKey())) ?>', '<?php echo $this->getUrl('checkout/onepage/success') ?>', $('checkout-agreements'));

//]]>

</script>

 

Thanks

 

Re: onepage checkout not working after upgrade to 1.9

And how to update this form in magento2.2.0?

 

I have also the same problem after update from magento 2.1.8 to magento 2.2.0

Re: onepage checkout not working after upgrade to 1.9

Amazing post !! that is really helpful content.

For more helpful content see more helpful conent regarding Magento checkout progress not working on http://www.webetutorial.com/question/magento-checkout-progress-not-working/.

Re: onepage checkout not working after upgrade to 1.9

I'm a web developer specialize in Magento E-commerce industry. Today once i install one Magento application(1.9.2 Version) and try to make one ORDER as testing. Once i go to purchase one product, After shipping method not able to move to payment method section (One Page Checkout). Then i see Web console. I found following error.

1) Password fields present on an insecure (http://) page. This is a security risk that allows user login credentials to be stolen. -- Mozilla Warning

2) This page includes a password or credit card input in a non-secure context. A warning has been added to the URL bar. For more information, see https://goo.gl/zmWq3m. --- Google Chrome.

All are saying to purchase SSL certificate (https://). I'm even none of the web developer will purchase SSL certificate during testing phase of a website. Then what will be the solution ?

Re: onepage checkout not working after upgrade to 1.9

Ok so after Updating and migrating Magento 1.9 The Onepage took me back to the checkout after filling in billing details.

 

I had two issues one was PHP version (new server was running  7.X needed 5.X)

 

1. Check the PHP version is compatible as this will break Onepage checkouts!

 

2. The client's theme was not compatible with the latest version of the one-page checkout: 

 

To test this:

 

change the name of these to XXXX_bac

 

app/design/frontend/YOUR_THEME/YOUR_TEMPLATE/template/checkout

app/design/frontend/YOUR_THEME/YOUR_TEMPLATE/layout/checkout.xml

 

Now copy the following directories in to the relevant places:

 

app/design/frontend/rwd/default/template/checkout

app/design/frontend/rwd/default/layout/checkout.xml