vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Paypal Subscription? (https://vborg.vbsupport.ru/showthread.php?t=197679)

dmknights 11-30-2008 03:56 PM

Paypal Subscription?
 
Is it possible to do the following:

I want to setup a monthly paypal subscription that if a member subscribes, after they have paid via paypal, they get moved into a 'Subscription' group & are able to download attachments where as normal registered members cant do this?

To cut a long story short, is there a way that i can have members subscribe via paypal, then they will be promoted after i recieve payment?

Thanks

MrEyes 12-01-2008 11:10 AM

In summary, yes

What you have described is exactly how the default paid subscription system works.

To set one up do the following:
  • Goto "ACP -> Usergroups -> Add New Usergroup" and create a usergroup with the priveledges you want them to have.
  • Goto "ACP -> Paid Subscriptions - Add New Subscription" and create the subscription, in the "Usergroup Options" select the usergroup you added as either the Primary or Additional group (your preference here)

So if a user subscribes to the paid sub you created when Paypal sends the success message back to your site (this is automated) the user will automatically be assigned to the usergroup.

If the user allows the sub to expire they will be removed from that group.

Job done.

dmknights 12-25-2008 11:12 PM

But once ive made the subscription, how do i make it visible to members?

For example how do i add it to the navbar?

Dismounted 12-26-2008 04:48 AM

User CP > Paid Subscriptions

You can add a link on the navbar directly to that page.


All times are GMT. The time now is 07:42 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01602 seconds
  • Memory Usage 1,709KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete