Thread Rating:
  • 19 Vote(s) - 4.11 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MyIPN Paypal Subscriptions v2
By downloading the following attachments you are bound to the following license:

License is attached inside extras folder by using this software you agree to the terms of that license.

Plugin Name: MYIPN Subscriptions v2
Plugin Author: Jesse Labrocca
Plugin Website:
Plugin Version: 2.2
Plugin Mybb Compatibility: 1.4x
Plugin File Edits: None
Plugin File Uploads: 7
Plugin Description: This adds paypal ipn subscription service for your members. They can be placed in a usergroup of your choosing in admincp.


1. Upload the 7 files from the zip

root/admin/modules/user/module_meta.php (This is a core mybb file but 1.4.1 and 1.4.0 has a bug so please replace with my fix. Mybb 1.4.2 should have this fixed as I reported the bug.)

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

3. You will see the new menu item called "MYIPN" inside admincp settings as well as a new menu item under "Users and Groups".

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:
For the notify URL you can enter anything you want (suggest your forum home url). This plugin will add the correct notify-url for orders.

5. Edit the language file to have the extra privileges (subscribe.php page) 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 wherever you want to link to the subscribe page. I recommend header and placing a toplink image.

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: (Actual working version here at Mybb Central)

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. Unfortunately I found one problem. If you refund someone in paypal they don't send you an IPN so if you want to refund a subscription you will have to manually change their group at your mybb admincp. Lastly I have not tested the eot (end of transaction) behavior. Paypal is supposedly sending a subscr_eot notice when a subscription ends. I have in the code automatically place the user into a group of your choosing when the subscription ends (regular usergroup is 2) but's not fully tested. One would have to have a short subscription time and then run a test. I might do that with the sandbox so that full non-beta release I can say it works.

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.

Upgrade from 1.2x to 1.4x Instructions
Please read carefully each procedure before you begin.

A) If you have already upgraded your forums from 1.2x to 1.4x and you had the plugin activated then you only need to upload all files EXCEPT the inc/languages/english/myipn.lang.php.

B) However if you deactived the 1.2x version and then upgrade to 1.4x then you will need to install MyIPN v2 from scratch. Simply follow above installation instructions.

C) If you have not yet upgraded your forums to 1.4x and wish to upgrade this plugin you only need to do the normal upgrade and DO NOT DEACTIVATE MyIPN. After you upgrade your forums follow procedure A of ugrade instructions.

I guess that's it. Enjoy.

Seems paypal made an alteration probably for security. The IPN form url won't work outside USA. That means subscribers not in USA will have a problem. You must alter the ROOT/subscribe.php by changing the form url from to
You can also download 2.1 and then upload ROOT/subscribe.php

I wasn't notified of this change and only the past week have I gotten numerous complaints about this. Today I investigated further and found this problem. This is a new problem and did not exist at the time of the plugin creation.

2.2 Bug Fixes: Feb 1, 2009
I have fixed the admincp permissions error message in 2.2. To upgrade just upload the inc/plugins/myipn.php and the languages files.

Thank you.

Paypal Approved Countries

Attached Files Thumbnail(s)

.zip (Size: 57.32 KB / Downloads: 1,985)
Sweet! THANKS A BUNCH! Been waiting for this for a LOOOONG TIME! AGAIN THANKS!
looks good thanks!!
Oh, but the usergroup part of the Admin CP has problems now...
Thanks, looks like you worked a long time on it. Seems to work great.
Unfortunately I did work on it a long time. Most of that time was spent just figuring out how to utilize the new admincp. Also I wasted about 2-3 hours on something that turned out to be a mybb bug. But now it's done and I have my hands dirty a bit with 1.4x. It's time to move forward. Each plugin becomes easier to do as I grow more familiar with the new functions and classes.

Hope you enjoy the plugin Gabe. It's been a real earner for me at places like (over 50 paid subscribers). Subscriptions are one of the best methods of monetizing a large community with a strong fan base. Many will use it to simply help support your site.
Haha, well, if you don't mind, can you tell me why I have a problem with my Usergroup part of my Admin CP..?
Oh, and I'd like to change the picture up top...
<input type="hidden" name="image_url" value="'.$theme['logo'].'" />
And change the picture to
[Image: dagm.png]
Can you tell me the code to insert instead?
Edit subscribe.php

Change that line to this:

<input type="hidden" name="image_url" value="" />

That should do it.

Quote:Haha, well, if you don't mind, can you tell me why I have a problem with my Usergroup part of my Admin CP..?

What's the problem? Also have you uploaded the new module_meta.php?

Quote:root/admin/modules/user/module_meta.php (This is a core mybb file but 1.4.1 and 1.4.0 has a bug so please replace with my fix. Mybb 1.4.2 should have this fixed as I reported the bug.)

Make sure that files overwrites the old one. It's most likely the problem. Took me forever to find out why my admincp user section kept messing up.
I'm modding myps so that users in a certain group get 1.5 more points earned in myps.
Maybe this would be a good feature for it in the future?
K, thanks!

Possibly Related Threads...
Thread Author Replies Views Last Post
Exclamation MyIPN - Members not being upgraded Nitrus 1 5,182 Nov 24, 2009, 01:04 PM
Last Post: MattR
  PayPal Subscription Plugin not working trilobyte- 6 8,285 Nov 18, 2009, 09:38 AM
Last Post: trilobyte-
  MYIPN Subscriptions v2 dtss 17 19,965 Aug 17, 2009, 02:39 PM
Last Post: labrocca
  PayPal IPN Question theone759 3 5,785 Dec 03, 2008, 07:52 PM
Last Post: theone759

Forum Jump:

Users browsing this thread: 1 Guest(s)