How to open new jsp(company B) from company A jsp/java throw http call to company B.

Company A sells item X, company B sells item Y, everything happens on company A website and company A contact’s with company B using HTTP calls to get the information. But at the final step company B has to open its own jsp/html page to take the credit card information, and once it is done should come back to the company A page. Any help on the technical details would be appreciated. How company B can open new jsp page from company A page and come back to the company A jsp page once user enters the credit card details.
expexc123Asked:
Who is Participating?
 
mrcoffee365Connect With a Mentor Commented:
The way Paypal does it is that company A configures an account with Paypal and sends the user to Paypal to pay.  Part of the configuration is the return URL on company A's site for Paypal to send the user once payment is done.  

Then there's a callback system, if company A wants, where Paypal will post information to a listener on company A's site to let them know when the credit card clears (or whatever action is taking place).

It's a little hard to tell from your question -- do you just want to know that both companies use a redirect to send users back and forth?
0
 
Sathish David Kumar NArchitectCommented:
You can use web services to achive this ....

To get the value of B items form B database call some web services method and get . Need not to store in your A data base.

If B need there deatils means then B company call some web services method and get the cridit card deatils .
0
 
expexc123Author Commented:
thank you so much
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.