I have this problem where I need to skip payment options when a user choose flat rate shipping method and show payment if user choose other shipping method.
I looked for similar problem but couldn't find any. Can you guys suggest me a snippet or idea on how to achieve it?
Edit:
This question (Filter Payment Method besed on Shipping Method) is just hiding or removing specific payment method not skipping the payment method itself.
I just want to skip the whole payment method and continue to order review. Just skip the payment method.
Example:
Shipping Method => Flat rate (Selected and click continue button) Payment Method => Skip (auto selected payment = Custom Payment) Order Review Loaded
Update[09/29/2016]:
This post magento.stackexchange.com/questions/45166/… help a bit but doesn't really skip the payment itself. So what I did is auto select the payment and add javascript/jQuery script to fire automatically the continue button.
Thanks