I'm trying to make a system for online credit card transactions. Basically i'm running two instances of
tomcat on different ports. One acts as a store's webserver, the other is a dummy bank webserver.
When the client clicks on "PAY" i want to forward the request to the bank, so that the bank can collect the user's credit card details, and then confirm payment back to the store. I know this sounds convoluted but i don't want the store to be able to access the customer's CC details.
My question is: how can i communicate from one server to another (sending things like amount owed and payment confirmation)?? Is it a case of opening up another port, and sending some XML down it or is there a better way (somehow doing it over HTTP)?? Could i use
soap?? if so, any good sites?
I'd really appreciate any help or suggestions.
will