How do I give discount to people who pay online initiated of Cash on delivery.

14 0 5

In india more than 75% order are placed using COD and 30% to 40% order are return without even opening the box and it's hurts.

Is there anyway to give discount on prepaid orders only? like 10% off 20% off if they choose to pay online. 

Is it possible to do? using some scripts or editing some codes? if yes then please let me know.

I don't want to use razerpay or other apps for this.


Replies 2 (2)
Shopify Partner
312 23 60

Hello @Aasif007 


This is not directly possible in Shopify, but it is possible using our app Releasit Cash On Delivery. With the app you can disable COD if the order contains any discount, so you can create a discount code on Shopify and call it PREPAID or something similar and tell your customers to use it on the store if they want to get a discount and pay with prepaid. When the discount is used by the customer the COD option will not appear at checkout so the customer will only be able to use a prepaid payment.


You can install our app Releasit Cash On Delivery for free from the Shopify App Store here: 



After you install it you can go on the Limit COD page and you will find here the option to disable COD if the order has discounts:



We also offer 24/7 support and the app works with all Shopify plans, so if you need any help feel free to contact us from there!


I hope this helps you!


Marco from Releasit

Install Releasit Cash On Delivery for free here:
Add a fee to Cash on Delivery and limit COD based on any condition (order total, location, products, collections, etc.)
Shopify Partner
287 19 47


It is possible to implement this using our free app Payment Customizations: PayMix.

You can setup a rule in PayMix to "Show specific payment methods and hide others" when the cart contains discount.

For your particular use case, you can create a rule to only show the online payment methods and hide COD if the discount code is applied.


Here is a small video to see how the end effect would look like:



We also have in-app live chat support available inside the app to help you with any queries that you might have.
Automate & bulk assign products to shipping profile: Auto Shipping Profiles: Shipr
Calculate accurate shipping rates: Shipping Calculator: ShipMagic