Whats the best way to do this?

This is a discussion on "Whats the best way to do this?" within the PHP Forum section. This forum, and the thread "Whats the best way to do this? are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > PHP Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jun 17th, 2007, 09:54
New Member
Join Date: Jun 2007
Location: coventry
Age: 27
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Whats the best way to do this?

Hi all,

I posted this in the wrong place, and was advised to stick it up here, so here i go...

I want to add a donation page to my site, but it needs to show the average donation of all donations. I just can't figure out a good way of doing it. I would like to use paypal, but I don't think it would be possable to link a script to what people are paying via paypal. Any Ideas?

Cheers,

GC
Reply With Quote

  #2 (permalink)  
Old Jun 17th, 2007, 16:58
Junior Member
Join Date: Jun 2007
Location: Los Angeles
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Whats the best way to do this?

You would use a server-side scripting language such as PHP and store every donation in a database (MySQL) so you would know the totals/averages. Fairly easy to do if you know PHP?

RalphF
GoldRushWebHosting.com

Last edited by karinne; Jun 22nd, 2007 at 12:11. Reason: No advertising please! Read the sig rules!
Reply With Quote
  #3 (permalink)  
Old Jun 17th, 2007, 18:25
New Member
Join Date: Jun 2007
Location: coventry
Age: 27
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Whats the best way to do this?

is there any way of automatically capturing he values as people make donations though?
Reply With Quote
  #4 (permalink)  
Old Jun 17th, 2007, 18:46
Junior Member
Join Date: Jun 2007
Location: Los Angeles
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Whats the best way to do this?

I've done my share of PayPal interface programming (in PHP) and while I don't recall specifically if it will do what you are asking, I do know PP has a lot of online help docs explaining how their system works (for the developer). Try looking thru those docs and see what you can find.

They may even have a developers forum now so you could post there too.

Otherwise, you'll have to end up with a programming solution, but it's not a complex task and even if you have to hire it out, it shouldn't cost that much.

RalphF
GoldRushWebHosting.com

Last edited by karinne; Jun 22nd, 2007 at 12:11. Reason: No advertising please! Read the sig rules!
Reply With Quote
  #5 (permalink)  
Old Jun 17th, 2007, 20:54
masonbarge's Avatar
Highly Reputable Member
Join Date: Jan 2006
Location: Atlanta GA
Posts: 631
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Whats the best way to do this?

I've never done anything like this, so caveat libror . . .

My thought would be to have a regular form text input for the donation amount. Handle it on a page that has "method of payment" choices that link to https sites, and put a query at the top of the page that sends the amount (and possibly other info) to a database.

This would give you an unofficial shadow database, but the average should be pretty close, even given the occasional mistake.

It would be nice if you could manage to put the amount through to PayPal or whatever, but I don't know how to do it.
Reply With Quote
Reply

Tags
donation

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Whats in a name? jhappeal Webforumz Cafe 15 Nov 6th, 2007 19:56
Hi All Whats Up DarkwizarD Introduce Yourself 6 Jun 27th, 2007 07:15
Whats the best way to do this? GCpd Website Planning 4 Jun 17th, 2007 09:53
Whats up jjgamepro17 Introduce Yourself 6 Nov 8th, 2006 14:48
Whats a CGI-Bin? NewDesigner Web Page Design 6 Sep 3rd, 2006 03:33


All times are GMT. The time now is 07:25.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43