You can make your Custom IPN Listener known to PayPal by specifying the listener’s URL in following two ways:
- Setting Up IPN Notifications on Paypal
- Dynamically Setting the IPN Notification URL via Paypal Button’s HTML Variable
Setting Up IPN Notifications on Paypal
After you log into your Paypal Account, follow these instructions to set up your IPN Listener:
- Click ‘Profile’ on the ‘My Account’ tab
- Click ‘Instant Payment Notification Preferences’ in the Selling Preferences column
- Click ‘Choose IPN Settings’ to specify your listener’s URL and activate the listener.
The following screen appears:
- Specify the URL for your listener in the ‘Notification URL’ field
- Click ‘Receive IPN messages (Enabled)’ to enable your listener
- Click Save
The following screen appears:
Dynamically Setting the IPN Notification URL via Paypal Button’s HTML Variable
In this case, PayPal sends the IPN message to the listener specified in the notification URL for a specific button or API operation instead of the listener specified in your Profile.
To specify a notification URL for a Paypal Button, specify your IPN Listener’s URL in the ‘notify_url’ HTML form variable of that Paypal Button’s HTML Code.
No comments:
Post a Comment