Skip to content

Release testing instructions for WC Payments 4.4.0

Rua Haszard edited this page Jun 28, 2022 · 13 revisions

Test Stripe Link payment method in blocks

Stripe Link payment method was recently added in version 4.1.0 The same functionality as on regular checkout is now implemented also for blocks.

Testing instructions

  • Make sure that the classic checkout is not broken. This includes Stripe Link payment method.
  • Install https://github.com/woocommerce/woocommerce-blocks plugin
  • Create a new checkout page with it
  • Retry all of the tests from the classic checkout within the checkout block (this includes also Stripe Link payment method) .

Test Card Loader UI

Test that credit card loader element works as before and no changes observed in

  • Checkout
  • Blocks Checkout
  • Subscription Payment
  • Any other pages showing payment form.
  • On different popular themes

Test multicurrency subscription renewal, switch and re-subscribe PR

This test requires WooCommerce Subscriptions installed and active, and Storefront theme.

Prerequisite - set up payments, subscription product, and multi-currency
  1. Onboard WooCommerce Paynments and install and activate WC Subscriptions.
  2. Publish a subscription product:
  • Go to WooCommerce admin dashboard, click Products > Add New in sidebar.
  • Type a product name e.g. Coffee Subscription.
  • Scroll down to Product data box and select Simple subscription from Product type dropdown.
  • Enter a price e.g. 20 in Subscription price ($) field.
  • Select a renewal term, e.g. every day.
  1. Set up multi currency. Needs to be activated in Woo settings and WCPay, and a currency switcher displayed for customer on store front end.
  • In WooCommerce admin dashboard, go to Payments > Settings.
  • Click Multi-currency tab.
  • Click Add currencies and add one or more additional currencies, e.g. Yen, Euro etc.
  • Scroll down to Store settings.
  • Ensure Add a currency switcher to the Storefront theme on breadcrumb section..
  • Click Save changes.

You should now have a subscription product in your store that shoppers can purchase in their chosen currency.

Test multicurrency subscription renewal
  1. Complete prerequisite setup above.
  2. Purchase a subscription in customer currency (not store default).
  3. Go to subscription in admin dashboard.
  4. Select action Create pending renewal order, click Update.
  5. As customer, go to My account, click Subscriptions, scroll down to Related orders.
  6. Click Pay. Confirm correct (customer) currency is displayed in checkout.
Test multicurrency subscription switch
  1. Complete prerequisite setup above.
  2. In WooCommerce > Settings > Subscriptions, enable both Allow switching options. (See below pic)
  3. Set up subscription products that subscriber can switch between (aka upgrade/downgrade). Easiest way is setting up a variable subscription product with 2 or more levels (e.g. Basic | Pro attribute). Can also switch between grouped products.
  4. As shopper, subscribe to the switchable subscription product.
  5. Go to My account, click Subscriptions.
  6. Click switchable subscription to view details/options.
  7. Click Resubscribe. Confirm correct (customer) currency is displayed in checkout.
Screen Shot 2022-06-14 at 11 15 26 AM
Test multicurrency resubscribe
  1. Complete prerequisite setup above.
  2. Purchase a subscription in customer currency (not store default).
  3. Go to subscription in admin dashboard.
  4. Click Cancel for the subscription. Subscription should now be cancelled, so shopper can resubscribe.
  5. As customer, go to My account, click Subscriptions
  6. Click Resubscribe. Refer to docs for details - resubscribing is a kind of renewal.
  7. Confirm correct (customer) currency is displayed in checkout.
Clone this wiki locally