Conversation
supportOn our website: https://greenwebsolutions.ch we found a bug on the final step of our checkout page. When you click the final button, it takes a huge amount of time (like 5-10 sec) before the plugin opens up the BTC payment modal. There is a function that is being called 3 times… but it’s needed only 1 time. Also, there is a bug about the spinner loading. The code of the plugin blocks the asynchronous way of executing the code and waits for a request until it’s finished and then shows the loading spinner…. which in reality should be the opposite. The script code needs to be refactored. For now, we fixed the code directly on the plugin, knowing that as soon as the plugin is updated we will need to apply the fix again. So I hope you address this issue soon! The page I need help with: [ log in to see the link]
Hi, thanks for the feedback. The qr not showing up for 5-10 sec is more likely due to slow response from your BTCPay Server but I agree that redundant requests should not be done. Care to share your fix or do a pull request here https://github.com/btcpayserver/woocommerce-greenfield-plugin ?
no no I can assure you that it isn’t like that (we are a dev company). Actually after fixing the code now it’s much much more fast and we see the spinning, pls confront with our checkout: greenwebsolutions.ch/checkout
Hi, thanks for the feedback. The qr not showing up for 5-10 sec is more likely due to slow response from your BTCPay Server but I agree that redundant requests should not be done. Care to share your fix or do a pull request here https://github.com/btcpayserver/woocommerce-greenfield-plugin ?
no no I can assure you that it isn’t like that (we are a dev company). Actually after fixing the code now it’s much much more fast and we see the spinning, pls confront with our checkout: greenwebsolutions.ch/checkout