How to disable Cash on Delivery (COD) for customers with more than one active order

Hi everyone,

I want to restrict the Cash on Delivery (COD) option on my Shopify store.
My requirement is: if a customer already has one pending or unfulfilled order, they should not be able to place another order using COD.

Basically, COD should be available only for the first order, and disabled automatically for repeat customers with active orders.

Is there a way to achieve this using Shopify Flow, custom script, or any app suggestion?

Thanks in advance!

Hello @PrizmAura ,

I hope you are well!

If you are Shopify plus, you can do the setup using custom script or app. If you don’t, Shopify dosen’t allow to add the custom script to the other plans.

Also, you can check the apps like
1.) COD King‑COD Fees & OTP Verify - COD Order verification and Partial Payments for shopify | Shopify App Store
2.) PayRules: Hide Payment Methods - PayRules Hide COD or any payment methods at Shopify checkout | Shopify App Store

Also, before purchasing any app, I would recommend you to take a demo with them. It will be helpful for understanding the capablities of the app.