load jquery on epay page
This commit is contained in:
parent
1c429d0ec2
commit
9dcb47cc3c
|
@ -1,9 +1,9 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<article>
|
||||
<script charset="UTF-8" src="https://ssl.ditonlinebetalingssystem.dk/integration/ewindow/paymentwindow.js" type="text/javascript"></script>
|
||||
<script type="text/javascript">
|
||||
{% bootstrap_javascript jquery=1 %}
|
||||
<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': "{{ merchant_number }}",
|
||||
'description': "{{ description }}",
|
||||
|
@ -15,13 +15,12 @@
|
|||
'accepturl': "{{ accept_url }}",
|
||||
'hash': "{{ epay_hash }}",
|
||||
});
|
||||
</script>
|
||||
<input onclick="javascript: paymentwindow.open()" type="button" value="Go to payment">
|
||||
<script type="text/javascript">
|
||||
</script>
|
||||
<input onclick="javascript: paymentwindow.open()" type="button" value="Go to payment">
|
||||
<script type="text/javascript">
|
||||
$( document ).ready(function() {
|
||||
paymentwindow.open();
|
||||
});
|
||||
</script>
|
||||
</article>
|
||||
</script>
|
||||
{% endblock content %}
|
||||
|
||||
|
|
Loading…
Reference in a new issue