It is very important that the different terms and conditions are shown correctly on your site. They have to be shown on your terms and conditions-page as well as in your checkout.
* Change the e-ID in the example to your own e-ID and charge to the invoice fee that your customers are paying.
** Change the e-ID to your unique e-ID.
Please note that you can find your e-ID by going to Klarna Online and then clicking "Show store" in the menu. This was also included in the information you received when you joined Klarna.
Using javascript to display the terms and conditions
If you prefer to use javascripts to display the terms and conditions you can use the ones below. There are three different scripts, one for each payment solution. Below you have examples of how to integrate this into your webshop.
Just as with the above links you have to set your own estore-id, you can find it when you login to Klarna Online. You also need to use the correct country code to get the payment terms in the correct language. Lastly, the invoice payment option has an additional parameter called a "charge", which is the invoice fee that you charge your customers, including VAT. For example you would add 19 if you are charging your customers 19 SEK invoice fee. If the invoice fee is not a whole number you add 1.5 (1 dot 5).
Below you can find the scripts, we recomend adding the entire javascript to the end of the page.
The first script tag includes our javascript library, and can be added in the head if you want to.
The second script tag builds the object, and should be added at the bottom of the page to ensure that it is loaded correctly.
The following country codes can be used:
Denmark: dk
Finland: fi
Germany: de
Netherlands: nl
Norway: no
Sweden: se
Klarna invoice terms
<script src="http://static.klarna.com/external/toc/v1.0/js/klarna.terms.min.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
var terms = new Klarna.Terms.Invoice({
el: 'invoicexx', // The element id of the element you want to use.
// Alternatively you could use an element directly, for example document.getElementsById('#my-link') or jQuery('span.invoice', '#terms').get(0);
eid: 0, // Your merchant ID
country: 'xx', // country code (ISO 3166-1 alpha-2
// or ISO 3166-1 alpha-3 code)
charge: 0 // the invoice fee charged, defaulted to 0
})
</script>
This will add a link to the invoice terms. The link will look like the ones below and can easily be shown in the checkout.
Klarna account terms
<script src="http://static.klarna.com/external/toc/v1.0/js/klarna.terms.min.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
new Klarna.Terms.Account({
el: 'accountxx', // The element id of the element you want to use.
// Alternatively you could use an element directly, for example document.getElementsById('#my-link') or jQuery('span.invoice', '#terms').get(0);
eid: 0, // Your merchant ID
country: 'xx' // country code (ISO 3166-1 alpha-2
// or ISO 3166-1 alpha-3 code)
})
</script>
This will add a link to the account terms. The link will look like the ones below and can easily be shown in the checkout.
Klarna special campaign terms
Special campaigns include among others our popular Christmas and Summer campaigns. The 2011 Christmas campaign allowed customers to shop during November and December and pay for all purchases in one payment that was due in Feburay.
The special campaigns are available in Sweden, Finland and Norway. Information about participation will be provided before campaign start.
This script will add a link to the Special Campaigns terms. The link will look like the ones below and can easily be shown in the checkout.
Optional parameters & some useful tips
We recommend to add or use an element that can be uniquely identified (for example a span, div or li with a unique ID tag). The terms link will be appended to this element, so it might be preferable for it to be empty. In our examples, we use the following: <span id='invoicexx'> </span> where xx is the country-code. Below are some of the things you can use if you wish to further configure your script. They should be inserted inside the second script tag.
// Optional parameters:
// You can add a class to the inserted link, for example to
// style it to fit your page.
linkClassName: 'myClass',
// You can execute custom javascript code after the
// link has been pressed.
// This is executed after the popup has been created.
// Note that it may not have been loaded yet however.
// the 'this' object in this context is the terms instance.
openPopupCallback: function() {
alert('custom javascript code');
}
// Or you can execute custom javascript code after the popup has been closed.
closePopupCallback: function() {
alert('more custom code');
}

Terms & Conditions