{
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)
}
}"
>
Dankort
Dankort is Denmark's national debit card, allowing customers to pay securely and confidently online. Easily discover which PSPs support Dankort and use the free Provider Selector to find the best payment provider for your online store or checkout.
Would you like to accept Dankort?
Make it easy on yourself: use the free Provider Selector to find the best payment provider for your online checkout.
Discover how Dankort works, what the advantages and disadvantages are, what costs you pay, and how you can integrate this payment method into your webshop or checkout.