How to disable the payment method only for the frontend?
To disable the payment method only for the frontend and keep it enable for the backend,
Select the payment method under the configuration Store ⟶ Configuration ⟶ Magediary ⟶ Payment & Shipping Hider ⟶ Payment Methods