Can’t Add Products To Shopping Cart Or Login To Admin Page IE and Chrome

Wednesday, 30. May 2012

I have had rather strange ordeal this morning when a customer reported that all of a sudden no one seemed to be able to add products to Magento shopping cart or log in to admin panel using Chrome or IE. However over to Firefox world, things seemed to be working as they should

After double checking with the hosting guys, we realized there was a power cut the night before! That was good enough reason to base all the investigation on what could have possibly go wrong as there hasn’t been any changes to the site that could have possibly cause this behaviour

Server Time Our Of Date
After some time looking around, we finally noticed the server time is actually one hour behind! Ahaa! So this could explain one scenario, all the seesion cookies that were being created could have been out of date already before they even function!

So we changed the server time and WOOT WOOT, things started to work as they should!

Hope this helps someone out there with similar problems.


SagePay Payment has failed, please reload checkout page and try again. Your card has not been charged

Sunday, 26. February 2012

Had this issue while configuring SagePay suite extension. When you went to place an order through Magento onepage checkout Sagepay throws an error: Payment has failed, please reload checkout page and try again. Your card has not been charged.

Seemed rather strange at first with everything seeming rather usual. After sometime of debugging, I decided to upload the sagepage suite files manually via FTP and whallaaah! issues solved!


Seems to be installing SagePay suite via Magento Connect.


Install SagePay files manually via FTP. Clean cache and give it another Go.

Hope you will find a little smile after this :)

CONTINUE button Not working While PayPall Credit Card selected

Wednesday, 19. October 2011

If you are processing credit cards via paypal and for some reasons the continue button doesn’t seem to be working on the checkuot payment process, this may be the reason.

Open the page.xml file for your theme

Check to ensure this file exists and if not, add this line after the list of Javascript files added.

<action method="addJs"><script>lib/ccard.js</script></action>

Can’t Select Payment Option on IE9 Magento Onepage Checkout

Thursday, 8. September 2011

My client reported this strange behaviour on IE9 that happens when a customer tries to checkout using onepage checkout on Magento.

What was happening in this case was when a customer is going through the checkout steps, they select the shipping method fine but when they click to go to choose the payment method, IE9 was automatically refreshing the page and take them back to the first step again!

After a bit of head scratching and testing, came to realise two issues where noticeable on this case:

1) There was a Javascript error in one of old files. So I fixed that

2) The always saviour boiler plate stuff! I noticed the site was missing the compatible quirk so I thought I should give it a try..

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=8"/>
<meta http-equiv="X-UA-Compatible" content="IE=7"/>

3) Finally, cleared Magento cache, tried the checkout again.. and Whallah! it fixed it!

It worked for me and if you are experiencing the same problem you may want to give it a try.

Let us know if this helped you.

Magento Checkout – “Unable to set Payment Method”

Thursday, 28. July 2011

I have come across this rather ambiguous error message while testing the checkout process with onepage checkout.

It’s a popup with a simple message “Unable to set Payment Method”! That’s very telling!

The truth is that Magento does in deed throw an error and it’s captured. You can quickly allow the full error to be displayed on frontend by doing the following:

Navigate to: /app/code/core/Mage/Checkout/controllers/OnepageController.php

Search for a line

$result['error'] = $this->__('Unable to set Payment Method.');

and replace it with

$result['error'] = $e->getMessage();

Try the checkout again and hopefully you should now see a more meaningful error message for a developer!

I think you have noticed you have just edited the very CORE file here! I would normally not recommend doing this. It’s much better to overwrite the controller instead.

I will leave it to your judgement but I will recommend you atleast undo your changes after you done fixing your problem.