Sir Jos Posted August 9, 2007 Share Posted August 9, 2007 Hi, I'm trying to find the easiest way to test if a PayPal payment has been successful. This is what I had in mind. 1. User clicks on button and goes to paypal 2. User pays and is directed to my "successful url" as per the form. 3. The successful page tests if the user has come from paypal. Maybe through a variable that is sent from paypal (i thought i read somewhere that there were a bunch of variables sent to the successful page) 4. Or even just a check refferer script so that someone cant just go directly to my success page. 5. If the transaction isnt successful they go to the unsuccessful page anyway. The main point is that i dont want someone to go to the success page directly. I have looked at IPN and it confuses me - alot. Any help would be great. Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/64054-good-tutorials-on-paypal-payment-application/ Share on other sites More sharing options...
cmgmyr Posted August 9, 2007 Share Posted August 9, 2007 Check this out and click "Download paypal.php" http://www.belahost.com/pp/ Quote Link to comment https://forums.phpfreaks.com/topic/64054-good-tutorials-on-paypal-payment-application/#findComment-319689 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.