1
votes

I'm having trouble with creating a custom step for magento onepage checkout. Link of the tutorial: http://www.excellencemagentoblog.com/magento-onestep-checkout-add-step . The problem is, when I click 'continue' button on my custom step, it always redirects back to the cart page. Looking for help. Any suggestions how to debug redirecting? or how to see where is the problem. I've checked log files, it doesn't say anything in there. Where to start looking for problems? Thanks in advance.

2
finally after long hours of searching, I found that I need to add following to my config.xml file. <routers> <mymodel> <use>standard</use> <args> <module>Mymodule_Name</module> <frontName>mymodel</frontName> </args> </mymodel </routers> - ecif

2 Answers

1
votes

To check ajax calls in firebug, click on the "Net" tab. Something is wrong in your new step that's why it is failing.

0
votes

Try debugging the output of the ajax call that is made when you click 'continue'. You mayor nave some exception indica your code that gets cached by OPC. If that's the case, you should see a Json indicating the redirect as the ajax response.