The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Paid Subscription Cancellation Question
Hi,
I have a paid recurring subscription on my forum. When a user pays they are moved into a "Paid Subscriber" usergroup. If they cancel their recurring subscription via PayPal, I would like to be able to move them back on Subscription expiration date to "Registered User" usergroup. Does anyone have ideas how I can do this? I don't want to move them back when the IPN comes in from PayPal when they cancel their subscription but rather on the date their existing subscription runs out. Thank you, vb_mp |
#2
|
||||
|
||||
I'm not sure I understand.... this happens automatically by the scheduled task 'subscriptions.'
./includes/cron/subscriptions.php , run once a day, by default check that file, you'll see what it does |
#3
|
|||
|
|||
Hm, it does contain the delete_user_subscription method call which in turn rearranges the usergroups.
Code:
while ($subscriber = $vbulletin->db->fetch_array($subscribers)) { $subobj->delete_user_subscription($subscription['subscriptionid'], $subscriber['userid'], -1, true); } |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|