See notes on how to upgrade to Magento Community Edition (CE) 1.8 or Magento Enterprise Edition (EE) 1.13.0.2 or later.

If you’re experiencing problem with your checkout (it’s not updating the database and recording the sales order), this is what you’d need to do:

Go to /app/design/frontend/YOURTHEME/default/template
/checkout/onepage/payment.phtml

Change

<fieldset>
 <?php echo $this->getChildHtml('methods') ?>
</fieldset>

To

<fieldset id="checkout-payment-method-load">
    <?php echo $this->getChildHtml('methods') ?>
</fieldset> 

 

Go to app/design/frontend/default/YOURTHEME/template
/checkout/onepage/review/info.phtml

Change:


review = new Review('getUrl('checkout/onepage/saveOrder') ?>', 'getUrl('checkout/onepage/success') ?>', $('checkout-agreements'));

To:


getUrl('checkout/onepage/saveOrder', array('form_key' => Mage::getSingleton('core/session')->getFormKey())) ?>', 'getUrl('checkout/onepage/success') ?>', $('checkout-agreements'));

Resource from: stackoverflow.com