{
isCompareContainerOpen= false;
clearAllBodyScrollLocks();
}"
@resize.debounce.window="
if (window.innerWidth >= 1024) {
isCompareContainerOpen= false;
clearAllBodyScrollLocks();
}
"
x-init="() => {
$nextTick(() => {
// initial set isComparing if it's present in cookies
let providers_arr = [];
if (getCookie('compare_providers_arr')) {
// providers_arr = JSON.parse(getCookie('compare_providers_arr'));
if (localStorage.getItem('compare_providers_arr')) {
providers_arr = JSON.parse(localStorage.getItem('compare_providers_arr'));
}
}
window.setProvidersForComparison(providers_arr);
})
}"
>
= 1024) {
isMenuOpen = false;
isScrolledMobile= false;
}
clearAllBodyScrollLocks();
"
@scroll.window="() => {
// desktop only scroll up/down thing
if (!isMobile) {
if (window.pageYOffset > $refs.header.getBoundingClientRect().height) {
isScrolledDesktop = true;
const st = window.pageYOffset || document.documentElement.scrollTop;
if (st > lastScrollTop) {
scrollDirection = 'down';
} else if (st < lastScrollTop) {
scrollDirection = 'up';
}
lastScrollTop = st <= 0 ? 0 : st; // For Mobile or negative scrolling
} else {
isScrolledDesktop = false;
scrollDirection = 'down';
}
} else {
// mobile only header on scroll
isScrolledMobile = (window.pageYOffset > $refs.header.getBoundingClientRect().height)
}
}"
>
Klarna
Klarna is a popular payment method that allows customers to pay later or in installments. Easily discover which PSPs support Klarna and use the free Provider Selector to find the best payment provider for your online store or checkout.
Would you like to accept Klarna?
Make it easy on yourself: use the free Provider Selector to find the best payment provider for your online checkout.
Discover how Klarna works, what the advantages and disadvantages are, what costs you pay, and how you can integrate this payment method into your webshop or checkout.