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();
... View more