Exemplo n.º 1
0
 public void IPNParameter()
 {
     NameValueCollection nvc = HttpUtility.ParseQueryString(ipnMsg);
     IPNMessage ipn = new IPNMessage(nvc);
     string parameter = ipn.IpnValue("fees_payer");
     Assert.AreEqual("EACHRECEIVER", parameter);
 }
Exemplo n.º 2
0
        public void IPNParameter()
        {
            NameValueCollection nvc = HttpUtility.ParseQueryString(ipnMsg);
            IPNMessage          ipn = new IPNMessage(nvc);
            string parameter        = ipn.IpnValue("fees_payer");

            Assert.AreEqual("EACHRECEIVER", parameter);
        }
Exemplo n.º 3
0
        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));
 }