IPN Variables
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When I return the request to paypal from the handler I always get invalid. When I check the length of the request it is 21 - which is the length of the
cmd=_notify-validate
So, I am guessing that I am not sending the correct data back to Paypal to be verified, How do you know what the variables are that you are to return? Are they generated by Paypal, or am I supposed to set them in the form that the user submits? There are no syntax errors when it goes to the listener, it just never succeeds. I am using a generic script for C#, and I assumed that the code - was parsing the variables but I guess not - Or there are none to capture.
------------------------------------------
string
strRequest = Encoding.ASCII.GetString(param);
string ipnPost = strRequest;
strRequest +=
"&cmd=_notify-validate";
----------------------------------------------------
StreamWriter
streamOut = newStreamWriter(req.GetRequestStream(),
System.Text.
Encoding.ASCII);
streamOut.Write(strRequest);
streamOut.Close();
StreamReader streamIn = newStreamReader(req.GetResponse().GetResponseStream());
stringstrResponse = streamIn.ReadToEnd();
streamIn.Close();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello DieselDave,
Welcome to the Community .
These all are great questions! There may be some useful information specific to IPN questions in the PayPal Developer Forum. That is where discussions about customized solutions take place, and the people there are in the best position to offer you suggestions. I wish you luck.
Misty
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- PayPal change last week affecting transfer of NOPCart shipping variable and amount in About Business (Archive)
- Can't get Express Checkout to work in About Payments (Archive)
- Issue with pay now buton in About Business (Archive)
- Pay button html variables don't return all collected data any more in About Business (Archive)
- Payment Page Locale setting ignored? in About Business (Archive)