Sending Sandbox notifications from PagSeguro to the local address (C # ASP.NET MVC)

0

I'm integrating PagSeguro into an ASP.NET environment, and everything was going well until I got to the part of sending PagSeguro notifications. As you can see in the image below, I have configured the following parameters for redirection and for notifications:

Parametersinvolvingredirectionhaveworkedcorrectly,withthetransactioncodebeingsentcorrectlyandthebuyerbeingredirectedtomypage.However,atthetimeofmodifyingthetransactionstatusandthenotificationissenttotheconfiguredaddress,nothinghappens,withthemethodevenbeingcalled.WhenIchecktheLog,thefollowingmessageappears:

Toreceivethenotifications,Itriedtousethemethodsasshowninthefollowingscreenshots:

However,noneofthemworked,withtheSandboxevencallingthem.

Thedocumentationrelatedtoreceivingnotificationisatthislink: link

Would anyone know the solution or could you point me where I'm wrong?

Thank you in advance.

    
asked by anonymous 05.01.2018 / 19:41

1 answer

0

Hello.

I'm having this issue too to send notifications to my localhost when I click the " Resend notification " button, but I think it's normal for this kind of notification not to work on localhost .

In my case, to send notifications, I'll send them via the " Resend local notification " button.

Run a test and see if you can receive the local notification.

If this message appears:

SeeifintherightcorneroftheURLfieldisthissymbol:

Ifyouare,clickonitandselect" Upload unsafe scripts " and try submitting the local notification again.

    
14.01.2018 / 14:07