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.
bmanmike39Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Andrew AngellConnect With a Mentor Co-Owner / DeveloperCommented:
I'm not a .NET developer, but a quick Google search seems to reveal the following...

customVar = Request.Form["custom"];

Open in new window

0
 
Andrew AngellCo-Owner / DeveloperCommented:
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.
0
 
bmanmike39Author Commented:
Thanks, but that's what I'm saying, how do you receive the posted back info.  and put it in a variable?
0
All Courses

From novice to tech pro — start learning today.