Skip to content

Release testing instructions for the WooCommerce Stripe payment gateway 6.1.0

Rafael Zaleski edited this page Jan 5, 2022 · 4 revisions

Make sure loading state on Payment Request Buttons is triggered correctly in the Cart and Checkout blocks

Note: You'll need to be using WooCommerce Blocks version 6.4.0 or newer for this to work. Note: Both tests require you to use the Cart and Checkout blocks instead of the Shortcode-based checkout pages. Note: Both tests require you to make sure Payment Request Buttons are displayed on the Cart and Checkout pages.

Testing the loading state in the Cart Block

  1. Add any item(s) to your cart.
  2. Go to the Cart page.
  3. Wait for the Payment Request Button (PRB) to load.
  4. Change the amount of any of the items in your cart.
  5. Make sure the PRB is greyed out and disabled, and the Payment Request modal isn't opened if you click it while the PRB is greyed out.
  6. After the PRB is reenabled click the PRB to open the payment request modal.
  7. Cancel the Payment Request.
  8. Change the amount of any of the items in your cart again.
  9. Make sure the PRB is again greyed out and disabled, and the Payment Request modal isn't opened if you click it while the PRB is greyed out.
  10. After the PRB is reenabled click the PRB to open the payment request modal.
  11. Make sure you can complete a payment successfully this time.

Testing the loading state in the Checkout Block

  1. Add any item(s) to your cart.
  2. Go to the Checkout page.
  3. Wait for the Payment Request Button (PRB) to load.
  4. Change the state in your address.
    • You could also change any other settings that will cause WooCommerce to reevaluate the shipping costs.
  5. Make sure the PRB is greyed out and disabled, and the Payment Request modal isn't opened if you click it while the PRB is greyed out.
  6. After the PRB is reenabled click the PRB to open the payment request modal.
  7. Cancel the Payment Request.
  8. Change the state in your address again.
  9. Make sure the PRB is again greyed out and disabled, and the Payment Request modal isn't opened if you click it while the PRB is greyed out.
  10. After the PRB is reenabled click the PRB to open the payment request modal.
  11. Make sure you can complete a payment successfully this time.
Clone this wiki locally