Magento – Skip payment method step if only one payment method is active

checkoutcurrencymagento-1.9onepage-checkoutquote

I am looking for a way to hide/skip the payment method step if there is only one payment method active.

I haven't started work on the task because I am not entirely sure if it is achievable due to how the checkout process uses Javascript etc I am not sure how I could do a comparison check in order to skip the step.

For example,

Once the billing and shipping information has been set I'd like to show the Place order button rather than goto the payment method step since there will only be one method available.

At the moment I am thinking to use an Observer of some sort but I doubt this will work due the Javascript that loads each step.

Any ideas?

Best Answer

You can use an Observer to see the currency and enable Check/Money order for this type of payment (with another name of course) and once the order is placed do your Magic.

I made something similar here for another objective but you can reuse most of the code.

Related Topic