1
I am implementing in the company where I work, the payment with Pagseguro. So far, I can generate a payment request and also receive the transaction code on my page. The problem is getting the notification code via URL, I already set the return URL in the API, but I still don’t get it. Could someone help?
To receive the code via Querystring, use the code below.
Thanks in advance.
protected void Page_Load(object sender, EventArgs e)
{
string notificationCode = string.Empty;
string notificationType = string.Empty;
//Pega dados vindos do post
notificationCode = Request.Form["notificationCode"];
notificationType = Request.Form["notificationType"];
}