in my website, usually I use a specific IPN handler (which is stored in the preferences of my PayPal profile) in order to process transactions.
Currently, I’m developing a new feature and I would like to handle the transactions related to this feature through a different IPN handler.
Is it sufficient to add to the post request a variable called notify_url? Or should I do something else?
Thanks
Yes. The IPN handler specified from within your account can be programmatically overridden. The implementation depends on what platform you are using.
Dynamically Setting the Notification URL :
Using a Website Payments Standard button
Modify the
notify_urlHTML form variableUsing an NVP API operation
Set the
NOTIFYURLfield of the DoDirectPayment, DoExpressCheckoutPayment, or DoReferenceTransaction requestUsing an SOAP API operation
Set the
NotifyURLfield of the DoDirectPayment, DoExpressCheckoutPayment, or DoReferenceTransaction requestUsing the Adaptive Payments API operation
Set the
ipnNotificationUrlfield of the Pay or Preapproval request