v9.4.0 ‐ Release testing instructions - woocommerce/woocommerce-gateway-stripe GitHub Wiki
Payment Method Settings (PMC)
- In a new test site, install the latest Stripe plugin.
- As a merchant, complete the connection setup to your Stripe account.
- As a merchant, go to Stripe settings > Payment Methods tab, at
siteurl/wp-admin/admin.php?page=wc-settings&tab=checkout§ion=stripe&panel=methods
and enable a few payment methods. - Go to the Stripe Dashboard > Payment methods (make sure
test mode
is enabled) and select theDefault configuration for the plugin (WooCommerce Inc configuration)
. - Enable a couple of different payment methods (which are disabled in your plugin settings page).
- Refresh both your plugin settings page and Stripe dashboard. Confirm that the corresponding changes persist in both pages and not synced between the platforms.
- Update the Stripe plugin in your site to 9.4.0-test-2.
- As a merchant, go to Stripe settings > Payment Methods tab (refresh the page if already opened).
- Confirmed that the payment methods you enabled in your Stripe Dashboard are now enabled in the plugin settings page.
- Go to the Stripe Dashboard > Payment methods (make sure
test mode
is enabled) and select theDefault configuration for the plugin (WooCommerce Inc configuration)
and confirm that the payment methods enabled in your plugin settings page are now enabled in your Stripe dashboard. - Test enabling/disabling different payment methods in the plugin settings page and in the Stripe dashboard. Confirm that the changes made in one platform are synced in the other platform.
- As a shopper, go to the checkout page. Confirm that the enabled payment methods are available on the checkout page.
Express checkout and variable products
- As the merchant, enable Apple Pay/Google Pay as payment methods.
- As the shopper, go to the product page for a variable product, e.g.
<your-store-url>/product/hoodie
- Verify the following behavior:
- When no product variation is selected, express checkout buttons (Apple Pay, Google Pay, and Link) are hidden.
- When a product variation is selected, express checkout buttons (Apple Pay, Google Pay, and Link) are displayed.
BECS
To test BECS, you will need a Stripe account that is based in the Australia, a Stripe account with BECS enabled, a store using AUD currency, and a shopper billing address in the Australia. On Stripe this can be found at: Settings > Payments > Payment Methods > (Choose config) > Bank Debits.
A sample valid AUS address that can be used (feel free to use another address if desired):
395 Pitt Street
Sydney
New South Wales
2000
Australia
All of these tests only apply to the following flows:
Stripe's experience | WC's block checkout | WC's shortcode checkout |
---|---|---|
Legacy | ✘ | ✘ |
Updated (UPE) | ✔ | ✔ |
BECS Settings
- Confirm that all pre-requisites are met above for Stripe account and store currency settings.
- Visit the Stripe settings page at WooCommerce > Settings > Payments > Stripe.
- Confirm that BECS Direct Debit appears in the list of available payment methods
- Change the store currency to EUR under WooCommerce > Settings > Currency
- Go back to the Stripe Payment Method settings
- Confirm that BECS Direct Debit is listed, but has a notification for
Requires Currency
- Change the store currency back to AUD.
- Go back to the Stripe Payment Method settings
- Enable BECS Direct Debit
- Save settings
Simple Product Checkout
- Add a product to the cart and proceed to checkout.
- Ensure BECS Direct Debit is offered as a payment method.
- Select BECS Direct Debit payment method.
- Enter a BSB of
000-000
- Enter Account Number of
000123456
- Click Place Order.
- Confirm the order is submitted successfully.
Save BECS Payment Method
Perform this test as a shopper logged into the store.
- Add a product to the cart and proceed to checkout.
- Ensure BECS Direct Debit is offered as a payment method.
- Select BECS Direct Debit payment method.
- Enter a BSB of
000-000
- Enter Account Number of
000123456
- Check the "Save payment method information..." checkbox.
- Click Place Order.
- Confirm the order is submitted successfully.
- Continuing as the logged in shopper, visit the My Account page.
- Click Payment Methods
- Confirm an entry for "BECS Direct Debit ending in..."
Checkout with Saved BECS Payment Method
Perform this test with the same shopper used in the "Save BECS Payment Method" test.
- Add a product to the cart and proceed to checkout.
- Select BECS Direct Debit payment method if it's not already selected.
- Confirm there is a saved payment method starting with "BECS Direct Debit ending in" and it is selected.
- Click Place Order.
- Confirm the order is submitted successfully.
Add New Payment Method
- As a shopper, navigate to My account > Payment methods
- Click on the "Add payment method" button.
- Confirm BECS Direct Debit is an option and select it.
- Enter email address and first and last name.
- Enter a BSB of
000-000
- Enter Account Number of
000123456
- Enter a valid email address and full name.
- Click on the "Add payment method" button.
- Confirm a "Payment method successfully added" success message is displayed.
- Confirm the payment method you just added is listed under My account > Payment methods.
Delete Saved Payment Method
- Start as a user who has completed the "Add New Payment Method" test above.
- Navigate to My account > Payment methods
- Confirm you see your saved payment method with label like "BECS Direct Debit ending in".
- Click Delete on the Payment Method.
- Confirm "Payment method deleted." message is displayed.
- Confirm the payment method is no longer listed.
Subscriptions compatibility
Do the following critical flows using BECS for payments:
- Purchase subscription product
- Purchase free trial subscription
- Renew subscription
- Change default payment method
ACSS
All of the following tests only apply to the following flows:
Stripe's experience | WC's block checkout | WC's shortcode checkout |
---|---|---|
Legacy | ✘ | ✘ |
Updated (UPE) | ✔ | ✔ |
Example customer address:
80 Oak Valley Ave.
Bolton, ON L7E 2V5
ACSS Settings
- Visit the Stripe settings page at WooCommerce > Settings > Payments > Stripe.
- Confirm that Pre-Authorized Debit appears in the list of available payment methods.
- Change the store currency to USD under WooCommerce > Settings > Currency
- Go back to the Stripe Payment Method settings
- Confirm that Pre-Authorized Debit is listed, but has a notification for
Requires Currency
- Change the store currency back to CAD.
- Go back to the Stripe Payment Method settings
- Enable Pre-Authorized Debit
- Save settings
Simple Product Checkout
- Add a product to the cart and proceed to checkout.
- Enter a Canadian billing address.
- Ensure Pre-Authorized Debit is offered as a payment method.
- Select Pre-Authorized Debit payment method.
- Click Place Order.
- Ensure that the Stripe model opens.
- Under Select your bank, choose Simulate Successful Verification and go through the rest of the steps.
- Confirm the order is submitted successfully.
- Add a simple product to your cart and proceed to the checkout.
- Type a valid email where you can receive a micro deposit notification in the following format:
{YOUR_EMAIL}[email protected]
. Important:+test_email
suffix is required in test mode. - Enter a Canadian billing address.
- Select "Pre-Authorized Debit" as the payment method.
- Click Place order. On the "Select your Bank" page within the Stripe modal, choose micro-deposit verification.
- Type in
000
,11000
,900123456789
, click Confirm > Agree. - Inspect the order details page and ensure the total and payment method are correct.
- As a merchant, navigate to the order you just created and ensure the status is "Pending payment".
- Check your email and click "Verify now".
- Type
32
and45
to the verification page and the payment should be confirmed with a 3 minute delay once the micro deposits are verified. - As the merchant, navigate to WooCommerce > Orders and click the order you just created.
- Inspect the order, order notes and ensure the details are correct. Note that it'll take a few minutes for the order status to update to "Processing" from "On-hold"
Save ACSS Payment Method
Perform this test as a shopper logged into the store.
- Add a product to the cart and proceed to checkout.
- Ensure Pre-Authorized Debit is offered as a payment method.
- Select the Pre-Authorized Debit payment method.
- Enter Account Number of
000123456
- Check the "Save payment method information..." checkbox.
- Click Place Order.
- Simulate a successful payment on the Stripe modal.
- Confirm the order is submitted successfully.
- Continuing as the logged in shopper, visit the My Account page.
- Click Payment Methods
- Confirm an entry for "Stripe Test Bank ending in..."
Checkout with Saved ACSS Payment Method
Perform this test with the same shopper used in the "Save ACSS Payment Method" test.
- Add a product to the cart and proceed to checkout.
- Select Pre-Authorized Debit payment method if it's not already selected.
- Confirm there is a saved payment method starting with "Stripe Test Bank ending in" and it is selected.
- Click Place Order.
- Confirm the order is submitted successfully.
Add New Payment Method
- As a shopper, navigate to My account > Payment methods
- Click on the "Add payment method" button.
- Confirm Pre-Authorized Debit is an option and select it.
- Enter a valid email address and full name.
- Click on the "Add payment method" button.
- Confirm a "Payment method successfully added" success message is displayed.
- Confirm the payment method you just added is listed under My account > Payment methods.
Delete Saved Payment Method
- Start as a user who has completed the "Add New Payment Method" test above.
- Navigate to My account > Payment methods
- Confirm you see your saved payment method with a label like "Stripe Test Bank ending in".
- Click Delete on the Payment Method.
- Confirm "Payment method deleted." message is displayed.
- Confirm the payment method is no longer listed.
BLIK
To test BLIK, you will need a Stripe account with BLIK enabled, a store using PLN currency, and a shopper billing address in Poland. On Stripe this can be found at: Settings > Payments > Payment Methods > (Choose config) > BLIK
A sample valid Polish address that can be used (feel free to use another address if desired):
ul. Marszałkowska 126/134
00-008 Warszawa
Poland
All of these tests only apply to the following flows:
Stripe's experience | WC's block checkout | WC's shortcode checkout |
---|---|---|
Legacy | ✘ | ✘ |
Updated (UPE) | ✔ | ✔ |
BLIK Settings
- Confirm that all pre-requisites are met above for Stripe account and store currency settings.
- Visit the Stripe settings page at WooCommerce > Settings > Payments > Stripe.
- Confirm that BLIK appears in the list of available payment methods.
- Change the store currency to EUR under WooCommerce > Settings > Currency.
- Go back to the Stripe Payment Method settings.
- Confirm that BLIK is listed but has a notification for
Requires Currency
. - Change the store currency back to PLN.
- Go back to the Stripe Payment Method settings
- Enable BLIK
- Save settings
Simple Product Checkout
- Add a product to the cart and proceed to checkout.
- Enter a US address as the billing address.
- Ensure BLIK is not offered as a payment method.
- Enter a Polish address as the billing address.
- Ensure BLIK is offered as a payment method.
- Select BLIK payment method.
- Enter a 6-digit BLIK test code (e.g.,
123456
) - Click Place Order.
- Confirm the order is submitted successfully.
Note: In live mode, users will need to approve the payment in their mobile banking app.