Title: Coupon keeps adding itself back
Last modified: September 1, 2016

---

# Coupon keeps adding itself back

 *  Resolved [wekhter](https://wordpress.org/support/users/wekhter/)
 * (@wekhter)
 * [10 years ago](https://wordpress.org/support/topic/coupon-keeps-adding-itself-back/)
 * I added this plugin to a site and have been using it (successfully!) for a while,
   but ran into a strange problem yesterday.
 * I tested out a link that adds a product to cart & applies a coupon. When I removed
   the product from my cart, I got the following message:
 * > Sorry, it seems the coupon “practitionerunlock” is invalid – it has now been
   > removed from your order.
 * The message itself is fine–it’s what I expected because of the restriction rules.
   The problem is, since then, every time I view my cart the same message appears.
   When I have products in the cart, I can still see that coupon listed in the cart
   totals section, along with a [Remove] link. Clicking the remove link replaces
   the message at the top of the screen with:
 * > Coupon has been removed.
 * But after a few seconds it reloads via ajax and again says “Sorry, it seems the
   coupon “practitionerunlock” is invalid – it has now been removed from your order.”
 * Any fix for this?
 * [https://wordpress.org/plugins/woocommerce-auto-added-coupons/](https://wordpress.org/plugins/woocommerce-auto-added-coupons/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Soft79](https://wordpress.org/support/users/josk79/)
 * (@josk79)
 * [10 years ago](https://wordpress.org/support/topic/coupon-keeps-adding-itself-back/#post-7653023)
 * – What version of my plugin and WooCommerce are you using?
    – What are the coupon
   settings? – How can I reproduce the issue (on your site)?
 *  Thread Starter [wekhter](https://wordpress.org/support/users/wekhter/)
 * (@wekhter)
 * [10 years ago](https://wordpress.org/support/topic/coupon-keeps-adding-itself-back/#post-7653029)
 * Ok, I managed to fix the issue but I’ll let you know what finally worked in case
   you can give me some insight as to what happened!
 * WooCommerce v2.6.4 / WooCommerce Extended Coupon Features v2.3.4
 * Coupon settings: Product discount w/ no expiry date. Usage restriction limited
   to one variation of one product. Limited to a specific list of emails. Usage 
   limit per user: 1. Not an autocoupon.
 * The coupon was added via an add-to-cart URL w/ apply_coupon at the end
 * The coupon was “stuck” in removal limbo when logged into the admin account. I
   went into coupon settings to remove the admin email from the list of allowed 
   email addresses, but the coupon was still stuck. I was finally able to get the
   coupon to go away when I logged out of the admin account, and when I logged back
   in it was gone.
 *  Plugin Author [Soft79](https://wordpress.org/support/users/josk79/)
 * (@josk79)
 * [10 years ago](https://wordpress.org/support/topic/coupon-keeps-adding-itself-back/#post-7653114)
 * Strange, let me know if the issue occurs again and send me a link.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Coupon keeps adding itself back’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-auto-added-coupons/assets/icon-256x256.png?rev
   =3357537)
 * [Extended Coupon Features for WooCommerce FREE](https://wordpress.org/plugins/woocommerce-auto-added-coupons/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-auto-added-coupons/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-auto-added-coupons/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-auto-added-coupons/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-auto-added-coupons/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-auto-added-coupons/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Soft79](https://wordpress.org/support/users/josk79/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/coupon-keeps-adding-itself-back/#post-7653114)
 * Status: resolved