Release testing instructions for the WooCommerce Stripe payment gateway 6.1.0 - woocommerce/woocommerce-gateway-stripe Wiki

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.

Make sure account keys connection status can be tested

  1. As a merchant, go to WooCommerce > Settings > Payments > Stripe and click on the Settings tab (at the top).
  2. Click on the Edit account keys button in order to open the Edit test account keys & webhooks modal.
  3. Enter publishable and secret keys and click on the Test connection link.
  4. Ensure publishable and secret keys result with a Connection successful! response, if they are valid. We couldn't connect., if they are not valid.
  5. Ensure to repeat this test for both live and test account keys.

Make sure full bank statement description is accurate

  1. As a merchant, go to WooCommerce > Settings > Payments > Stripe and click on the Settings tab (at the top).
  2. Scroll down to Payments & transactions > Customer bank statement.
  3. Hover over the question mark icon, next to the input field of Full bank statement.
  4. Ensure the following text is displayed: The bank statement must contain only Latin characters, be between 5 and 22 characters, and not contain any of the special characters: \' " * < >.