How to remove " COD " option when choosing shipping

Hi ,
How do i remove the " cash on delivery " option when using shipping ?

I only want " Cash on delivery " option appear when we choose the option " Pick Up " .

Hi @BlackDahliaSG

Payment options available at checkout cannot be limited to certain orders or shipping methods. With COD you do have the ability to manage the messaging for your customers (Settings > Payments) so that they know that the COD option is only for specific orders.

For example:

COD will also always be a secondary option to Credit Card and the credit card option will be the first one selected when a customer goes through the checkout.

If a customer still goes through the checkout with COD chosen, you can send them a draft invoice to collect payment for the order before shipping the product out.