WooCommerce Payments offers two options for selling subscriptions.
These two different offerings are powered by the same codebase. This makes it possible for most extensions that add features to WooCommerce Subscriptions, like All Products for Subscriptions, to also add those same features to WooCommerce Payments’ built-in subscription functionality.
However, often extensions check if the WooCommerce Subscriptions plugin is active. When using subscriptions with WooCommerce Payments, the WooCommerce Subscriptions plugin will not be active.
In these cases, even if the extension’s functionality is compatible with WooCommerce Payments’ built-in subscription functionality, the extension may still need to be updated to support it.
Here’s a list of extensions that work with WooCommerce Payments subscriptions:
- All Products for WooCommerce Subscriptions
- AutomateWoo
- AutomateWoo – Refer A Friend add-on
- WooCommerce Subscriptions Downloads
- Gifting for WooCommerce Subscriptions
- Product Bundles
- Composite Products
- Conditional Shipping and Payments
- Follow-Ups
- EU VAT Number
- Stripe
- PayPal Payments
- Braintree for WooCommerce
- Sensei products
- Shipment Tracking
- Gift Cards
- WooCommerce Points and Rewards
- Back In Stock Notifications
Developer updates ↑ Back to top
If an add-on’s subscription functionality has been tested with both WooCommerce Subscriptions and subscriptions with WooCommerce Payments, it can be updated to load when either offering is available on a WooCommerce store.
The recommended approach for checking if either offering is available is:
if ( class_exists( 'WC_Subscriptions' ) || class_exists( 'WC_Subscriptions_Core_Plugin' ) ) { // Load any Subscriptions functionality }
If the add-on needs to check for a specific version of subscriptions, the following code can be used:
if ( class_exists( 'WC_Subscriptions_Core_Plugin' ) && version_compare( WC_subscriptions_Core_Plugin::instance()->get_plugin_version(), '3.1.0', '>=' ) ) { // Load any Subscriptions functionality for v3.1.0 + }