Skip to content

Release testing instructions for WC Payments 3.1.0

Fernando edited this page Sep 23, 2021 · 27 revisions

Test Currency switcher shouldn't affect Order confirmation screen prices

Expected outcome

Currency switcher shouldn't affect screen prices on My account -> Orders -> View order and Order received pages.

Testing instructions

  • 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.

Test add a new payment method to an existing subscription

Expected outcome

I am able to successfully change a subscription's payment method via My Account when UPE is enabled.

Testing instructions

  • 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.

Test dispute resolution task

Expected outcome

  • The dispute resolution task should be displayed correctly in the Things to do task list, when there are disputes to handle.

Testing instructions

  • 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 out CVC with any number).
  • Verify that the disputes task is displayed correctly in the Things 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.
Clone this wiki locally