Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

custom field in the IPN of paypal adaptive payment

I have implemented Adaptive Payment in my website. First It was Standard Payment so in that i was passing a custom parameter in the form and i was getting it in IPN. But i am unable to find how to pass this parameter in Adaptive Payment.

Thanks

like image 364
jimy Avatar asked May 17 '11 09:05

jimy


People also ask

How do I fix PayPal Instant Payment Notification IPN?

Step 1: In your PayPal Account, go to my account –> profile – my setting tools – instant payment notifications – update – choose IPN settings. Step 2: Paste the notification URL given and enable the option “* Recive IPN messages”.

How do I change my PayPal IPN?

Click the settings icon at the top of your PayPal account page and then click Account Settings. On the Notifications page, click the Update link for the Instant payment notifications item. Click Choose IPN Settings to specify your listener's URL and activate the listener.

What are PayPal IPN messages?

Instant Payment Notification (IPN) is a message service that automatically notifies merchants of events related to PayPal transactions. Merchants can use it to automate back-office and administrative functions, including automatically fulfilling orders and providing customers with order status.


2 Answers

[Edit]

As per @jackvsworld suggests in PayPal Adaptive use parameter as ipnNotificationUrl.

I did this by passing into GET parameters of notify_url

For e.g. http://www.mywebsite.com/index.php?param_1=value&param_2=value

like image 84
jimy Avatar answered Sep 23 '22 12:09

jimy


I agree with @jimy to use the querystring, but in PayPal Adaptive the parameter is not notify_url.

For PayPal Adaptive use the ipnNotificationUrl field of the Pay or Preapproval request

Source: Identifying Your IPN Listener to PayPal

like image 41
jackvsworld Avatar answered Sep 23 '22 12:09

jackvsworld