DeadSudo Posted June 22, 2021 Share Posted June 22, 2021 (edited) I want to set my payment module in checkout page as the first payment option and selected by default, but i want to this by code. Edited June 22, 2021 by DeadSudo (see edit history) Link to comment Share on other sites More sharing options...
w3bsolutions Posted January 16, 2022 Share Posted January 16, 2022 Here is an idea of how you would do that. For the order, arrange it in the "paymentOptions" hook. To select it by default, follow the changes in the link adapting the "checked" id to the ID of your payment module. 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