IPN Easy.NET - Demo Framework
How To Pass Custom Variables Through IPN
There are times when you need to pass custom information from your web site to PayPal and have it come back via to you by IPN. Some examples include:
- User data - perhaps your customers have logon details or other identification data that you need to forward via IPN as part of checkout.
- Use your own UPC - Forward your own UPC code to PayPal. You can pick it up by IPN after checkout.
Custom data can be passed through the PayPal IPN system by using a Custom variable. There are two parts to this:
- Add a Custom Variable to PayPal Button Code - Please see PayPal guide HTML Variables for Website Payments Standard for details.
- Extract and process Custom Variable From IPN - IPN Easy fully supports custom variables and are made available in the Custom property of the TransactionAndNotification class. See the IPN Easy API Documentation for details.