-
Notifications
You must be signed in to change notification settings - Fork 69
Release testing instructions for WC Payments 3.1.0
Currency switcher shouldn't affect screen prices on My account -> Orders -> View order
and Order received
pages.
- Ensure you have three currencies: EUR, USD, and JPY.
- Go to the store, switch the currency to Euro and buy some product.
- On the order received page, try switching the currency to USD and JPY. Order price format (short and explicit) should not change.
- Go to My account -> Orders. Select the order and click to go to the view order page.
- On the view order page, try switching the currency to USD and JPY. Price format (short and explicit) should not change at the order details section.
I am able to successfully change a subscription's payment method via My Account when UPE is enabled.
- As a Merchant, ensure UPE checkout is enabled via WCPay Dev and the WooCommerce Subscriptions plugin is installed.
- As a Shopper, purchase any subscription product.
- Navigate to My account → Subscriptions and open the newly created subscription entry.
- Observe 3 buttons for “Actions”. Click “Change payment” button.
- In the second block, select “Use a new payment method” option.
- Provide
5555555555554444
as the test card number, future expiration date, and a CVC code. - Click the “Change payment method” button.
- Ensure the payment method is updated successfully.
- The dispute resolution task should be displayed correctly in the
Things to do
task list, when there are disputes to handle.
- Turn on the task list by running this command in WP-CLI (
wp option update _wcpay_feature_account_overview_task_list 'yes'
). - Go to
Payments
>Overview
. - Verify that the
disputes
task is not visible when there aren't any disputes. - Create a new dispute. You can do this by purchasing one product with one of the Stripe test disputes cards (E.g.:
4000000000001976
use any date in the future and fill outCVC
with any number). - Verify that the
disputes
task is displayed correctly in theThings to do
task list. - Click on the card. You should be redirected to the dispute's overview screen.
- Click on the dispute that you created and accept it.
- Now the
disputes
task should be shown as completed.
If the users didn't complete the MC onboarding, the action button on the note on WooCommerce > Home
titled Sell users in multiple currencies
should redirect the users to the Multi-currency onboarding screen. And users can complete the onboarding and set the Multi-currency parameters like enabled currencies, storefront breadcrumb switcher and auto currency switch feature from that screen.
- Run
npm run test:js multi-currency-setup
- Open WooCommerce > Home page and click Sell worldwide in multiple currencies link in the Things to do next task list, or click the Set up now button in the Sell worldwide in multiple currencies titled note.
- Check the currency in the description matches the store currency.
- Follow the wizard tasks
- Check if the button shows the right amount
- Check if WooCommerce Multi-Currency tab settings match with the settings you've chosen in the onboarding wizard.
- Check if you can re-enter the onboarding wizard once you've completed the tasks.
- Enable some UPE methods to pre-add currencies to the enabled currencies list
- Open the onboarding wizard
- Check if those pre-added currencies available for selection, they shouldn't be on the checkbox list, they should be displayed as text above the currency selection form.
Once you completed the onboarding wizard, you can delete the wcpay_multi_currency_setup_completed
option to reset the onboarding status. If you want the whole multi-currency states reverted back, you can run this query:
DELETE FROM wp_options where option_name like '%multi_currency%'