A page/cgi-script at Merchant's site should contain/produce code similar to what follows. All variables that should be used are of hidden type, because will dynamically be set by a script. TRANSACTION_ID variable is very important and should be uniquely defined, so to be used as a charge attempt number. In can be set using a server side language (perl, server side javascript, ASP) or a client side language (Javascript, JScript, VBScript), but in both cases it should be the result of a function of time (eg number of seconds after January 1st 1970, like UNIX time) and script's process id together with Customer's IP. This is considered the most effective way to produce a uniquely defined TRANSACTION_ID.
..
..
<FORM ACTION="https://www.egnatiabank.gr/asp/webshop.asp" METHOD="GET" >
This URL is used for testing communication with WebShop. METHOD can be GET or POST, but we suggest use of POST so that no server buffer overflow could happen.
Encryption type is the default : URL encoding.
< INPUT TYPE="hidden" NAME="EXITURL" VALUE="http://Merchant../charge successful?NAME=takis&ADDRESS=mysonos10&CITY=heraklion&ADT=655433 " >
< INPUT TYPE="hidden" NAME="CANCELURL" VALUE="http://Merchant../charge not successful?NAME=takis&ADDRESS=mysonos10&CITY=heraklion&ADT=655433 " >
< INPUT TYPE="hidden" NAME="RETURN_URL" VALUE="http://Merchant../charge cancelled (Return hit during applet download)?NAME=takis&ADDRESS=mysonos10&CITY=heraklion&ADT=655433" >
Above three URLs at Merchant's site, are set by the Merchant. As shown, the Merchant adds all info he needs (for successful/not-successful charge) after the "?". It is a dynamic mechanism, so that the Merchant sets this info the way he likes.
< INPUT TYPE="hidden" NAME="TRANSACTION_ID" VALUE="a uniquely defined number (client id) set by Merchant's script eg 3433343" >
< INPUT TYPE="hidden" NAME="CHARGE" VALUE="total amount to be charged eg 2300 " >
CAUTION! Above two values are set dynamically (by the script). Their combination is unique for each Customer.
< INPUT TYPE="hidden" NAME="LANGUAGE" VALUE="eg Greek">
Your page/script should send one of the following values: Greek,English,German,French. For each language, a different Membership Application should be sent to Egnatia.
...
...
<INPUT TYPE="submit" VALUE="Send to EGNATIA BANK">
<INPUT TYPE="reset" VALUE="Reset Form ">
...
...
< /FORM >
..
..