Joel Smit Posted September 9, 2007 Share Posted September 9, 2007 Hi guys, I want to let a (registered) costumer download a file after paying through PayPal. Now PayPal have a system called IPN (Immediate Payment Notification), where your server gets notified whether the transaction was approved or not. Based on that notification I want the server to allow or deny access to the file. Any leads, comments or tips? Thanks, Joel Quote Link to comment https://forums.phpfreaks.com/topic/68580-file-access-based-on-paypal-info-ipn/ Share on other sites More sharing options...
BlueSkyIS Posted September 9, 2007 Share Posted September 9, 2007 Paypal provides example code, or find example code with a google search. The process is too complex to try to post the code here. Quote Link to comment https://forums.phpfreaks.com/topic/68580-file-access-based-on-paypal-info-ipn/#findComment-344742 Share on other sites More sharing options...
Joel Smit Posted September 9, 2007 Author Share Posted September 9, 2007 Thanks, I already have the PayPal code which shows how to get notified of the transactions. My problem is, based on that information from PayPal, how to make the server allow (or deny) access to the file. The actual code won't be necessary, I just need you to tell me if that can be done with PHP. Thanks, Joel Quote Link to comment https://forums.phpfreaks.com/topic/68580-file-access-based-on-paypal-info-ipn/#findComment-344837 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.