Jump to content

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/192265-paypal-ipn/
Share on other sites

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.

Link to comment
https://forums.phpfreaks.com/topic/192265-paypal-ipn/#findComment-1013195
Share on other sites

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.

Link to comment
https://forums.phpfreaks.com/topic/192265-paypal-ipn/#findComment-1013273
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.