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 6760937
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T14:07:29+00:00 2026-05-26T14:07:29+00:00

I’m looking for some good documentation/examples on how to temporarily pass control to an

  • 0

I’m looking for some good documentation/examples on how to temporarily pass control to an external web application and have the host application receive a response. I’m implementing the external web application half of this communication.

Perhaps the best way to explain this question is through examples:

  • StackExchange sends a user to Google to login
  • An online store sends a user to Paypal to process payments

In both these cases, the host application sends the user to an external site to perform some task (login or payment), and the external site passes a response back.

I’m currently writing a web application that would be the external web application in these examples. I could come up with a design myself, but I’m wondering if there are established patterns or technologies that can be used.

My next step is to bite the bullet and RTFM (both Paypal and OpenID) to see how they implement it, but if anyone can point me in the right direction before then, I’d appreciate it.

Some other quick notes:

  • The design should be as secure as possible. Ideally both the host and external app will have a means of authenticating each other as well as the end user.
  • The design cannot rely on javascript and cannot involve iframes, as there are strict accessibility requirements.
  • 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-05-26T14:07:29+00:00Added an answer on May 26, 2026 at 2:07 pm

    don’t know if you will find it detailed enough, and in any case if you implement something related to financial transactions, you should take extra care.

    Assume, for example, that some company which sells some goods online, say books,
    on its site A (webapp A), wishes to implement payments using an external payment
    site B (which is a webapp B run by some banking company).

    The user fills a form with details of the books he wants to buy, and submits it.
    He is then redirected to a HTTPS page of A where he is notified that he ordered
    “Extreme programming” and “Agile programming” for 40$ total and asked whether
    he confirms the purchase. User presses on “yes” button, thus submitting to A the
    request Req1.

    At this point, the webapp A contacts webapp B (this is Business to Business communication, no browsers involved!) via SSL (if in Java, use httpclient), and tells it: I want to redirect to your site a user who wishes to pay me 40$. B answeres: OK, here is a request id Id1 (something like R543E32pU878..). Now A, always in response to the confirmation of the user (Req1), sends a redirect to user’s browser to the external payment site B with this Id1 inside the redirect. B then exhibits to the user (via HTTPS) the data of the purchase and asks to enter user’s personal and credit card details. User enters them and presses “proceed” thus submitting the request Req2. B contacts (again, no browsers involved) the VISA/bank servers (via SSL), and, in case of success, gets a transaction id Id2.

    Now, B contacts A (SSL, no browsers involved) and notifies it that the transaction was successful and communicates to A the transaction id, getting a confirmation from A that
    it got the message. Finally, B responds to the user request Req2 (remember, the user still waits for a response to the submit of his personal and credit card details) with a redirect to the site A which includes the request id Id1. A then sends a page to the user where the user is notified that the transaction was successful and optionally visualizes the transaction id Id2, just in case.

    I did not try to find out if there are some industry standards for such interactions; as far as I know different banking institutions implement such interactions in ways which are not totally identical.

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

Sidebar

Related Questions

I have a jquery bug and I've been looking for hours now, I can't
I have just tried to save a simple *.rtf file with some websites and
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I have some data like this: 1 2 3 4 5 9 2 6
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
For some reason, after submitting a string like this Jack’s Spindle from a text
this is what i have right now Drawing an RSS feed into the php,
Seemingly simple, but I cannot find anything relevant on the web. What is the
I have this code to decode numeric html entities to the UTF8 equivalent character.

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.