Disable payment method for specific products

You can easily do that with Vista Payment Customization Rules.
Create a product tag for eg: “No_COD_Tag” and assign all those products to that tag.

Now go to Vista Payment Rules app

  • select “Product Tags” condition

  • Add product tag eg: “No_COD_Tag”

  • Add COD as payment method

  • Select “Hide”

  • Save the rule

COD will always be hidden at checkout.

You can add other conditions as well such as low total order value or certain products.