Add Resurs Bank Widget to Webshop

Du er her:
Anslået læsetid: < 1 min

We have automatically added Resurs Bank’s Widget to many of our shop-integrations, but if you’re making a integration yourself – then you can with benefit add the widget to the webshop.

resurs-widget.PNG

How to add the Widget:

NB: You need to have jQuery installed to use the widget.

Just before </body> you need to add our Javascript:

<script type=’text/javascriptsrc=’https://payments.yourpay.se/js/resurs.js’ ></script>

Then you add the following HTML code:

<div class=’ResursBankdata-price=’{Product price}data-period=’{Months (Standard: 12)}‘></div>

<div class=’short-description’></div>