cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to prevent re-direction when submit order button pressed for new payment method

Is there a way to prevent re-direction when submit order button pressed for new payment method

Hi. I am new to Magento and have implemented a new custom payment method. It is implemented as a controller, and all works fine as it is called when the 'place order' payment button is pressed. However, as it is a lightbox, I would like to stay on the same order page where the 'place order' button is displayed. Is there a way to call the equivalent of a controller when the 'place order' button is displayed, but not be re-directed?