|
MyIPN Paypal Subscriptions v2
|
|
Sep 10, 2008, 03:23 PM
(This post was last modified: Jul 30, 2009 03:48 PM by MattR.)
Post: #1
|
|||
|
|||
|
MyIPN Paypal Subscriptions v2
By downloading the following attachments you are bound to the following license:
http://www.mybbcentral.com/license.php 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: http://www.MybbCentral.com 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. Installation 1. Upload the 7 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/user_myipn.lang.php root/admin/modules/user/myipn.php 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: 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 (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: http://www.mybbcentral.com/subscribe.php (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 again...it'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. EDIT: PAYPAL CHANGE Nov 17th 2008 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 https://www.paypal.com/ to https://www.paypal.com/cgi-bin/webscr 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. Resources: Paypal Approved Countries |
|||
This ad removed for subscribers.
|
Sep 10, 2008, 03:49 PM
Post: #2
|
|||
|
|||
|
RE: MyIPN Paypal Subscriptions v2
Sweet! THANKS A BUNCH! Been waiting for this for a LOOOONG TIME! AGAIN THANKS!
|
|||
|
Sep 10, 2008, 03:54 PM
(This post was last modified: Sep 10, 2008 03:55 PM by Sk8TeR.)
Post: #3
|
|||
|
|||
|
RE: MyIPN Paypal Subscriptions v2
looks good thanks!!
|
|||
|
Sep 10, 2008, 03:58 PM
Post: #4
|
|||
|
|||
|
RE: MyIPN Paypal Subscriptions v2
Oh, but the usergroup part of the Admin CP has problems now...
|
|||
|
Sep 10, 2008, 03:58 PM
(This post was last modified: Sep 10, 2008 04:06 PM by axing.)
Post: #5
|
|||
|
|||
|
RE: MyIPN Paypal Subscriptions v2
Thanks, looks like you worked a long time on it. Seems to work great.
|
|||
|
Sep 10, 2008, 04:06 PM
Post: #6
|
|||
|
|||
|
RE: MyIPN Paypal Subscriptions v2
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 HackForums.net (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. |
|||
This ad removed for subscribers.
|
Sep 10, 2008, 04:17 PM
(This post was last modified: Sep 10, 2008 04:31 PM by Infranight.)
Post: #7
|
|||
|
|||
|
RE: MyIPN Paypal Subscriptions v2
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... Code: <input type="hidden" name="image_url" value="'.$theme['logo'].'" />![]() (http://www.discussadmin.com/dagm.png) Can you tell me the code to insert instead? |
|||
|
Sep 10, 2008, 04:38 PM
(This post was last modified: Sep 10, 2008 04:40 PM by labrocca.)
Post: #8
|
|||
|
|||
|
RE: MyIPN Paypal Subscriptions v2
Edit subscribe.php
Change that line to this: <input type="hidden" name="image_url" value="http://www.discussadmin.com/dagm.png" /> 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. |
|||
|
Sep 10, 2008, 04:45 PM
Post: #9
|
|||
|
|||
|
RE: MyIPN Paypal Subscriptions v2
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? |
|||
|
Sep 10, 2008, 04:55 PM
Post: #10
|
|||
|
|||
|
RE: MyIPN Paypal Subscriptions v2
K, thanks!
|
|||
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads... | |||||
| Thread: | Author | Replies: | Views: | Last Post | |
| MyIPN - Members not being upgraded | Nitrus | 1 | 395 |
Nov 24, 2009 01:04 PM Last Post: MattR |
|
| PayPal Subscription Plugin not working | trilobyte- | 6 | 424 |
Nov 18, 2009 09:38 AM Last Post: trilobyte- |
|
| MYIPN Subscriptions v2 | dtss | 17 | 1,106 |
Aug 17, 2009 02:39 PM Last Post: labrocca |
|
| PayPal IPN Question | theone759 | 3 | 766 |
Dec 03, 2008 07:52 PM Last Post: theone759 |
|

Upgrade
Contact
Testimonials
Invite
Documents
Search
Member List
Tagpad




![[Image: dagm.png]](http://www.discussadmin.com/dagm.png)