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?
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.
Shipping Method => Flat rate (Selected and click continue button) Payment Method => Skip (auto selected payment = Custom Payment) Order Review Loaded