isedeasy Posted February 16, 2010 Share Posted February 16, 2010 I need to pay members of my site via paypal and once the transaction is successful it needs to run a script. Can IPN be used this way? I have used the IPN successfully the other way around but I am struggling to get my head around it now. What's the best way to go about this? Cheers Quote Link to comment https://forums.phpfreaks.com/topic/192265-paypal-ipn/ Share on other sites More sharing options...
zq29 Posted February 16, 2010 Share Posted February 16, 2010 As far as I'm aware, IPN is only used for reporting on payments that you have received - I'm not sure there is even anything in their API offerings that allows you to send money, other than refunds, of course... Quote Link to comment https://forums.phpfreaks.com/topic/192265-paypal-ipn/#findComment-1013187 Share on other sites More sharing options...
isedeasy Posted February 16, 2010 Author Share Posted February 16, 2010 So I guess I will have to create and manually click a separate button in my admin area once I have made the payment Quote Link to comment https://forums.phpfreaks.com/topic/192265-paypal-ipn/#findComment-1013188 Share on other sites More sharing options...
JonnoTheDev Posted February 16, 2010 Share Posted February 16, 2010 As far as I'm aware, IPN is only used for reporting on payments that you have received - I'm not sure there is even anything in their API offerings that allows you to send money, other than refunds, of course.. Not entirely true. IPN (Instant Payment Notification) is used with Paypal Standard Payments. It is used to make an HTTP request to a target once a payment has been made (whether successful or not). This is used lets say if you had an e-commerce store, when a user goes to Paypal to pay for an item a background request is sent to your web server indicating the status of the payment. This allows you to process the order within your own system, i.e. record in the database that a payment has been made, etc. This gets rid of the classic Paypal issue where a user must return to your website to process an order correctly. In terms of making payments to other paypal accounts the IPN is not for this. However Paypal do have the Adaptive Payments API allowing you to make payments to various sources. You may want to check this out https://www.x.com/community/ppx/adaptive_payments Or, you could simply contact your Paypal account manager and ask them. Quote Link to comment https://forums.phpfreaks.com/topic/192265-paypal-ipn/#findComment-1013195 Share on other sites More sharing options...
isedeasy Posted February 16, 2010 Author Share Posted February 16, 2010 Thanks for the link, I will have a good read Quote Link to comment https://forums.phpfreaks.com/topic/192265-paypal-ipn/#findComment-1013265 Share on other sites More sharing options...
JonnoTheDev Posted February 16, 2010 Share Posted February 16, 2010 Yes, you better check that you have the correct type of Paypal account to use this API. There are various API's for different types of users. Quote Link to comment https://forums.phpfreaks.com/topic/192265-paypal-ipn/#findComment-1013268 Share on other sites More sharing options...
zq29 Posted February 16, 2010 Share Posted February 16, 2010 That adaptive payments API is interesting - Is this something new? I have a requirement for payment splitting coming up, so I I'll look further into this an an option. Thanks for the link, too Quote Link to comment https://forums.phpfreaks.com/topic/192265-paypal-ipn/#findComment-1013269 Share on other sites More sharing options...
JonnoTheDev Posted February 16, 2010 Share Posted February 16, 2010 The new style Paypal developer network is quite new so it could well be or as it states they have just opened it up to the community rather than just for bespoke systems like accounting software that needs the functionality to work with Paypal. However, I fuckin hate Paypal. Their documents are tedious, the support for development kits is non-existent and they change stuff without making you aware so your whole system goes tits up. Quote Link to comment https://forums.phpfreaks.com/topic/192265-paypal-ipn/#findComment-1013273 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.