...
Code Block | ||
---|---|---|
| ||
<!DOCTYPE html>
<html>
<head>
<title>Example call ACS</title>
</head>
<body>
<script type="text/javascript">
var form = document.createElement('form');
form.setAttribute('method', 'POST');
form.setAttribute('action', data.confirmation.url);
var paReq = document.createElement('input');
paReq.setAttribute('type', 'hiden ');
paReq.setAttribute('name', 'PaReq');
paReq.setAttribute('value', data.confirmation.form.PaReq);
form.appendChild(paReq);
var md = document.createElement('input');
md.setAttribute('type', 'hiden ');
md.setAttribute('name', 'MD');
md.setAttribute('value', data.confirmation.form.MD);
form.appendChild(md);
var termUrl = document.createElement('input');
termUrl.setAttribute('type', 'hiden');
termUrl.setAttribute('name', 'TermUrl');
termUrl.setAttribute('value', termUrl);
form.appendChild(termUrl);
document.body.appendChild(form);
form.submit();
</script>
</body>
</html> |
...