public void IPNParameter() { NameValueCollection nvc = HttpUtility.ParseQueryString(ipnMsg); IPNMessage ipn = new IPNMessage(nvc); string parameter = ipn.IpnValue("fees_payer"); Assert.AreEqual("EACHRECEIVER", parameter); }
public void IPNParameter() { NameValueCollection nvc = HttpUtility.ParseQueryString(ipnMsg); IPNMessage ipn = new IPNMessage(nvc); string parameter = ipn.IpnValue("fees_payer"); Assert.AreEqual("EACHRECEIVER", parameter); }
public void IPNMissingParameter() { NameValueCollection nvc = HttpUtility.ParseQueryString(ipnMsg); IPNMessage ipn = new IPNMessage(nvc); string parameter = ipn.IpnValue("not_found"); Assert.IsTrue(string.IsNullOrEmpty(parameter)); }
public void IPNMissingParameter() { NameValueCollection nvc = HttpUtility.ParseQueryString(ipnMsg); IPNMessage ipn = new IPNMessage(nvc); string parameter = ipn.IpnValue("not_found"); Assert.IsTrue(string.IsNullOrEmpty(parameter)); }