Skip to content

Greg Sullivan

Enabling staging mode for WooCommerce Subscriptions on a SiteGround staging server

To prevent duplicate payments, WooCommerce Subscriptions attempts to confirm it’s being run in the production environment prior to charging customers. The method it uses to detect non-production environments fails on SiteGround staging servers, leading Subscriptions to bill customers in staging environments as well. When a client reached out saying they’d created a staging server andContinue reading “Enabling staging mode for WooCommerce Subscriptions on a SiteGround staging server”