Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Donations / Paypal IPN Integration Details »»
Donations / Paypal IPN Integration
Version: , by Cloudrunner Cloudrunner is offline
Developer Last Online: Feb 2022 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 06-02-2003 Last Update: Never Installs: 0
 
No support by the author.

Well, after searching and searching for a donation system that works, I've come to the realization that although there are a few good contribution / donation hacks out there, none of them are compatible with Paypal's IPN feature. That being the case I went experimenting, and got the IPN to work properly with VB.

So now I'm dealing with options and features that you all want to see in this type of hack. I am willing to put forth the effort to get this hack to be the best one there is on the market for this. After I get all the coding and stuff done with paypal and the "look & feel" of the hack for the rest of your VB site, I'll work on integrating it with Authorize.net as well. But for now, since the IPN is working, I need your input on what you would like to see included with this hack.

So far, I'm looking at a notification on the memberlist, one in the postbit for members of the top ten donators club, possible rewards for certain levels of donations, the option to show total amount collected, and exactly where the $$$ is going to (this is needed for me personally since my site is not-for-profit, so may be helpful to you as well), with the main donations page showing all the above with an information page for explanations of where the $$$ goes, etc.

The IPN backend is running via Paypal's recommended procedures and should any suspicious activities be seen by either the script or Paypal's server, the script will not add the information into the main database, but into a separate table for further investigation by the admin.

One thing that I am missing that I need help on is verifying Paypal's Verisign Digital Signature, When it comes to that, I'm dumber than Jim Carrey on LSD. If I could get help on that one, we will all be appreciative as this will increase the security of the system.

Please, let me know your ideas for this hack, and I will get them on my "ToDo" list. Please be understanding and patient though, as I am about to have a second child born into the world within the next few weeks, so may drop off working on this one for abit, but I will continue to code for it during my free time.

Until then, Enjoy!

)O( Cloudrunner )O(

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 06-03-2003, 03:24 AM
Cloudrunner's Avatar
Cloudrunner Cloudrunner is offline
 
Join Date: May 2003
Location: Butte, MT
Posts: 635
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update:

Okay, working on the main page for this little integration a bit at a time.

I've attached a small initial screen for the page to give a basic idea of where I'm going with this.

Today I finished the dynamic donation buttons, so you can make an unlimited number of different donation level buttons. Later I'll be adding "prizes" per donation level button chosen. There is also a button there to allow your users to choose the amount they wish to contribute to you.

I'll start working on the member's integration portion of this over the next week or so (provided that my wife does not give birth during this time, if that occurs, of course, then it'll be abit longer).

I'm still looking for assistance in the verisign digital check portion of this whole thing. If you have the time and know how this would work, please contact me.

Enjoy!

)O( Cloudrunner )O(
Attached Files
File Type: (21.4 KB, 161 views)
Reply With Quote
  #3  
Old 06-03-2003, 03:27 AM
Cloudrunner's Avatar
Cloudrunner Cloudrunner is offline
 
Join Date: May 2003
Location: Butte, MT
Posts: 635
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Button Clicked with a set amount:
Attached Files
File Type: (21.4 KB, 97 views)
Reply With Quote
  #4  
Old 06-03-2003, 03:28 AM
Cloudrunner's Avatar
Cloudrunner Cloudrunner is offline
 
Join Date: May 2003
Location: Butte, MT
Posts: 635
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Button clicked without a set amount:
Attached Files
File Type: (21.4 KB, 79 views)
Reply With Quote
  #5  
Old 06-03-2003, 05:16 AM
kaotic's Avatar
kaotic kaotic is offline
 
Join Date: Mar 2003
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I might just start drooling over my keyboard if I don't install this soon! Lookin' good!
Reply With Quote
  #6  
Old 06-03-2003, 04:32 PM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe this can help...
http://www.perl-studio.com/php/paypal/
Reply With Quote
  #7  
Old 06-03-2003, 04:38 PM
kaotic's Avatar
kaotic kaotic is offline
 
Join Date: Mar 2003
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That one looks a bit more complicated than what I would've hoped for. I'll wait for Cloudrunner's version before I try that one.
Reply With Quote
  #8  
Old 06-03-2003, 04:55 PM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That was a suggestion for him to see example code on the digital signature, not a suggestion for an alternative.
Reply With Quote
  #9  
Old 06-03-2003, 04:56 PM
Cloudrunner's Avatar
Cloudrunner Cloudrunner is offline
 
Join Date: May 2003
Location: Butte, MT
Posts: 635
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not only that, but the information there is misleading, as one doesn't really need to use an ssl socket to connect to paypal, as there is no financial information (i.e. credit cards, bank accounts, etc) being passed during the IPN exchange. Therefore, since vBulletin uses PHP, using a perl script to integrate would be alot more code involved to get perl to talk to the vb php backend properly.

That, and that script doesn't help me in the versign signature authentication, and that's the #1 thing I'm worried about right now, because I can "spoof" the script with a proxied form using the right variables (i.e. it will accept the variables and such, but when talking to paypal for verification of the data, paypal will always send an INVALID string since it did not initiate the call.) With the verification of paypal's verisign sig, I wouldn't be able to do that.

Thanks for the help though

)O( Cloudrunner )O(
Reply With Quote
  #10  
Old 06-03-2003, 05:16 PM
Cloudrunner's Avatar
Cloudrunner Cloudrunner is offline
 
Join Date: May 2003
Location: Butte, MT
Posts: 635
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ah crap!

I just realized that to verify paypal's digital server ID, one MUST be using SSL transport. CRAP!

PHP will not transport via SSL, well let's find another way to verify proper server access....is there a better way than using $_SERVER['HTTP_REFERER']?
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 10:48 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04213 seconds
  • Memory Usage 2,316KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (3)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete