MyBB Central

Full Version: IPN Paypal Subscriptions
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13
You need to subscribe to download, its just $5 a year
Seriously...?
PyRoManiAcV3 Wrote:Seriously...?

Yes, http://www.mybbcentral.com/subscribe.php

Global Message:
Code:
Support Mybb Central to gain full site access to all our downloads, plugins, and themes.
I'm looking forward to the multiple subscriptions Smile
You need to be a supporting member to get it.

See http://www.mybbcentral.com/subscribe.php
labrocca Wrote:Well this is my next BIG release. It's a Paypal IPN subscription plugin. This will allow for you to have an automatted process for paid subscribers to your forums.

The license is a COMMERCIAL license. You cannot redistribute the plugin. You can read the license in the extras folder and by downloading the plugin you agree to abide by that license.


Plugin Name: MYIPN Subscriptions
Plugin Author: Jesse Labrocca
Plugin Website: http://www.MybbCentral.com
Plugin Version: 1.0a Beta
Plugin Mybb Compatibility: 1.2x
Plugin File Edits: None
Plugin File Uploads: 6
Plugin Description: This adds paypal ipn subscription service for your members. They can be placed in a usergroup of your choosing in admincp.

Installation

1. Upload the 6 files from the zip

root/myipn.php
root/subscribe.php
root/inc/plugins/myipn.php
root/inc/languages/english/myipn.lang.php
root/inc/languages/english/admin/myipn.lang.php
root/admin/myipn.php

2. Login to your admincp and ACTIVATE the plugin (MYIPN) in the plugin manager.

3. You will see the new menu item called "MYBIPN" inside admincp settings.

4. Change the settings to suit your needs. You MUST have a premier or business paypal account for the email. The paypal email must also be the primary email address. Make sure to also set the uid for the PMs. If you have not already done so please setup a special group for your subscribers if you wish them to have special privileges.

You must enable IPN at Paypal as well. You can do so here:
https://www.paypal.com/us/cgi-bin/webscr...ipn-notify
You do not need a notify url. You can leave it blank but you must enable IPN.


5. Edit the language file to have the extra privileges for the subscriber group. It's an obvious edit inside root/inc/languages/english/myipn.lang.php (or the appropriate language if not english)

6. Edit your template whereever you want to link to the subscribe page. I recommend header and placing a toplink image. However as beta it's not provided for you and at this time you must manually add the link. Next version I will do automatic template edit for this.


This has FULL language support. If you wish to use non-english simply copy the mybbipn.lang.php to your language folder and change accordingly. Same goes for the admin section.

DEMO: http://www.mybbcentral.com/subscribe.php

SCREENSHOTS: There are 2 available in the extras folder.

NOTE: Paypal will recharge a member when the subscription service ends automatically unless the subscriber at some point beforehand cancels the subscription. They can do so at Paypal. Paypal offers you no way to do this from IPN. YOU can however manually cancel a members subscription inside the paypal interface. Please make sure your members are aware of this. Possibly add it to your subscribe page. The admincp has an IPN Subscription link now under Users and Groups. These are the log files for all the IPN's sent from Paypal.
MYPS: There is an option in IPN settings to give MYPS for a subscription signup. Set this to 0 if you do not have MYPS installed.

I guess that's it. Enjoy.

CHANGELOG
==========================
Beta 1a May 20, 2008
Added correct error title
Added escape_string for all incoming variables

Beta 1b May 24, 2008
Fixed logic for refunds and eot (tested and works)

Can you make the screenshots available to everyone?
Unfortunately mybb doesn't distinguish permissions from different usergroups. You really don't need the screenshots though because you can see the actual subscribe page here. The admincp screenshot is just logs.
how do download this
Ok got it
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13
Reference URL's