Similar to configuring the PayPal extension for multi-tiered pricing, this tutorial will cover how to configure the extension for multi-unit (time period) pricing. For example, if you offer 1 month for $10, but want to offer discounts for 6 months and 1 year at $55 and $100 respectively.
paypal
Set user expiration to a fixed date
The PayPal Subscription Extension operates by setting a user’s expiration date to today + the subscription period. For example, if the subscription period is 1 year, the expiration date will be one year from now.
But what if you want all users to expire/renew on the same day of the year? Or if you would like to just set a hard date far out in the future? Yes, there is a way you can do such things.
There is an action hook that comes just after the user’s expiration date is automatically set – wpmem_exp_after_set_exp. Using this action, you can create a custom function to change the expiration date that is automatically set by the extension to whatever you want. Here are three simple examples. Continue Reading →
Set user forum access when using bbPress with the PayPal subscription extension
When using WP-Members with bbPress and the WP-Members PayPal subscription extension, there are some additional considerations for your setup to integrate these plugins smoothly and restrict forum access for paid users who have a valid expiration date.
Continue Reading →Configure the PayPal extension for multi-tiered pricing
This post extends on the ideas discussed in the forum thread for the post Configure the PayPal extension for two tiered pricing. That post turned out to be quite popular with the PayPal Extension users, but I found that most people needed more than two tiers of pricing.
In the discussion thread, through the process of several users working with expanding the original concept, I’ve fine-tuned a version of the original filter functions to handle unlimited pricing tiers. Continue Reading →
PayPal Subscription Extension Bulk Extend Users Snippet
This post has been set to “draft” as this feature is now part of the extension and this snippet is no longer needed.
At present, the PayPal Subscription Extension provides for bulk expiring users, but not for bulk application of an expiration extension.
This code snippet will add a bulk extend process to the bottom menu selection. The bulk action dropdown will include “Extend” and there will be a number of periods selection and then a selection for the time period.
If I have opportunity to improve on this process, it may make its way into the PayPal Subscription Extension. For now, in order to make use of this functionality, add the following code snippet to your theme’s functions.php file. Continue Reading →