Exemplo n.º 1
0
        public ActionResult Premium(string t)
        {
            var xml = PagSeguro.GetXmlTransacao(t);

            if (xml != null)
            {
                Pagamento p = Pagamento.AtualizarPagamento(xml);
                return(View(p));
            }
            else
            {
                return(Redirect("/inicio/buscar/"));
            }
        }
Exemplo n.º 2
0
 public ActionResult Xml(string id)
 {
     return(this.Content(PagSeguro.GetXmlTransacao(id).InnerXml, "text/xml"));
 }