Skip to main content
Question

Klaviyo stopped auto-replenishing/generating dynamic coupon codes from WooCommerce

  • June 2, 2026
  • 2 replies
  • 29 views

Nanette
Active Contributor II
Forum|alt.badge.img+7

Hi! I have the Klaviyo/WooCommerce plugin in place with WooCommerce coupons created and set up in Klaviyo.  Everything was working without issues until about 2 weeks ago. Klaviyo is showing they are live, but it's not generating the designated daily amount...it shows a total number for the previously generated coupons with 0 available. If I go into the coupon in Klaviyo and make a change (for example, the min # needed each day) and click update, that triggers the new generation and then the available number shows new coupons available. So, manual saves trigger generation but automated daily generation isn't running. Again...this has been working seamlessly until recently (which eliminates any stack conflicts or firewall issues/blocks). I’ve deactivated/deleted the plugin and reinstalled, as well as removed/added back the WooCommerce integration. Still nothing.  I understand this isn’t the forum for plugin troubleshooting, and that isn’t really what I’m seeking.  I’m curious if anyone else has encountered this issue with the auto-generation / daily replenishment of dynamic coupon codes.  

2 replies

Temi O.
Community Manager
Forum|alt.badge.img
  • Community Manager
  • June 4, 2026

Hi ​@Nanette
 

Hope you're doing well! So the fact that manual saves trigger generation tells us the integration itself is working, which rules out the typical plugin issues. What's likely happening is the scheduled job that handles daily regeneration isn't firing. This could be on either end.

On your side, this usually comes down to WooCommerce's scheduled action runner (Action Scheduler). If your hosting environment had any changes around the time this stopped (server migration, PHP version update, cron job modifications), that could have disrupted it. You can check WooCommerce > Tools > Scheduled Actions to see if there are any failed or stuck actions related to Klaviyo.

On our end, we could be failing to trigger the regeneration for some reason specific to your account.

Have you noticed any changes to your hosting or WooCommerce setup in the last 2-3 weeks, or is this completely out of the blue?

 


Temi@Klaviyo


Nanette
Active Contributor II
Forum|alt.badge.img+7
  • Author
  • Active Contributor II
  • June 4, 2026

Hi ​@Temi O. 


Thank you for your reply...and hope you’re doing well! I’ve been down the troubleshooting path very extensively and, at this point, suspect it is on Klaviyo’s end. Here is a little more detail on what I’ve investigated and ruled out:

  • There are no pending or failed scheduled actions in WooCommerce - in fact, there is nothing Klaviyo-related in the logs.
  • I installed the WP Crontrol plugin for any insight and it confirmed zero Klaviyo-related cron events even exist in WordPress's schedule.
  • I’ve confirmed that there have been no server-level security changes that would impact REST API calls. I’ve also reviewed the firewall audit logs and there were no blocked calls from Klaviyo’s IP range. 
  • With the help of Claude, I tried creating a plugin utilizing the REST API approach - but came to the conclusion that WooCommerce dynamic coupons are not exposed via the public REST API, only the Uploaded Coupons.  I also tried using the AJAX endpoint, but no luck. At that point, we tried using GitHub Actions + Playwright - the actions would failed / error out due to Klaviyo’s IP binding (redirecting to the login URL)

 

As for any changes on my end, I did have a corrupt cache file that was causing other issues on my site. I had WP Rocket - and while I know there is an incompatibility with WP Rocket and Klaviyo, it hadn’t presented a problem for me at all over the last 2+ years. However, due to other issues I was having, WP Rocket was deactivated a few weeks ago while support was troubleshooting the other issues. It seems like it was around the time WP Rocket was deactivated when coupon codes stop generating, which just doesn’t make any sense. Coincidence? I don’t know.  But, I’ve deactivated/deleted the Klaviyo plugin, disabled/removed the WooCommerce integration in Klaviyo, and set everything back up again...several times. Still nothing.

 

After countless hours researching and troubleshooting this, what I’m understanding is that Klaviyo's WooCommerce dynamic coupon code replenishment is managed entirely by Klaviyo's internal backend scheduler. The scheduler runs on Klaviyo's servers and, when triggered, calls the WooCommerce REST API to create unique coupon codes and adds them to Klaviyo's pool. Something broke in Klaviyo's scheduler approximately 2–3 weeks ago. And, after exhausting every imaginable avenue, I have landed back where I was and suspect the issue is on Klaviyo's side and is not caused by any WordPress, WooCommerce, or plugin configuration on the site.

 

At this point, I have to go in EVERY day and save a manual edit to each coupon so new codes are generated. Clearly this method isn’t sustainable long-term and present room for error (and embarrasment with customers who receive an email with an error coupon code)!!  

 

We are a somewhat new(er), small brand and can only utilize Klaviyo’s free plan at the moment. Unfortunately, the drawback to that is I have no direct Klaviyo support and am just left pulling my hair out! I’m not sure what options I have left at this point, so any insight, thoughts, suggestions, etc. are greatly welcomed!!  😊

 

Thanks so much!!