There are two ways of integrating the payment window:
<script charset="UTF-8" src="https://ssl.ditonlinebetalingssystem.dk/integration/ewindow/paymentwindow.js" type="text/javascript"></script>
<script type="text/javascript">
paymentwindow = new PaymentWindow({
'merchantnumber': "ENTER YOUR MERCHANT NUMBER HERE",
'amount': "10095",
'currency': "DKK"
});
</script>
<input onclick="javascript: paymentwindow.open()" type="button" value="Go to payment">
<script charset="UTF-8" src="https://ssl.ditonlinebetalingssystem.dk/integration/ewindow/paymentwindow.js" type="text/javascript"></script>
<div id="payment-div"></div>
<script type="text/javascript">
paymentwindow = new PaymentWindow({
'merchantnumber': "ENTER YOUR MERCHANT NUMBER HERE",
'amount': "10095",
'currency': "DKK",
'windowstate': "4",
'paymentcollection': "1",
'iframeheight': "400",
'iframewidth': "360",
'accepturl': "http://www.epay.dk"
});
paymentwindow.append('payment-div');
paymentwindow.open();
</script>
<script charset="UTF-8" src="https://ssl.ditonlinebetalingssystem.dk/integration/ewindow/paymentwindow.js" type="text/javascript"></script>
<div id="payment-div"></div>
<script type="text/javascript">
paymentwindow = new PaymentWindow({
'merchantnumber': "ENTER YOUR MERCHANT NUMBER HERE",
'amount': "10095",
'currency': "DKK",
'windowstate': "2"
});
paymentwindow.append('payment-div');
paymentwindow.open();
</script>
<script charset="UTF-8" src="https://ssl.ditonlinebetalingssystem.dk/integration/ewindow/paymentwindow.js" type="text/javascript"></script>
<script type="text/javascript">
paymentwindow = new PaymentWindow({
'merchantnumber': "ENTER YOUR MERCHANT NUMBER HERE",
'amount': "10095",
'currency': "DKK",
'language': "2",
'orderid': "154"
});
</script>
<input onclick="javascript: paymentwindow.open()" type="button" value="Go to payment">
<script charset="UTF-8" src="https://ssl.ditonlinebetalingssystem.dk/integration/ewindow/paymentwindow.js" type="text/javascript"></script>
<script type="text/javascript">
paymentwindow = new PaymentWindow({
'merchantnumber': "ENTER YOUR MERCHANT NUMBER HERE",
'amount': "10095",
'currency': "DKK",
'language': "2",
'orderid': "154",
'phonenumber': "12345678"
});
</script>
<input onclick="javascript: paymentwindow.open()" type="button" value="Go to payment">
<form action="https://ssl.ditonlinebetalingssystem.dk/integration/ewindow/Default.aspx" method="post">
<input name="merchantnumber" value="ENTER YOUR MERCHANT NUMBER HERE">
<input name="amount" value="10495"> <input name="currency" value="DKK">
<input name="windowstate" value="3"> <input type="submit" value=
"Go to payment">
</form>
<form action="https://ssl.ditonlinebetalingssystem.dk/integration/ewindow/Default.aspx" method="get">
<input name="merchantnumber" value="ENTER YOUR MERCHANT NUMBER HERE">
<input name="amount" value="10495"> <input name="currency" value="DKK">
<input name="windowstate" value="3"> <input type="submit" value="Go to payment">
</form>