Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Paypal Donations (With Instant Payment Notification) -- RC1 (Public Testing) Details »
Paypal Donations (With Instant Payment Notification) -- RC1 (Public Testing)
Mod Version: 1.00, by Cloudrunner (Member) Cloudrunner is offline
Developer Last Online: Oct 2018 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.3.x Rating: (0 vote - 0 average) Installs: 51
Released: 17 Jun 2003 Last Update: 28 Jun 2003 Downloads: 24
Not Supported Is in Beta Stage  

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:
  • You as the admin have the ability to show as little or as much as you want about what happens with your donations.
  • Your users will only see what you want them to see.
  • Can block other admins from seeing the actual payment information (you have to explicitly allow them access to that).
  • Your members who have donated are recognized for doing so in the memberlist and their postbit.
  • You can show your donation goals to the public and on your forumhome.
  • Automatic updates EVERY time a user donates or retracts a donation.
  • Postbit Awards for certain levels of donations that you decide on
  • User has the ability to choose whether they receive the awards recognition
  • Admin can customize the PM sent to donators thanking them for donating.
  • Guest donations are now listed individually, sorted by IP(not displayed) on the Top Ten list, and within the database
**Coming Soon**
  • Add a time-limited feature for the donation buttons
  • Fix guest donations to show each indiviual guest's donations sorted uniquely
  • Integration with Lesane's Store Hack
  • The ability to verify Paypal's Secure Server ID and transfer the payment information via SSL if you have that enabled
Stuff you have to do:
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.)

Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Recurring Payment Hack for Paypal Donations for vBulletin 3.0.7 d0dger vBulletin 3.0 Beta Releases 1 17 Sep 2005 00:03

  #16  
Old 18 Jun 2003, 14:39
Cloudrunner's Avatar
Cloudrunner Cloudrunner is offline
 
Join Date: May 2003
Real name: Bubba
I can see what I can come up with, shouldn't be too hard

Mist, can you PM me with more details on that so we don't bog the thread down? Thanks.

I'll get right on the auto PM, prolly be added before I go to bed tonight.
__________________
"An It Harm None, Do As Ye Will..."
---The Wiccan Rede
Words to live by...
Reply With Quote
  #17  
Old 18 Jun 2003, 16:25
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Real name: Dean Clatworthy
Come in the IRC chat sometime. I'm in their most of the time now that i have finished my exams .

We'll talk in private there ?

- miSt
__________________
Dean Clatworthy - Web Developer/Designer
Reply With Quote
  #18  
Old 18 Jun 2003, 19:42
Crazy Pete Crazy Pete is offline
 
Join Date: Nov 2002
Will this work with non-forum members as well? For example if someone were to donate that wasn't a member of the forums, what would be processed then?
__________________
Webmaster/Technical Consultant for...
http://www.expectedmiracles.com/foru.../signatur.jpeg

My DVD Collection - Currently: 222
Reply With Quote
  #19  
Old 18 Jun 2003, 20:13
Cloudrunner's Avatar
Cloudrunner Cloudrunner is offline
 
Join Date: May 2003
Real name: Bubba
Absolutely! Even guests can donate, I've not made that a feature to turn off guest donations yet in the adminCP. But yes, guest users can donate, and it will be processed, it just won't show up on the memberlist or postbits.
__________________
"An It Harm None, Do As Ye Will..."
---The Wiccan Rede
Words to live by...
Reply With Quote
  #20  
Old 18 Jun 2003, 20:19
Crazy Pete Crazy Pete is offline
 
Join Date: Nov 2002
Ah ok, great. It will still show up in the "Contributors" list though, correct? That's excellent, I can replace my current (static) donations page with this much better one. Thanks very much for writing this!
__________________
Webmaster/Technical Consultant for...
http://www.expectedmiracles.com/foru.../signatur.jpeg

My DVD Collection - Currently: 222
Reply With Quote
  #21  
Old 18 Jun 2003, 21:38
Cloudrunner's Avatar
Cloudrunner Cloudrunner is offline
 
Join Date: May 2003
Real name: Bubba
no problem, I'm still trying to figure out the best way to sort the guest contributors uniquely. I'll probably have that figured out by the end of the week and I'll do another update. More than likely I'll be sorting them by IP address. But for now, it just updates the guest donations (1 guest for them all). I'll have this fixed soon though.
__________________
"An It Harm None, Do As Ye Will..."
---The Wiccan Rede
Words to live by...
Reply With Quote
  #22  
Old 19 Jun 2003, 06:55
Cloudrunner's Avatar
Cloudrunner Cloudrunner is offline
 
