...

View Full Version : find out if PayPal payment went through ok or not so can store 'paid' in mysql.



jasonpc1
12-13-2010, 01:35 AM
I have a payment button for PayPal which securely stores the amount, but when the payment is made how do i know if it was paid or not so i can get the page to store this in the mysql database?

mlseim
12-13-2010, 01:41 AM
You utilize the PHP / PayPal IPN feature.

This is a bit different than using a PayPal button that you created with PayPal.

There is a free paypal testing site you MUST use to not only learn how to use IPN,
but to test it out. Probably the most valuable paypal feature/service they offer:
https://www.x.com/index.jspa

You sign up for free. Lots of PHP script examples. You use it to test your site.
When everything is working good, you switch your site over to your REAL PayPal account.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum