I am trying to hide some specific payment method from frontend only.
I have tried with
Both working fine if my
events.xml placed in global config i.e
Problem is, if I move them to frontend they stop working.
Thanks in advance