Remove Cash On Delivery From Payment Options When Custom Field is Filled By Customer

Hi,

Recently I got a new client who is using a custom html field attached to theme code like this;


      

        

          
          
        

      

    

What I need to do is I need to remove Cash On Delivery option when this custom field is filled. Now I have no idea how to do this, right now they are using Releasit COD app.

Thanks for your help.

It’s not available to mange in Settings > Payments?

That is might be the solution for many other stores yes, but I found HidePay app works the best. Thank you.