Fantastic product you have!
I use quick view modals for customers to purchase their products. This essentially loads a simple product page inside a modal. I’ve enabled one click buys and tested it on the regular product pages and it’s working great.
But after ensuring I include the ‘woocommerce_before_single_product’ action in my modal to bring the 1-click button in, it doesn’t perform the 1-click action but just goes to the checkout page like the regular add to cart button does. Does this function require anything else from the product page to get it to run as I’ve compared what’s coming back in the dom in both the modal and product page and they’re both the same.