'Woocommerce Payments New Subscriptions Options
I am fairly new to Woocommerce, but so far it has been a very adaptable plugin for my commerce site. I installed Woocommerce Payments and saw that they now have basic subscription products built in. This is great, since a few of the products I am setting up to sell are monthly re-occurring services.
The problem I am having is trying to see if there is an API endpoint, or a hook I can put in the function.php, that can output what users currently have an "active" subscription under a specific subscription product. I need to output this information to my dataserver, which is separate from the Woocommerce site, as some of the content I provide is auto-generated on purchase. I generally use the python REST API module for other basic products.
I know that Woocommerce Subscriptions has API functionality, but I wanted to see if anyone has found a solution in this case since the subscription function under Woocommerce Payments is quite recent and documentation is scarce.
I came across this possible solution as well, but I haven't tested it out yet:
Get active subscriptions count for a defined product and user in Woocommerce
Any help is appreciated and thank you :)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
