woocommerce/plugins/woocommerce-blocks/docs/internal-developers/testing/releases/821.md

27 lines
1.9 KiB
Markdown

# Testing notes and ZIP for release 8.2.1
Zip file for testing: [woocommerce-gutenberg-products-block.zip](https://github.com/woocommerce/woocommerce-blocks/files/9250889/woocommerce-gutenberg-products-block.zip)
## Feature plugin
### Ensure onChange is set for radio buttons in `SavedPaymentMethodOptions` ([6825](https://github.com/woocommerce/woocommerce-blocks/pull/6825))
1. Install Stripe, set it up so you can use it at Checkout.
2. Add items to your cart and go to checkout. Add a credit/debit card via stripe and choose `Save payment information to my account for future purchases.`
3. Check out. Repeat step 2 once more with a different card number. **Ensure the new card you use ends in four different numbers than the first one!** You can see test cards here: <https://stripe.com/docs/testing>
4. Add items to your cart and go to checkout a third time. This time ensure you can switch between saved cards.
<img width="662" alt="image" src="https://user-images.githubusercontent.com/5656702/182586601-d0cd308f-b8fa-45f3-9ce6-1b2f142d13c3.png">
5. Check out successfully, and then go to the back end of your site. Go to the orders you made (WooCommerce -> Orders) and for each order check the payment method used (you'll need to follow this through to Stripe), and ensure the card number used matches the one you chose in the Checkout block. (Click the link on the order page)
<img width="880" alt="image" src="https://user-images.githubusercontent.com/5656702/182587320-4f8e511a-b4cc-4420-a91a-cb2732617183.png">
<!-- FEEDBACK -->
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/internal-developers/testing/releases/821.md)
<!-- /FEEDBACK -->