Changing link for checkout button in cart page of Wix Store

I wanted to change the link of the checkout button of the Wix store app in my website because I’m not intending to add any payment methods to the website. But when I published my website the checkout button mentions that no payment method was found. Instead I would like to redirect it to a Wix form if possible.
Is that possible ?

You can add code to the masterPage.js back end file that checks if the url is the checkout page and then re-direct to the page where your form is. That .js file runs on every page of your site automatically.

Now I know this works when there are payment methods added because after clicking the checkout button it directs you to a page www.mywebsite.ca/checkout… but I’m not sure if it still does that when no payment methods are added.