woocommerce/woocommerce-gateway-stripe

[Wallets] The Place Order button remains disabled on the Block checkout after closing the wallet modal

Closed this issue · 0 comments

Describe the bug

Closing the modal without completing the payment disables the Place Order button on the Block checkout when using either WeChat or Cash App wallets. Shoppers must reload the page to be able to place the order.

To Reproduce

  1. As a merchant, enable WeChat and Cash App on the payment methods tab, at /wp-admin/admin.php?page=wc-settings&tab=checkout&section=stripe&panel=methods
  2. Create a page that uses the checkout block, if you don't have one already
  3. As a shopper, add a product to the cart and go to the Block checkout page
  4. Select WeChat or Cash App as the payment method
  5. Click on Place Order
  6. Close the modal without proceeding with the payment
  7. Notice that the Place Order button remains disabled. It's not possible to place the order until you reload the page

Expected behavior

I'd expect the Place Order button to get enabled again after closing the wallet's payment modal.

Screenshots

lKABka.mp4