The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Paypal Donations (With Instant Payment Notification) -- RC1 (Public Testing) Details »» | |||||||||||||||||||||||||||
Paypal Donations (With Instant Payment Notification) -- RC1 (Public Testing)
Developer Last Online: Feb 2022
This hack is obsolete, and is currently being ported to 3.0.7, and will be ported to 3.5 when it is allowed.
Thank you for your understanding.[b] Version 0.9.5 is a major fix to a bug that was found by shortywz. Please download the new archive and overwrite your old files to upgrade to 0.9.5 if you are running 0.9.4, if you are running any version lower than 0.9.4 then after overwriting the old files run the installer Paypal Donations for vBulletin What it does: Quite simply this hack provides you a way to receive donations from your website's users and provide them with the recognition deserving of a donating member of you community. It uses Paypal exclusively for the time being because of Paypal's "Instant Payment Notification" system. For more information on Paypal's IPN, please see the supplied manual for IPN located here in the docs directory. The file name is: "IPN.PDF". The basics are this, your users goto your donations page where you have certain levels of donations available via hyperlinked "buttons". These buttons take your user to paypal's secure payment processing system where they pay you your donation. Once payment has been received, paypal sends your server a notification containing certain information pertaining to that specific transaction. Your server then repeats this information to the verification server (which is hardcoded into the system so that *spoofing* is rendered virtually impossible) which first checks to see if the information was sent by it, then checks the validity of the information. If everything checks out, it then sends your server a response of "VERIFIED". When this hack see that word after running the script it inserts all the information into your database so that you can see what was donated, who donated it, and where. If the server returns a response of "INVALID" then this script drops the information into a separate table so that you can investigate the transaction further to detect fraud attempts. It also does this on any suspicious entries after a few checks. Once payment is verified and information has been inserted into the tables, the system then adds a few toys and items for the user to be recognized as a donating user. What you do with that recognition is up to you. Features:
Files to upload: 9 Files to modify: 7 Templates to modify: 4 Queries to run: (The install script does this for you, uninstallation is also provided as well) Ease of install: Simple, but abit intensive with some file edits Time of install: ~10 minutes ***REMEMBER! Add your email address that Paypal has on file in the ppfunc.php file. This step is not an option, your payments, although they may be valid, will all be considered invalid if you do not do this! Sign up for Paypal's Premiere Account (Business), and setup IPN. Paypal Registration: You will need to register with Paypal for a premiere account if you have not already, if you have, but your account is probably a personal account, you will need to upgrade the account to a premiere account. Assuming that you have a premiere account and have been verified, you then go into your profile at https://www.paypal.com and the select Instant Payment Notification. There will be a checkbox that you must check, and an inputbox where you will need to place your script file. Simply place your entire URL to the paypal.php file there. On most systems it will be either: http://www.yourdomain.com/paypal.php or http://www.yourdomain.com/forum/paypal.php That's all there is to setting up Paypal to work with your site! Install: Upload the following files to your $ROOT/forum directory: paypal.php ppverify.php ppfunc.php Upload the following files to your $ROOT/forum/admin directory: paypal_admin.php paypal_donations_install.php Upload the following files to your $ROOT/forum/images directory: donate.gif donate2.gif donate3.gif donate4.gif Run the provided install file, after installation, DELETE THE FILE! This will usually be: http://www.yourdomain.com/forum/admi...ns_install.php or http://www.yourdomain.com/admin/payp...ns_install.php Upgrading: Upload the following files to your $ROOT/forum directory overwriting the old files: paypal.php ppverify.php ppfunc.php Upload the following files to your $ROOT/forum/admin directory: paypal_admin.php paypal_donations_install.php Upload the following files to your $ROOT/forum/images directory: donate.gif donate2.gif donate3.gif donate4.gif Run the provided install file and follow the upgrade instructions, after upgrading, DELETE THE FILE! This will usually be: http://www.yourdomain.com/forum/admi...ns_install.php or http://www.yourdomain.com/admin/payp...ns_install.php After Install: You will need to add a link somewhere in your navigation system for vBulletin pointing your users to the donations page. ------------------------------------------------------------------------ I sincerely hope that you enjoy this hack. This thread is specifically for the use of bugs reporting and feature suggestions. You are allowed to hack the crap outta this here script for your own personal use, BUT, if you do, I will not be able to provide you with support for the system if the base code has been changed! Also, if we find another hack that interferes with this one, I will do my best to provide a work around for it, but I will not garuantee that to occur! For those of you who have been alpha testing this for me, THANK YOU! To upgrade from Alpha to Beta, you will have to do a complete uninstall (including file modifications) and reinstall. This is due to the extensive redo of code in vb resident pages. I hope you can understand. Thank you! )O( Cloudrunner )O( P.s. --> I you want to be notified whenever I updated the Paypal Donations System, I suggest that you push that little button up top and down below that says install, It's especially useful to you to do so, cus when a New Version comes out, I can simply update and anyone who has it installed will be notified.....Just a suggestion... A special thank goes out to ap0c for keeping me on my toes during Alpha testing...dude can find some bugs, lemme tell ya! And thanks for the suggestions as well bro! I added all of em. Attached is the full release which includes screenshots and the manuals from Paypal for IPN and Donations for those of you who really want to play with the code for reference. Warning, the file is large! If you want a smaller file, then look here. The archive in that post is the smaller of the two at ~30K compared to ~1M. It does NOT contain the manuals OR the screens (as requested by gmarik). Enjoy (with the addition of the manuals and screens, the archive is too big to attach. If you want these, pm me and I'll send it them too you, or simply download the screens archive a few posts down, and then download the manuals from Paypal.) Supporters / CoAuthors Show Your Support
|
Comments |
#42
|
|||
|
|||
Hi I'm getting this error when I try create a new button any idea what could be causing it?
Thaks Rebel Database error in vBulletin Control Panel 2.3.0: Invalid SQL: INSERT INTO paypal_donatebuttons (id, business, item_name, item_number, image_url, no_shipping, return, rm, cancel_return, no_note, cn, cs, custom, invoice, tax, currency_code, amount, submit_button) VALUES (NULL, '', 'Site Donations', '', '', '', 'http://www.mysite.com/forum1/paypal.php?action=success', '1', 'http://www.mysite.com/forum1/paypal.php?action=cancel', '', 'Comments', '1', 'mysite', 'Aus1', 'N/A', 'USD', '$200', 'http://www.mysite.com/donate.gif') mysql error: Unknown column 'item_number' in 'field list' mysql error number: 1054 Date: Sunday 22nd of June 2003 07:34:50 AM Script: http://www.mysite.com/forum1/forum1/...ypal_admin.php Referer: http://www.mysite.com/forum1/admin/p...n=make_button& |
#43
|
||||
|
||||
You haven't installed the queries correctly as the item_number column does not exist ^^
Try - miSt |
#44
|
||||
|
||||
nice update on this Cloudrunner
|
#45
|
||||
|
||||
Actually, the item_number column was removed for the guest posters portion of the hack...unfortunately, this is my fault, I forgot to remove that in the paypal_admin.php.
I will fix it and get the fixed archive up again. bug found mist, okay, I'm not quite understanding again...you want the donation button to be displayed for xxx amount of (days, weeks, months, years, etc). and then upon expiration anyone who donated using that button get their awards and such removed right? What about the topten listing? do we want them removed from there as well? I fix my post upstairs too...sorry, I thought it was funny :P Okay to fix the donate_buttons query before I get the new archive up here: edit: This bug has been fixed and is in the archive for 0.9.5 and later. |
#46
|
||||
|
||||
Found another bug, sorry!
edit: This bug has been fixed and is in the archive for 0.9.5 and later. |
#47
|
|||
|
|||
definatly clicked on install on this one man.. looks GREAT..
question though, i had a friend of mine who wasn't registered on my board post a $1 donation at a test - everything is in the db correctly, however he isn't showing up on the contributor list.. nothing listed on there, not even guest. design or flaw? |
#48
|
||||
|
||||
until the donation is marked as "Complete" from paypal's IPN then nothing will show up on the contributors list. If after the payment_status column shows up as "Complete" for that transaction, the information still does not show on the contributors list then let me know cus then it would be a bug...Thanks
|
#49
|
|||
|
|||
There appears to be a big discrepancy in the code for this when editing/adding buttons now. 0.9.2 worked fine, but it seems to be trying to find several columns which no longer exist...
Database error in vBulletin Control Panel 2.3.0: Invalid SQL: INSERT INTO paypal_donatebuttons (id, business, item_name, image_url, no_shipping, return, rm, cancel_return, no_note, cn, cs, custom, invoice, tax, currency_code, amount, submit_button) VALUES (NULL, 'donations@expectedmiracles.com', 'emdonation', 'http://www.expectedmiracles.com/images/expect.1.jpg', '', 'http://www.expectedmiracles.com/forums/paypal.php?action=success', '1', 'http://www.expectedmiracles.com/forums/paypal.php?action=cancel', '', 'Comments:', '0', '', '', '', '', '', 'http://www.expectedmiracles.com/forums/images/donate.gif') mysql error: Unknown column 'custom' in 'field list' mysql error number: 1054 Date: Monday 23rd of June 2003 10:24:12 PM Script: http://www.expectedmiracles.com/foru...ypal_admin.php Referer: http://www.expectedmiracles.com/foru...make_button&s= -and- Database error in vBulletin Control Panel 2.3.0: Invalid SQL: INSERT INTO paypal_donatebuttons (id, business, item_name, item_number, image_url, no_shipping, return, rm, cancel_return, no_note, cn, cs, custom, invoice, tax, currency_code, amount, submit_button) VALUES (NULL, 'donations@expectedmiracles.com', 'emdonation', '', 'http://www.expectedmiracles.com/images/expect.1.jpg', '', 'http://www.expectedmiracles.com/forums/paypal.php?action=success', '1', 'http://www.expectedmiracles.com/forums/paypal.php?action=cancel', '', 'Comments:', '0', '', '', '', '', '', 'http://www.expectedmiracles.com/forums/images/donate.gif') mysql error: Unknown column 'item_number' in 'field list' mysql error number: 1054 Date: Monday 23rd of June 2003 10:20:54 PM Script: http://www.expectedmiracles.com/foru...ypal_admin.php Referer: http://www.expectedmiracles.com/forums/admin/paypal I got it working but I had to remove those two lines of code from the paypal_admin file. Not sure what happened there or if you were aware of it just yet. |
#50
|
|||
|
|||
It's showing up as completed in the DB.
|
#51
|
||||
|
||||
Crazy Pete--
Both database errors were addressed already https://vborg.vbsupport.ru/showthrea...663#post411663 And a bug found as well after that one was addressed: https://vborg.vbsupport.ru/showthrea...680#post411680 Shorty--Please contact me via on of the IM's listed in my profile. I need to take a look at your setup, I may have missed something, but my end is working fine. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|