HEX
Server: Microsoft-IIS/10.0
System: Windows NT ITPWINWEBSVR22 10.0 build 20348 (Windows Server 2022) AMD64
User: www.conferencesearch.co.uk (0)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: D:/web/expressmusic/worldpay-test.asp
<%Option Explicit%>
<!--#include file="dbfunctions.asp"-->
<!--#include file="apputils.asp"-->
<html>
<head>
<title>WorldPay Test</title>
<script language="javascript">
<!--
function worldpay_test(AMode,ACurrency)
{
  frmWorldPay.testMode.value = AMode;
  frmWorldPay.currency.value = ACurrency;
  document.frmWorldPay.submit();
}
//-->
</script>
</head>

<body>

<form name = "frmWorldPay" action="https://select.worldpay.com/wcc/purchase" method="post" class="nospace">
<input type="hidden" name="instId"      value="<%=GetWorldPayInstallID%>">
<input type="hidden" name="cartId"      value="10001">
<input type="hidden" name="desc"        value="TEST x 1">
<input type="hidden" name="amount"      value="12.00">
<input type="hidden" name="currency"    value="GBP">
<input type="hidden" name="testMode"    value="100">
<input type="hidden" name="name"        value="Mr Test Person">
<input type="hidden" name="address"     value="123 Radford Road&#10;Leamington Spa&#10;Warwickshire">
<input type="hidden" name="postcode"    value="CV31 1LG">
<input type="hidden" name="country"     value="GB">
<input type="hidden" name="email"       value="worldpay@itpartnership.com">
<input type="hidden" name="tel"         value="01926 314011">
<input type="hidden" name="fixContact"  value="">
</form>

<a href="javascript:worldpay_test('100', 'GBP')">Go to Worldpay using Test Mode and Pounds</a>
<br><br>
<a href="javascript:worldpay_test('0', 'GBP')">Go to Worldpay using Normal Mode and Pounds</a>
<br><br>
<a href="javascript:worldpay_test('100', 'EUR')">Go to Worldpay using Test Mode and Euros</a>
<br><br>
<a href="javascript:worldpay_test('0', 'EUR')">Go to Worldpay using Normal Mode and Euros</a>

</body>
</html>
<%Finalise%>