Client -> Server
The client tells the server that he has chosen CyberCash. All other payment information such as credit card number, amount etc. will be transmitted in private CyberCash messages later.
POST /Do-invoice?ordernumber=1234 HTTP/1.1
Protocol:
{http://w3.org/UPP {via http://www.CyberCash.com/UPP}}
{http://www.CyberCash.com/UPP {params {brand visa}}}
Server -> Client
Upon reception of the previous message from the client, the server kicks off the CyberCash application, which sends its proprietary message to the client.
HTTP/1.1 200 OK
Server: CERN/3.0A
Content-Type: application/cybercash
Protocol: {http://www.CyberCash.com/UPP
{params {success /worked} {failure /didnt} {cancel /incomplete}}}
Content-Length: 359
<<...CyberCash's proprietary message goes
here...>>
Client -> Server
The CyberCash module on the client side does what it has to do with the message from the server, and tells the sever that everything is OK.
POST /CyberCashPayment // from url-pay-to in the previous CyberCash message. Content-Type: application/cybercash Content-Length: 359<<...CyberCash's proprietary message, saying that everything is OK...>>
Server -> Client
Acknowledgement from the server side CyberCash module.
HTTP/1.1 200 OK Server: CERN/3.0A Content-Type: application/cybercash Content-Length: 359<<...CyberCash acknowledgement from server to client...>>
Client -> Server
Now, the CyberCash client module tells the browser that everything is OK, and the browser can fetch the "worked" page from the merchant's server.
GET /worked // Don Eastlake: Is this correct?
Server -> Client
Here comes the order confirmation.
HTTP/1.1 200 OK
Server: CERN/3.0A
Content-Type: text/html
Content-Length: 359
<HTML>
<HEAD>
<TITLE>JEPI Technology Demonstrator</TITLE>
</HEAD>
<BODY bgcolor=#fefe9f>
<h1>Thank you for shopping with us!</h1>
<P>
Your new celluar phone <b>ARIX-OLALA 237</b> and <b>Mobile Office
Solution</b>will be delivered to you in 2 days.
<p>
<img src="../ARIX-phones/arix-olala237.jpg"> ARIX-OLALA 237 <br>
<p>
[Missing -- A picture of the Mobile Office Solution here!]
</BODY>
</HTML>