[SOLVED] ¿How can i get information in Network Payload using C#?

Issue

I receive information from another page from a payment processor. On the admin panel i can assign the page where it will end its process and redirect there. When i check this final page i use as a response page. I can see all important information when i enter in google chrome devtools –> network –> payload

How can i get this info in codebehind on Page_load

I tried using request.form.allkeys but didnt return anything.

Here is an example of what i see:

enter image description here

Solution

I found what was the error.

If you are using FriendlyUrls on ASP.NET the url you set on your payment processor must not have the ".aspx" extension for the page where is it supposed to receive the info.

After i made the correction i could see the parameters using:

Request.Form["name_of_parameter"]

Answered By – Elmen

Answer Checked By – Willingham (BugsFixing Volunteer)

Leave a Reply

Your email address will not be published. Required fields are marked *