I would like the order to be processed after the Payment method step, omitting the Review
step in the Onepage Checkout.
Is there anyone who has experience with this or who can point me in the right direction on how to do this?
Thank you
checkoutmagento-1.9onepage-checkout
I would like the order to be processed after the Payment method step, omitting the Review
step in the Onepage Checkout.
Is there anyone who has experience with this or who can point me in the right direction on how to do this?
Thank you
Best Answer
For one you need to rewrite Mage_Checkout_Block_Onepage::_getStepCodes():
Then there is the part where you want to save your order after the payment step through an event observer:
The above observer method implicitly agrees with the terms and conditions. This is illegal in some countries and you might want to display the terms and pass the agree post fields on the payment method page.
Also you might want to have a look at opcheckout.js to make shure people cannot post the order form twice etc...
This is just to point you in the right direction. It is not a complete solution because the exact implementation depends on your customer's wishes of course and I don't want to rob you of the fun of finding out the details of the solution yourself. But of you get stuck totally, please let us know.