Skip to content

Release testing instructions for WC Payments 5.6.0

Ahmed edited this page Mar 7, 2023 · 5 revisions

Ensure WCPay JS loaded on Checkout page for zero order totals PR #5423

Testing steps

Test 1:

  • Add an item to cart.
  • Create a 100% discount coupon and add it to the cart, make sure cart total is 0
  • Navigate to checkout page, and remove the coupon.
  • Without refreshing the page, add a payment method and place the order

Test 2:

  • Test that it works for all types of checkout (UPE, non-UPE, Blocks, Pay for Order etc) and other pages with Credit Card form.
  • Test that there are no regression on normal checkout.

Add supports for 12 new countries:

In this new version of WC Payments, we are adding support for 12 new countries:

  • Denmark (with currency DKK)
  • Greece (with currency EUR)
  • Norway (with currency NOK - Norwegian Krone)
  • Slovakia (with currency EUR)
  • Finland (with currency EUR)
  • Estonia (with currency EUR)
  • Lithuania (with currency EUR)
  • Slovenia (with currency EUR)
  • Latvia (with currency EUR)
  • Cyprus (with currency EUR)
  • Malta (with currency EUR)
  • Luxembourg (with currency EUR)

Please make sure to run the following testing scenario for each country.

  1. Create a new site, complete the setup wizard using the current country address as a store address, and select WC Payments on the Business Details step.
  2. On the Home screen select Setup WooCommerce Payments task to trigger KYC flow.
  3. After KYC flow completion you should be redirected to the setup payment methods task screen.
  4. Go to Payments > Settings page to confirm the account is created and its status displayed.
  5. Before starting tests, double check the currency is set correctly for each country. If not, go to WooCommerce > Settings > General and change the currency.
  6. Go to Payments > Settings page, and make sure all these payment methods are displayed for each country: Card payments, iDEAL, Bancontact, EPS, P24, Giropay, and SEPA.
  7. Turn these payment methods on by selecting the checkbox near each method. Scroll down and click Save.
  8. Open the store and add a product to the cart. Go to checkout and make sure all selected methods from the step before are showing in the payment form.
  9. Pay for your order using a test card like 4242424242424242.
  10. Once the order is completed, go to Payments > Transactions screen in WP Admin and make sure the transaction is showing correctly.
  11. Back to the store, and add a new product to your cart.
  12. Pay for the order via a payment method other than a card (iDEAL, SEPA... Pick one for each country, no need to test all of them)
  13. Once the order is completed, go to Payments > Transactions screen in WP Admin and make sure the transaction is showing correctly.
  14. Note: For Norway only, you might see incorrect amounts displayed, that's a known bug that will be fixed in another version of WooCommerce Core.
  15. Now, back to the store, add a product to the cart, and head to the checkout screen. Now pay using the card 4000000000000259 to trigger a dispute.
  16. Navigate to Payments > Disputes in WP Admin and make sure the dispute is showing correctly.
  17. That's it. This process can be repeated for another country now.
Clone this wiki locally