Bugsearch Woocommerce-Subscription

Замовник: AI | Опубліковано: 01.01.2026

I run a WooCommerce store using the “Subscriptions PRO” plugin (by WP-Swing), both on the latest version. One product is sold exclusively as a subscription and should generate a fresh coupon code automatically with each renewal and send it via email. The coupon code is generated via functions.php. This only works for the initial purchase. Starting with the first renewal, both issues occur simultaneously: the subscription is no longer created, and consequently, no coupon code is sent. There are no custom code modifications, so I suspect the issue lies somewhere in the hooks/cron jobs between WooCommerce and Subscriptions PRO. Your task is to debug the interaction of these two plugins, identify the root cause for both issues, and implement a future-proof solution. Acceptance criteria: • Each renewal generates a unique coupon code. • The coupon code is automatically emailed to the customer. • The subscription appears correctly in the WooCommerce backend with the updated renewal date. • All tests run without errors on staging and live. • Payment methods: Credit Card and Invoice. I will provide admin access to a staging environment. Please briefly outline your approach and the estimated timeframe so we can get started.