cancel
Showing results for 
Search instead for 
Did you mean: 

Percentage Discount code - Code not Valid Error

Percentage Discount code - Code not Valid Error

Hi,

 

I have setup my first % discount code, but when attempting to use it I receive the error The coupon code "XXXX" is not valid.

 

Reviewing my coupon setup, I haven't set any conditions, I have added ALL customer groups, All websites (only have Main Website) and have not set any start/end dates.

 

I have also tried by adding a condition of the basket having a QTY greater than 0 to see if it needed something, but again the same error.

 

I have tried cache clearing etc... but again nothing.

 

Is there a way I can find out why it doesn't work, some kind of validation or descriptive error message? I have seen a module on github that will give you this info but im reluctant to just grab a module from there.

 

Here are my full settings currently configured:

 

Websites - Main Website
Customer Groups - Not Logged In, General, Retailer, Wholesale
Coupon - Sepcific Coupon
Coupon Code - XXXX
Uses per coupon - 99999
Uses per customer - 1

Priority - 0

Conditions - None set

Apply - Percentage of Product Price Discount
Discount Amount - 10

Free Shipping - No

 

Anything not mentioned is set to default

 

Thanks

 

Chris

2 REPLIES 2

Re: Percentage Discount code - Code not Valid Error

Hello @christopher_bil 

If you did not set any date for start date then Magento takes default the current date as a start date. So, I recommended you to please update your start date. 

Re: Percentage Discount code - Code not Valid Error

HI @christopher_bil,

Try once after increasing "Uses per customer" for now to test once,

Reindex and flush cache once.

php bin/magento indexer:reindex

php bin/magento cache:flush


I hope it will help you!