Link to home
Start Free TrialLog in
Avatar of bmanmike39
bmanmike39

asked on

ASP.Net and PayPal Custom Var. How do i retrieve the custom variable from my lpn listener page

How do i retrieve the Custom values that are sent from  Pay Pal to my ipn listener page?  All of my could is ASP.NET in C#

Thanks.
Avatar of Andrew Angell
Andrew Angell
Flag of United States of America image

All of the parameters that are sent to your IPN script are sent as POST data just like a form POST.  

The only custom value(s) you can send to PayPal in payment requests are within the CUSTOM parameter.  Just want to make sure you understand you can't just create your own custom parameters.  There's only 1, and it's literally called CUSTOM.  It can hold up to 256 characters of text.  

You can pass whatever value you want in the CUSTOM parameter within payment buttons, API requests, etc.  Then that same value will come back in the IPN data as POST field with the same name:  CUSTOM.  

I'm not familiar with C#, but again, you would handle it just like any other basic form processing you might do.
Avatar of bmanmike39
bmanmike39

ASKER

Thanks, but that's what I'm saying, how do you receive the posted back info.  and put it in a variable?
ASKER CERTIFIED SOLUTION
Avatar of Andrew Angell
Andrew Angell
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial