michelve / software-license-manager

🔐Wordpress Software License Management. Supports WooCommerce, and WP eStore.
https://epikly.com
GNU General Public License v3.0
77 stars 29 forks source link

Integrate with WooCommerce Subscriptions #10

Closed paulmiller3000 closed 4 years ago

paulmiller3000 commented 4 years ago

Does SLM integrate with WooCommerce Subscriptions? It doesn't appear to, but I thought I'd ask. We're using it to charge customers annually for their plugins.

If not, we'll take it on and potentially submit a pull request as well. Here's our thinking:

  1. Add a new Product Data option to WooCommerce called "Licensed Simple Subscription."
  2. Should include all of the fields from the WooCommerce Simple Subscription type but should also trigger the licensing functions from the SLM License Product type
  3. Every time a subscription is automatically renewed, it should also extend the license by the appropriate amount. For example, if a subscription charges every year, then the license expiration date should move forward by one year at the same time.

Thanks!

michelve commented 4 years ago

Hello @paulmiller3000

I had this on my backlog a while ago, i just have not have the time lately, but if this is something you want to take on you are more than welcome i will also allow your pull request as well, as this is a great feature to have. Thanks.

paulmiller3000 commented 4 years ago

Hello @paulmiller3000

I had this on my backlog a while ago, i just have not have the time lately, but if this is something you want to take on you are more than welcome i will also allow your pull request as well, as this is a great feature to have. Thanks.

Awesome; I'll try to get to this in the next week or two. Thanks!

paulmiller3000 commented 4 years ago

@michelve So sorry we did not get to this; got slammed with a project that took quite a bit longer than expected!

trescatorce commented 4 years ago

What a pity this change did not come to fruition! It would be wonderful to see it implemented in the future. Unfortunately I do not have the basic knowledge to undertake this task I love this plug-in, did I say that already?