Common issues and their solutions.
404 Errors on Endpoints
Symptoms: REST API endpoints return 404. My Account license pages show "not found". Webhook URLs return 404.
Solutions:
- Go to
WP Admin > License Server > Settings > Toolsand click Flush rewrite rules. - Alternatively, visit
WP Admin > Settings > Permalinksand click Save Changes without changing anything. - Make sure your permalink structure is not set to "Plain" โ the REST API and webhook endpoints require pretty permalinks.
Licenses Not Generating on Order Completion
Symptoms: A customer completes an order for a Software product but no license key appears.
Checklist:
- Product type โ Verify the product is set to Software or Variable Software in the Product data dropdown.
- Update file โ The product must have a file uploaded in the License tab > Update file field. Without this, license generation is skipped.
- Order status โ Licenses are only generated when the order status is Completed. Check that the order reached this status (payment gateways that use authorization may leave the order as Processing).
- Manual generation โ Open the order, select Generate License Key(s) from the Order actions dropdown, and click Update.
Emails Not Sending
Symptoms: Customers are not receiving license or subscription emails.
Checklist:
- Email enabled โ Go to
WP Admin > WooCommerce > Settings > Emailsand verify the relevant email is enabled. - WordPress mail โ Test that WordPress can send emails. Use a plugin like WP Mail SMTP to verify your mail configuration.
- Staging detection โ SLSWC suppresses all customer-facing emails on staging environments. Verify your site is not detected as a staging environment.
- Scheduled actions running โ Expiring and expired license emails are sent by scheduled actions. Verify the
slswcactions are scheduled and not past-due (see Scheduled Actions). Action Scheduler is started by WP-Cron, so if your hosting does not support WP-Cron reliably, set up a system cron to triggerwp-cron.php.
Scheduled Actions Not Running
Symptoms: Licenses are not expiring automatically. Emails are not sent on schedule.
Checklist:
- Verify scheduling โ Go to
WP Admin > WooCommerce > Status > Scheduled Actionsand search for theslswcgroup, or runwp action-scheduler action list --group=slswc. Check the Past-due and Failed tabs. See Scheduled Actions for the full list of jobs. - WP-Cron disabled โ Action Scheduler's queue runner is started by WP-Cron. If
DISABLE_WP_CRONis set totrueinwp-config.php, you need a server-level cron job:*/15 * * * * curl -s https://your-store.com/wp-cron.php > /dev/null 2>&1Alternatively, runwp action-scheduler run --group=slswcfrom a system cron. - Re-register schedules โ Missing SLSWC schedules are re-registered automatically on the next admin page load. Deactivating and reactivating SLSWC also re-registers them.
Payment Gateway Webhook Failures
Symptoms: Payments succeed but subscriptions are not created/renewed. Gateway shows undelivered webhooks.
Checklist:
- Rewrite rules โ Flush rewrite rules (see the 404 fix above). The webhook endpoint
https://your-store.com/slswc/webhook/{gateway}/must be accessible. - Webhook secret โ Verify the webhook signing secret matches between your gateway dashboard and the SLSWC gateway settings. A mismatch causes signature verification to fail silently.
- SSL โ Most gateways require HTTPS for webhook URLs. Make sure your site has a valid SSL certificate.
- Debug log โ Enable the Debug Log option on the gateway settings page and check
wp-content/uploads/wc-logs/for error details.
Subscription Payments Failing
Symptoms: Subscriptions go to on-hold status. Customers report payment failures.
Checklist:
- Customer payment method โ The customer's card may have expired or been declined. They need to update their payment method.
- Retry settings โ Check
WP Admin > License Server > Settings > Subscriptions > Renewal & Paymentto verify retry settings are configured. - Grace period โ If a grace period is set, subscriptions will go on-hold before expiring, giving time for payment to be resolved.
- Gateway logs โ Enable debug logging on the gateway and review the logs for specific error messages from the payment provider.
Activation Count Mismatch
Symptoms: A license shows the wrong number of active domains.
Solution: Go to WP Admin > License Server > Settings > Tools and click Recalculate activation counts. This recounts all active domains and corrects any drift.