{
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)
}
}"
>
The free guide to online payments
In 2012, we launched 'aboutPayments' to guide entrepreneurs through the world of (online) payments. Our goal? To help entrepreneurs choose the right payment provider in a market that can sometimes be overwhelming. With so many payment providers, different payment methods and rates, we understand that choosing can be difficult. The wrong choice can also cost time and money. That's why we're here: as a guide who points you in the right direction, whether you're just starting out or looking for an alternative to your current provider.