WooCommerce PayPal Standard Renewal Fix
This plugin fixes issues with WooCommerce Subscriptions renewal orders when using PayPal Standard as the payment gateway.
by Shameem Reza · github.com/shameemreza/wc-paypal-standard-renewal-fix · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/shameemreza/wc-paypal-standard-renewal-fix/archive/refs/heads/main.zipReadme
WooCommerce PayPal Standard Renewal Fix
This mini plugin fixes issues with WooCommerce Subscriptions renewal orders when using PayPal Standard as the payment gateway.
Problem
In some cases, when a subscription's payment method has been changed, PayPal Standard processes renewal payments successfully, but WooCommerce doesn't create corresponding renewal orders. This typically occurs when:
- A payment method change occurs (shown by "IPN subscription failing payment method changed" message in logs)
- PayPal sends a payment notification ("IPN subscription payment completed")
- No renewal order is created in WooCommerce
Solution
This plugin adds additional hooks to ensure renewal orders are properly created when PayPal Standard processes subscription payments, even if the payment method has been changed previously.
Key features:
- Intercepts PayPal IPN notifications.
- Checks if a renewal order should exist but doesn't.
- Creates missing renewal orders for successful payments.
- Ensures orders have the correct payment method.
- Provides detailed logging to troubleshoot issues.
Installation
- Upload the plugin files to the
/wp-content/plugins/wc-paypal-standard-renewal-fixdirectory. - Activate the plugin through the 'Plugins' screen in WordPress.
- No configuration is required - the plugin works automatically.
Requirements
- WordPress 5.8+
- WooCommerce 6.0+
- WooCommerce Subscriptions 4.0.0+
- PHP 7.3+
Logs
The plugin logs its actions in the WooCommerce logs section with the source name paypal-renewal-fix.
You can view these logs in WooCommerce → Status → Logs.
Support
This is a custom plugin created to solve a specific issue. If you need support, please hire a developer.