monero-integrations / monerowp

Monero WooCommerce Plugin for Wordpress
MIT License
105 stars 74 forks source link

Javascript warning misleading about functionality #106

Open kaizushi opened 3 years ago

kaizushi commented 3 years ago

Describe the bug Despite using the option to disable javascript, the checkout page for payment shows a javascript warning that is pessimistic and says things will not work without it. However it does work without it provided one manually refreshes the page to check payment status. The notice should reflect that reality better and just tell users they need to mash F5.

To Reproduce Steps to reproduce the behavior:

  1. Enable the option for no-JS on the Monero payment/checkout.
  2. Make an order through the site and get to the actual Monero checkout page, with JS disabled on your system.
  3. You will see a misleading message about JS being required.
  4. Hit F5 and you should notice the order status can change and stuff.

Expected behavior The Monero payment/checkout should display a different warning to users that merely informs them to manually refresh to keep track of orders they have made.