public ActionResult IPN()
        {
            byte[] bytes = Request.BinaryRead(Request.ContentLength);

            PayPal.IPNMessage message = new PayPal.IPNMessage(bytes);
            if (message.Validate())
            {
                // message returned VERIFIED
                return View(new { map = message.IpnMap.ToString(), type = message.TransactionType.ToString() });
            }
            else
            {
                //message.IpnMap.ToString();
                //message.TransactionType.ToString();
                return View(new { map = message.IpnMap.ToString(), type = message.TransactionType.ToString() });
                // There was a problem
            }

            return null;
        }
        public ActionResult IPN()
        {
            byte[] bytes = Request.BinaryRead(Request.ContentLength);

            PayPal.IPNMessage message = new PayPal.IPNMessage(bytes);
            if (message.Validate())
            {
                // message returned VERIFIED
                return(View(new { map = message.IpnMap.ToString(), type = message.TransactionType.ToString() }));
            }
            else
            {
                //message.IpnMap.ToString();
                //message.TransactionType.ToString();
                return(View(new { map = message.IpnMap.ToString(), type = message.TransactionType.ToString() }));
                // There was a problem
            }

            return(null);
        }