Step 3:

After selecting two items from the catalog, the customer presses the "ORDER" button. This request is then sent to the server. The client also announces that he cannot use one of the options announced by the server in the previous message.

The server, in turn, generates and sends an invoice to the client, along with a request for payment with UPP. The server now provides detailed data for those two payment systems the client can use.


Client -> Server

The client submits the order form, and announces that he cannot use ECash.

POST /Take-order?olala237=yes&mobile_office=yes HTTP/1.1
Protocol-Info: {http://DigiCash.com/ECash {str ref} {for /*}}
      

Server -> Client

Here come the invoice and a request for payment with UPP.

HTTP/1.1 200 OK
Server: CERN/3.0A
Content-Type: text/html
Protocol-Request: {http://w3.org/UPP {str req} {for /Do-invoice}}
Protocol-Info:
       {http://www.CyberCash.com/UPP {for /Do-invoice} 
           {params {amount {usd 270}}
                   {brand visa mastercard coin}
                   {merchant-ccid ARIX-99} 
                   {merchant-swversion bsdi4.2} }}
       {http://www.GCTech.com/GlobeID/UPP {for /Do-invoice}
           {params {amount {usd 270}}
                   {has-account-at <GlobeID-operator-1>
                                   <GlobeID-operator-2>}
                   {groupe-id  <groupe-id-1> <groupe-id-2>}
                   {software-version  NTintel1.2} }}
Content-Length: 359

<HTML>
  <HEAD>
    <TITLE>JEPI Technology Demonstrator</TITLE>
  </HEAD>

  <BODY bgcolor=#fefe9f>
      <H1>Invoice</H1>

	You have selected the following items:<br>
        <ul> 
          <li><b>ARIX - Phone OLALA 237 : 70 $</b>
          <li><b>ARIX - Mobile Office Solution : 200 $</b>
        </ul>
        <b>Total: 270 $</b>
	<p>

        <form action="/Do-invoice" method=post>
          <input type=hidden name=ordernumber value=1234>
          <input type=submit>
        </form>

        <form action="/Cancel-invoice" method=post>
          <input type=hidden name=ordernumber value=1234>
          <input type=submit>
        </form>

  </BODY>
</HTML>