1
I’m doing the integration of Pagseguro in an ASP.NET environment, and everything was going well until I got to the Pagseguro notifications part. As you can see in the image below, I have set the following parameters for redirect and for notifications:
The parameters involving the redirect worked correctly, with the transaction code being sent correctly and the buyer being redirected to my page. However, when modifying the transaction status and the notification is sent to the configured address, nothing happens, with the method even being called. When I check the Log, the following message appears:
To receive the notifications, I tried using the methods as displayed in the following images:
However, none of them worked, with the Sandbox even calling the same.
The documentation related to receiving notification is on this link: https://dev.pagseguro.uol.com.br/documentacao/pagamento-online/notificacoes/api-de-notificacoes#notificacoes-de-transacoes
Would anyone know the solution or could tell me where I’m going wrong?
Thanks in advance.
What happens is that the pagseguro cannot access the address localhost:50711, you will have to use some client like Postman to simulate the POST request of the pagseguro.
– Pablo Tondolo de Vargas
You tested by Chrome?
– Randrade
@Pablotondolodevargas You are correct. Thanks for the help!
– João Pedro