Join Date: May 2003
Real name: Bubba
ADDED FEATURES:

PM automatically sent to registered users after donation has been accepted and verified by the script. This feature is customizable within the AdminCP. Thank you mist for this suggestion. This portion of the hack is using a modified version of Sparkz's Pm on registration hack

Changed the database and some code to allow guest donators to be listed individually within the database and the Top Ten Listing.Thank you Crazy Pete for this suggestion

To update, simply upload all files again, overwriting the old ones, and run the provided installer, upgrading in sequence from your version of the hack.

The new version is in the first post.

Enjoy!

)O( Cloudrunner )O(
__________________
"An It Harm None, Do As Ye Will..."
---The Wiccan Rede
Words to live by...

Last edited by Cloudrunner; 19 Jun 2003 at 07:21.
Reply With Quote
  #23  
Old 20 Jun 2003, 21:36
Crazy Pete Crazy Pete is offline
 
Join Date: Nov 2002
Hey that rocks Cloudrunner, there aren't any file changes from 0.9.2 to 0.9.3? (According to the upgrade script there aren't.) Sweet! Thanks for using one of my suggestions, too. I feel the love.
__________________
Webmaster/Technical Consultant for...
http://www.expectedmiracles.com/foru.../signatur.jpeg

My DVD Collection - Currently: 222
Reply With Quote
  #24  
Old 20 Jun 2003, 21:57
Cloudrunner's Avatar
Cloudrunner Cloudrunner is offline
 
Join Date: May 2003
Real name: Bubba
Well, the files have been recoded that are included with the archive (which is why I always have you reupload at upgrade, but as far as file edits, on resident VB files, there are none this time round

Ps. You gonna install or what? :lick:
__________________
"An It Harm None, Do As Ye Will..."
---The Wiccan Rede
Words to live by...

Last edited by Cloudrunner; 20 Jun 2003 at 23:12.
Reply With Quote
  #25  
Old 21 Jun 2003, 00:10
Crazy Pete Crazy Pete is offline
 
Join Date: Nov 2002
Today at 04:57 PM Cloudrunner said this in Post #24
Ps. You gonna install or what? :lick:
Ahh whoops, forgot to hit that button.
__________________
Webmaster/Technical Consultant for...
http://www.expectedmiracles.com/foru.../signatur.jpeg

My DVD Collection - Currently: 222
Reply With Quote
  #26  
Old 21 Jun 2003, 00:27
Cloudrunner's Avatar
Cloudrunner Cloudrunner is offline
 
Join Date: May 2003
Real name: Bubba
LOL

fair nuff, just don't wantcha to miss an update if you've truly installed it.
__________________
"An It Harm None, Do As Ye Will..."
---The Wiccan Rede
Words to live by...
Reply With Quote
  #27  
Old 21 Jun 2003, 10:13
Cloudrunner's Avatar
Cloudrunner Cloudrunner is offline
 
Join Date: May 2003
Real name: Bubba
06-18-03 at 08:25 AM Mist said this in Post #17
Come in the IRC chat sometime. I'm in their most of the time now that i have finished my exams .

We'll talk in private there ?

- miSt
Well seeing as I'm never around when you are my friend, let's just go into details here...

What exactly are you looking for in a time-delimited donation?
__________________
"An It Harm None, Do As Ye Will..."
---The Wiccan Rede
Words to live by...
Reply With Quote
  #28  
Old 21 Jun 2003, 15:08
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Real name: Dean Clatworthy
I.e. you have a row on the add a donation type page where it has an input where you enter some numerical data. And next to it is a dropdown with day(s), week(s), month(s), year(s)..

Just so that the donations last that amount of time and then they automatically expire and the features people make themselves and limit to donators are then revoked...

- miSt
__________________
Dean Clatworthy - Web Developer/Designer
Reply With Quote
  #29  
Old 21 Jun 2003, 15:31
Cloudrunner's Avatar
Cloudrunner Cloudrunner is offline
 
Join Date: May 2003
Real name: Bubba
Today at 07:08 AM Mist said this in Post #28
...so that the donations last that amount of time...
I understand the other stuff, but with this, you are meaning that the buttons only display for x number of days, weeks, whatever?
__________________
"An It Harm None, Do As Ye Will..."
---The Wiccan Rede
Words to live by...
Reply With Quote
  #30  
Old 21 Jun 2003, 16:37
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Real name: Dean Clatworthy
No the user is only classed as a donator for this period of time.... I.e. all their privilges go

- miSt
__________________
Dean Clatworthy - Web Developer/Designer
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 22:57.

Layout Options | Width: Wide Color: