-
Notifications
You must be signed in to change notification settings - Fork 69
Release testing instructions for WC Payments 2.9.0
Jesse Pearson edited this page Aug 19, 2021
·
9 revisions
Expected behaviour
- Prices on frontend will be all displayed in short format when:
- Multi-Currency feature is disabled
- There is only one currency available on the MC available currencies list.
- Key prices on frontend should have explicit format when:
- Multi Currency feature is enabled
- There are more than one currency available on the MC Available Currencies list
- Prices on backend will act like it was before
Testing instructions
- Go the multicurrency settings and make the list only have the store currency.
- Go to the Payments > Transactions screen and check if the total amounts are displayed in explicit format.
- Go to the store and add an item to the cart, then go to the cart page and check if the total shows in short format.
- Go back to multicurrency settings and add another available currency to the list.
- Go to the Payments > Transactions screen and check if the total amounts are still displayed in explicit format.
- Go to the store and add an item to the cart, then go to the cart page and check if the total shows in explicit format.
Testing instructions
- Prepare your store currency settings with modified values for decimal separator, thousand separator, currency position and decimal places to something that you can easily distinguish. For example I've chosen
d
as the decimal separator,t
as the thousand separator, 3 as the decimal places and right space as the symbol position. - Go to your store and ensure the account currency is the same with the store currency
- Check if the modified formats are applied.
- Enter to the details of one product from the home page/shop page
- Using the currency switcher change the account currency, check if the format for that currency applies instead of your modified format settings
- Revert back to the store currency using the currency switcher widget, and check if your modified settings are applied.
- Do the same tests without the currency switcher, changing the currency from My Account > Account Details > Default Currency select box. Bonus test: Check if the totals are shown in their explicit formats (Currency code appended)
We have fixed the duplicate currency code display on the currency switcher widget, by removing the currency code when it's the same with the currency symbol. It only affects the text of the select input option texts, the values stay the same.
Before | After |
---|---|
Testing instructions
- Add some currencies that use the currency code as the symbol such as CHF (Swiss Franc) or DKK (Danish Krona)
- Add some items to the cart, then go to the cart page
- Check if the currency selector displays the currency codes for those currencies only once.
We are rolling out a (mostly behind-the-scenes) change to the onboarding – please perform some exploratory testing of the onboarding flows after first enabling the new flow on each new test site like this:
- Install & activate the "Code Snippets" plugin
- Add the following code as a snippet
add_filter(
'wc_payments_get_oauth_data_args',
function( $args ) {
$args['_wcpay_connect_onboarding'] = true;
return $args;
}
);
- Activate the snippet