Submit Button

The w3HtmlInsertSection("MTPayment.html", "", "TAIL") call inserts the Submit button of the Transaction Form.

104 <!--TAIL-->

105 <br>

106 <CENTER>

107 <input type=submit name=submit value="Process Order">

108 </CENTER>

109 <!--/TAIL-->

If the PreCCcheck flag is set to 1 in the CCInfo file, use w3HtmlInsertSection("MTPayment.html", "", "TAIL2") to insert the Submit button that runs the JavaScript to check the credit card number before submitting the form.

The section used is:

111 <!--TAIL2-->

112 <br><center>

113 <input type="button" value="Process Order" OnClick="CheckCardNumber(this.form)">

114 </center>

115 <!--/TAIL2-->

A call to the w3HTMLeComEnd API closes the Transaction Form.

The Submit button submits the Transaction Form to the Internet bank which processes the information and returns the result of the validation via the AcceptURL and the DeclineURL. The Internet bank makes a secured connection to the Web server and requests for the appropriate page. The Web server generates the requested page using the information sent by the Internet bank and sends the page back to the bank. The bank then transmits the received page to the customer’s browser.

If the UsePost parameter from the required fields of the Transaction Form is set to 1, the Internet bank sends the following information to the Web server, along with a request for the accept or decline page.

NOTE

  • The extra information sent to the bank is also returned to the Web server.

  • The Payment information is never sent back for security reasons.