Documents
-
Subscription Function & Property Reference
This Subscription Function & Property Reference guide introduces some of the functions available for working with subscription data. It is not intended to provide tutorials on how to achieve certain tasks with a subscription, or as a comprehensive reference of all the subscription methods. If you have yet, you should read the Subscription Developer Overview […]
-
Subscriptions PayPal IPN Issues
WooCommerce Subscriptions uses PayPal’s IPN (Instant Payment Notification) system to keep data in sync with PayPal. When PayPal processes a payment or other subscription event, like a cancellation, it sends an IPN to the site. Subscriptions processes this IPN and performs the appropriate actions concerning the related orders and subscriptions. For example, when a recurring […]
-
Subscriptions 2.0 Deprecated Hooks & Query Monitor Warning
Subscriptions 2.0 changed the way data was stored and instantiated. Because of this, it needed to deprecate a large number of existing hooks. Some of these hooks had dynamic names, i.e. actions/filters where we don’t know what the hook actually is at run-time because it includes a payment gateway ID or another piece of dynamic data we […]
-
Subscriptions v2.0: Database Upgrade Process for v1.5 to v2.0
To migrate stores using Subscriptions v1.5 to the new architecture of v2.0, Subscriptions uses a database upgrade script. This script will create a new ‘shop_subscription’ post for each subscription on the site and then migrate all meta data relating to a subscription from the original order used to purchase the subscription to the new ‘shop_subscription’ […]