Zac McDonaldOpen to new projects
Get a quote

WooCommerce renewals failing after a migration?

After a migration, WooCommerce Subscriptions often switches off automatic payments on purpose, because the address changed and it thinks the site is a copy. If that is not it, the renewal jobs are not running on the new server, or Stripe is still talking to the old one.

The problem

The site moved to a new host or a new domain and everything looked fine. Pages load, checkout works, new orders come in. Two or three weeks later monthly revenue is down, and the subscriptions screen is full of renewals that are past due, on hold, or quietly switched to manual. Nothing showed an error. The move broke the part that only runs in the background.

How to fix it

  1. Look for the duplicate-site notice in wp-admin. WooCommerce Subscriptions remembers the site address, and when it sees a different one it stops charging cards so a staging copy never bills real customers. If this is the only live copy, accept the notice to turn automatic payments back on. Renewals created while it was off may have been set to manual and need handling one by one.
  2. In WooCommerce, go to Status, then Scheduled Actions, and search for pending woocommerce_scheduled_subscription_payment actions. Past-due ones piling up means nothing is running them. On a new server WordPress cron may be disabled or blocked. The fix is a real server cron job that runs WordPress cron every few minutes.
  3. In the Stripe dashboard, open the webhook endpoint. Check it points at the live site, recent deliveries succeeded, and the signing secret matches the site’s Stripe settings. Check the site uses live keys, not test keys copied from staging.
  4. If the move also changed Stripe accounts, saved cards belong to the old account and cannot be charged. That needs a card data migration arranged through Stripe.
  5. Before running a backlog of past-due renewals, decide whether to run them now or contact customers first. Charging someone three weeks late with no warning creates disputes.

When to stop

Stop when renewals are already past due, when the Stripe account changed, or when you are not sure which copy of the site is live. The wrong click bills customers twice or not at all.

Or I can do it for you

You do not have to do this yourself. If renewals are failing now and money is not arriving, send an emergency request at rescue. If the move is behind you, I find every failed renewal and how to recover it, with a fixed quote. Watching renewals is part of a monthly maintenance plan for subscription sites. See WooCommerce subscriptions or get a quote.

Get the WooCommerce Subscriptions health check

This adds you to my mailing list. Every email has a link to leave it. Privacy policy