Payment issues can occasionally occur due to incorrect gateway settings, failed renewals, webhook configuration problems, or testing environment errors. This guide explains the most common payment-related issues in WooCommerce and the steps you can take to resolve them when using Flexi Subscription.
Overview #
If subscription payments are not behaving as expected, begin by checking:
- WooCommerce payment gateway configuration
- Payment gateway account status
- API credentials
- Webhook configuration
- Subscription status
- Renewal order status
- Test or live mode settings
Most payment issues can be resolved by reviewing these settings before investigating further.
Before You Begin #
Before troubleshooting, confirm that:
- WooCommerce is installed and activated.
- Flexi Subscription is installed and activated.
- Your payment gateway plugin is enabled.
- API credentials are correct.
- Your merchant account is active.
- The payment gateway supports recurring billing.
Payment Failures #
A payment failure usually occurs when the initial subscription payment cannot be completed.
Possible causes include:
- Incorrect API credentials
- Invalid customer payment details
- Merchant account restrictions
- Payment declined by the issuing bank
- Unsupported payment method
To resolve the issue:
- Verify your payment gateway configuration.
- Confirm your API credentials are correct.
- Check that the payment gateway is enabled.
- Review the WooCommerce order status.
- Check the payment gateway logs for error messages.
- Ask the customer to try another supported payment method if necessary.
Renewal Payment Issues #
Sometimes the initial subscription purchase succeeds, but future renewal payments fail.
Common reasons include:
- Expired payment authorization
- Customer’s payment method has expired
- Automatic recurring billing is not supported
- Subscription has been placed On Hold
- Payment gateway rejected the renewal
To troubleshoot:
- Confirm the subscription is Active.
- Verify automatic renewals are enabled.
- Check the renewal order status.
- Review payment gateway logs.
- Confirm the customer’s payment method is still valid.
Webhook Errors #
Many payment gateways use webhooks to notify WooCommerce when payment events occur.
If webhooks are not working correctly, you may notice:
- Payments succeed but subscription status does not update.
- Renewal orders remain pending.
- Subscription renewals are not recorded.
- Payment confirmations are delayed.
To resolve webhook issues:
- Verify the webhook endpoint configured by your payment gateway.
- Confirm webhook delivery is successful.
- Check for failed webhook requests.
- Ensure your website is publicly accessible.
- Verify your SSL certificate is valid.
Important: Incorrect webhook configuration is one of the most common causes of subscription synchronization problems.
Sandbox and Test Mode Problems #
Test Mode allows you to simulate subscription purchases before accepting live payments.
Common issues include:
- Using live credentials in Test Mode
- Using test credentials in Live Mode
- Unsupported test payment methods
- Incorrect sandbox account configuration
To resolve these issues:
- Verify whether WooCommerce is currently using Test Mode or Live Mode.
- Use the correct API credentials for the selected mode.
- Use supported test payment methods provided by the payment gateway.
- Complete a full test purchase before switching to production.
Common Gateway Configuration Mistakes #
Incorrect gateway configuration is a frequent cause of payment issues.
Review the following settings carefully:
| Configuration Issue | Recommended Solution |
|---|---|
| Incorrect API keys | Replace with valid API credentials. |
| Disabled payment gateway | Enable the gateway in WooCommerce settings. |
| Test credentials in Live Mode | Replace with live credentials. |
| Live credentials in Test Mode | Replace with sandbox credentials. |
| Missing webhooks | Configure the required webhook endpoint. |
| Unsupported recurring billing | Use a gateway that supports subscription renewals. |
| Merchant account restrictions | Verify your account supports recurring payments. |
Checking Subscription Status #
If payments appear to fail unexpectedly, review the subscription itself.
Confirm that:
- The subscription is Active.
- The next payment date is scheduled.
- Renewal orders have been created.
- The linked WooCommerce order exists.
- Automatic renewals are enabled where applicable.
If the subscription is Cancelled, Expired, or On Hold, renewal payments will not be processed as expected.
Reviewing WooCommerce Logs #
WooCommerce records payment gateway activity, making it easier to diagnose issues.
When troubleshooting, review available logs for:
- Payment authorization failures
- API authentication errors
- Renewal payment failures
- Webhook delivery errors
- Communication timeouts
Gateway logs often provide the most detailed explanation of why a payment failed.
Best Practices #
- Always test payment gateways before accepting live subscriptions.
- Verify webhook delivery after any gateway configuration changes.
- Use Test Mode for configuration and development.
- Switch to live credentials only when testing is complete.
- Keep WooCommerce, Flexi Subscription, and payment gateway plugins updated.
- Monitor failed renewal payments regularly.
- Review payment gateway logs whenever unexpected payment behavior occurs.