cancel
Showing results for 
Search instead for 
Did you mean: 

[1.9] Payments when a option 'Enable Onepage Checkout' is disabled

[1.9] Payments when a option 'Enable Onepage Checkout' is disabled

I have Magento extension of payments, which do not require redirection outside the shop. The extension works so that a link, which run JavaScript script, which uses AJAX to make payment for the shopping cart, is being placed inside 'ORDER REVIEW' when a option 'Enable Onepage Checkout' is enabled. The class inherited "Mage_Checkout_Block_Onepage_Abstract" is defined in the script "/Block/Checkout/Onepage/Step.php", and class script inherited "Mage_Checkout_Controller_Action" in a file '/controllers/OnepageController.php'. In addition, there is an XML extension document in a  directory"app/design/frontend/base/default/Layout/". The templates "/checkout/onepage/step.phtml" and "/checkout/onepage/step/info.phtml" are defined. This second template defines the appearance of the section "ORDER REVIEW".

However, „PLACE ORDER” automatically redirects to the success page if the option 'Enable Onepage Checkout' is disabled. How to extend the Magento 1.9 extension so that it works the same way when "Enable Onepage Checkout" is disabled,  as when this option is enabled? How to approach handling payments that are made on the Magento 1.9 shop with disabled option "Enable Onepage Checkout"? How to do in payment extension so that making a payment on the page of the shop is required before going to the success page? How to place the HTML code shown in the Magento 1.9 order wizard? How to change the behaviour of the wizard so that going to the successful order page is not automatic? Could you help me?

Kamil Szmit