-
Notifications
You must be signed in to change notification settings - Fork 69
Release testing instructions for WC Payments 2.6.0
Daniel Mallory edited this page Jun 7, 2021
·
17 revisions
Customer Multi-Currency allows a shop to allow their customers to choose which currency they'd like to use to see and pay for products.
Pre-requisites/Setup:
- Set
_wcpay_feature_customer_multi_currency
option in the wp_options table to 1. Or use the following snippet:update_option( '_wcpay_feature_customer_multi_currency', '1' );
in the Code Snippet plugin. - Once you have the
_wcpay_feature_customer_multi_currency
option set to 1, you should be able to see a "Multi-Currency" settings tab on the settings page after clicking onPayments > Settings
. Make sure this is present, in order to test the scenarios below.
- Go to WP Admin and click on the "Multi-Currency" tab on the
WooCommerce > Settings
page. - On the settings page, click the
Add Currencies
button. A modal should appear. - Verify that the search box works as expected by searching for a currency and verifying that the currency list updates only the expected currency displays.
- Tick the
Danish Krone
option in the currency list then clickUpdate selected
. Refresh the page and verify that Danish Krone is now in the list of enabled currencies. - Click the bin icon to the right of Danish Krone. A modal should appear. Click
Remove Currency
. Verify that Danish Krone gets removed from the list of enabled currencies.
- In WP Admin, click on
Appearance > Widgets
. Verify you can see "Currency Switcher" in the list of available widgets. - Click on the currency switcher widget and add it to the sidebar of the site. Tick both the
Display currency symbols
andDisplay flags
options. - Go to the shop page on the site. Verify the currency switcher appears in the sidebar. Change the selected currency and verify that the page should reload and all items in the shop will now display in the selected currency.
- Test toggling the
Display currency symbol
option and verify the currency symbol no longer displays in the currency switcher list. Do the same with theDisplay flags
option. - Add some items to the cart and go to the cart page, click
Pay now
and use a Stripe test card: 4242 4242 4242 4242, any cardholder name, valid expiration date and CVV will work. - Order should be completed correctly.