source: main/waeup.kofa/branches/uli-fix-zc-async/src/waeup/kofa/utils/tests/sample_response.html

Last change on this file was 15595, checked in by uli, 5 years ago

Add a function to extract key/value pairs from

HTML forms.

File size: 1.9 KB
Line 
1HTTP/1.1 200 OK
2Date: Thu, 19 Sep 2019 14:12:36 GMT
3Server: WildFly/10
4X-Frame-Options: SAMEORIGIN
5X-Powered-By: Undertow/1
6X-Powered-By: JSP/2.3
7Content-Type: text/html;charset=UTF-8
8Content-Length: 1653
9Set-Cookie: JSESSIONID=-JcbFOsUjSI_yJpRohp88D4vnTTSDYshK1ApgThJ.etz-firstest-sv; path=/WebKonnect
10
11
12
13
14
15
16
17
18
19<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
20    "http://www.w3.org/TR/html4/loose.dtd">
21
22<script language='javascript'>
23var spanId = document.getElementById("message_container");
24spanId.textContent = 'Redirecting...';</script>
25<form method="GET" id="redirect_form" name="redirect_form" action="http://localhost:81/projects/Webconnect/response.php" target="_top">
26<input type="hidden" name = "LOGO_URL" value="http://localhost:81/projects/Webconnect/images/elogo.fw.png">
27<input type="hidden" name = "RESPONSE_URL" value="http://localhost:81/projects/Webconnect/response.php">
28<input type="hidden" name = "CURRENCY_CODE" value="NGN">
29<input type="hidden" name = "TERMINAL_ID" value="0000000001">
30<input type="hidden" name = "TRANSACTION_ID" value="etz1568638104web">
31<input type="hidden" name = "AMOUNT" value="100">
32<input type="hidden" name = "DESCRIPTION" value="Payment Description">
33<input type="hidden" name = "CHECKSUM" value="5be04064f4bb250f73650059a8e921cc">
34<input type="hidden" name = "MERCHANT_CODE" value="0339990001">
35<input type="hidden" name = "EMAIL" value="xyz@yahoo.com">
36<input type="hidden" name = "SUCCESS" value="0">
37<input type="hidden" name = "FINAL_CHECKSUM" value="FD67A4CCC39E2C8DEEEC78D6C64A61FE">
38<input type="hidden" name = "STATUS_REASON" value="Approved">
39<input type="hidden" name = "TRANS_NUM" value="01ESA20190916134824YA3YJ8">
40<input type="hidden" name = "CARD_NO" value="506066XXXXXXXXX6666">
41<input type="hidden" name = "CARD_TYPE" value="Verve">
42</form>
43<script language='javascript'>
44var fom = document.forms["redirect_form"];
45fom.submit();</script>
Note: See TracBrowser for help on using the repository browser.