I worked on this for a while and simply could not get Google to admit that I did what they want, so they continue to send me notifications for the same order. Documentation on this subject is available here:
Google Notification Verification Documentation
Here is my code on a page that gets Google distorted:
string serial = Request["serial-number"];
// do my stuff
StringBuilder responseXml = new StringBuilder();
responseXml.Append("<?xml version='1.0' encoding='UTF-8'?>");
responseXml.Append("<notifiation-acknowledgment xmlns=\"http://checkout.google.com/schema/2/\" serial-number=\"");
responseXml.Append(Request["serial-number"]);
responseXml.Append("\" />");
HttpResponse response = HttpContext.Current.Response;
response.StatusCode = 200;
response.ContentType = "text/xml";
response.Write(responseXml.ToString());
source
share