Unpublish posts for the author when the subscription expires
The PayPal Add-On can do this, however not for all posts by an author. If you use the PayPal Add-On to sell post creation you can set it so that if the subscription is canceled or expires that the Post that is created has it's post status changed OR you can choose to delete the post.
It doesn't automatically apply this to all posts by that same author. Only the posts created on a form that is also integrated with a PayPal payment.
Publish posts from the author when subscription is active
Again, it's not going to mass do this to all posts for an author.
The way the PayPal Add-On works is it only applies to the form that the PayPal Add-On is integrated with. It doesn't apply to anything else.
So if that form creates a Post then you can charge for that post, or setup a subscription for keeping that post. So if you use it for a directory listing and you charge $10 a month for a listing in the direct, then this would be an example of using a PayPal subscription with post creation.
The PayPal Add-On also works with the user registration add-on for user creation. If the subscription is canceled or expires then you can choose to change the users role or delete the user. Just like with post creation.
What you are describing with unpublishing all posts by an author when their subscription is canceled, and publishing all posts by an author when their subscription is active isn't something this plugin does out of the box. It handles initial charging for initial post creation and initial user creation at the time each of them are created.
However, there are hooks. So you could certainly use the hooks to unpublish all posts by a user if their subscription is canceled.
The publishing all posts by an author when their subscription is active would be more problematic. The User Registration Add-On with the PayPal Add-On only creates the users and can setup a subscription at that time. It doesn't setup a subscription for an existing user.
The User Registration Add-On and the PayPal Add-On can be used to create a REALLY SIMPLE membership system when paired with the Members plugin. But it is not a full blown membership management plugin solution by any means. It's only for simple use cases.
I went ahead and changed the user access for the add-on documentation so that all customers can at least view the documentation. So you can view the PayPal and User Registration documentation.
Posted 14 years ago on Friday December 17, 2010 |
Permalink