billyjoe Posted June 25, 2013 Share Posted June 25, 2013 Hi there, I'm currently seeking how to skip the payment choice method step. Indeed, i actually have only one payment method (credit card), so i think it's a bit useless to let the customer chose between... credit card or credit card So i've searched in several files, such as OrderOpcController.php, in which there are things about payment methods and OrderController.php mainly, but also in some .js files (which i don't believe there are much things to edit not to display payment method choice). Well i guess i'm turning around the solution, but yet i haven't found what to remove/edit in these files to skip this step. PS: I am using a payment module. After choosing the payment method (which is what i wanna skip), i'm redirected to this module. However, i'd like to be redirected to it right after validating the shopping cart. I hope you'll be able to enlighten me on that, and thanks in advance for your help Billy. Link to comment Share on other sites More sharing options...
billyjoe Posted June 28, 2013 Author Share Posted June 28, 2013 Anyone ? Link to comment Share on other sites More sharing options...
bellini13 Posted June 28, 2013 Share Posted June 28, 2013 you could try to alter your only payment module, so it automatically redirects. the payment module will have a function called "hookPayment". This is used to display the payment method in the payment list. Instead of displaying, see if you can just do a redirect to the payment form instead, Otherwise, alter step 3 of the controller to do the direct. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now