Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8807677
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T02:25:36+00:00 2026-06-14T02:25:36+00:00

I am writing an asp.net web application to talk to sage pay and make

  • 0

I am writing an asp.net web application to talk to sage pay and make payments via their server to server method. At present my site collects user details and then sends a transaction registration HttpRequest to their server. Their server then responds to my request with some details and a redirect link. I check out the reponse object and then redirect to their payment page where the users payment details (card number etc) can be entered. Once the user has clicked confirm then sage will send a POST to a url of my choosing which I can then process and tell them whether to continue with the transaction or not.

What I am aiming to do is receive the POST from them, check the content and respond accordingly. I must then give them as part of my success or failure url which their site will send the user too on completion of the transaction. If I were sending a request first it would be easy but I am not. They just need an address to send the response to and then I must process it.

My question is this. How can I handle an HttpRequest (I assume this is what it will be?) in my web application?

Can I do this by telling them to respond to a generic handler? If I were to give them the url of my generic handler could I process the POST in there and then respond to them?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T02:25:38+00:00Added an answer on June 14, 2026 at 2:25 am

    Can I do this by telling them to respond to a generic handler? If I
    were to give them the url of my generic handler could I process the
    POST in there and then respond to them?

    The Generic Handler will work. You can handle the request parameters via context.Request.Params

    Example:

    public class Handler : IHttpHandler {
    
        public void ProcessRequest (HttpContext context) {
    
        string someparamreturned = context.Request.Params["somekey"];
        //etc.. do something
        }
    
        public bool IsReusable {
        get {
            return false;
        }
    
    }
    

    You don’t really need a full-blown up page to handle this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm writing an ASP.NET web application which will run on Windows Server 2008 (IIS7).
I'm writing a ASP.NET Web Application and I'm running into trouble getting the CSS
I am writing an ASP.Net MVC 3 Web Application using Entity Framework 4.1. My
In a asp.net/c# web application I am writing a jQuery script. I have an
I am working on a ASP.NET/C# web application. I am writing a Jquery script.
I am writing a web application on Asp.Net MVC 3. Assume that we have
I'm writing a log parser for an asp.net mvc2 web application. I use Entity
I am writing web application using ASP.NET MVC + NHibernate + Postres stack. I
We are developing a web application using asp.net and sql server. We are required
I'm writing a ASP.NET web application. It dosen't use Web Forms or MVC. It

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.