Hi,
I want to add a payment gateway to a site and was looking at using good ole Paypal.
The thing Im not clear on is how do I set it up so that once a successful payment has been made a field in a Mysql database gets updated ?
I mean, can I setup paypal so it passes a variable back which I could look for and then run a bit of code to update the database ?
Thanks,






andy206uk posted this at 10:39 — 8th June 2004.
He has: 1,754 posts
Joined: Jul 2002
Look in their help files regarding the paypal IPN feature. They have a script you can adapt for most scripting languages. (I adapted the PHP script for my site!). More info at the URL below:
http://www.paypal.com/cgi-bin/webscr?cmd=p/xcl/rec/ipn-intro-outside
Andyk
Blog of a Web Designer
Give a man a fish and you feed him for a day. Teach him to use the Net and he won't bother you for weeks.