-
Notifications
You must be signed in to change notification settings - Fork 69
Release testing instructions for WC Payments 6.1.0
In this new version of WC Payments (6.1.0), we are adding support for 3 new countries:
- Czech Republic (with currency CZK - Czech Koruna)
- Hungary (with currency HUF - Hungarian Forint)
- Sweden (with currency SEK - Swedish Krona)
Please make sure to run the following testing scenario for each country.
- Create a new site with WooCommerce Payments plugin installed, and complete the setup wizard (KYC flow) using the current country address as a store address
- After KYC flow completion go to Payments > Settings page to confirm the account is created and its status displayed.
- Before starting tests, double check the currency is set correctly for each country. If not, go to WooCommerce > Settings > General and change the currency.
- Please make sure the store has multi-currency enabled and EUR is one of the currencies.
- Please make sure the store has a currency widget to change currencies when shopping. If not, please add one from Appearance > Widgets. Click the
+
button and search for "currency switcher block". Place it on the page and save the changes - Now 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.
- Turn these payment methods on by selecting the checkbox near each method. Scroll down and click Save.
- Open the store/website and make sure you're selecting the country's currency from the dropdown and add a product to the cart.
- Pay for your order using a test card like
4242424242424242
. - Once the order is completed, go to Payments > Transactions screen in WP Admin and make sure the transaction is showing correctly.
- Back to the store, change your currency to EUR this time and add a new product to your cart. (This is not necessary for Croatia given the currency is already EUR)
- On the checkout page, make sure payment methods like iDeal, SEPA, etc are showing and you can select one. Pick one of these payment methods (other than card) and pay for the order.
- Once the order is completed, go to Payments > Transactions screen in WP Admin and make sure the transaction is showing correctly.
- 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. - Navigate to Payments > Disputes in WP Admin and make sure the dispute is showing correctly.
- That's it. This process can be repeated for another country now.
- Login with your Google account in Chrome browser
- Go to https://pay.google.com, and in the Payment Methods section add a credit card with a US address.
- Go to Woocommerce -> Settings -> Express checkout and enable Apple Pay / Google Pay
- Add a product with price 0
- Go to product page. Google Pay button shouldn't be shown.
- Add the 0 price product in cart. Check cart and checkout page. Google Pay should not be shown
- Add a shipping fee. Google Pay should appear.
- Enable Split UPE checkout with deferred intent creation using the WCPay Dev Tools.
- Ensure the currency is set to EUR on the merchant store
- Add a simple product to the cart, checkout using Blocks checkout, and default credit card
- Confirm you are successfully redirected to the order received page
- Navigate to WooCommerce -> Orders and confirm that the last order has the status
Processing
- Ensure you act as a logged-in shopper
- Add a simple product to the cart, checkout using Blocks checkout, and default credit card
- Before placing an order, check the checkbox to save the payment method for future payments. When checkbox is checked, confirm that the terms are shown above the checkbox (terms start with
By providing your card information, you allow...
). - Confirm you are successfully redirected to the order received page
- Navigate to My account -> Payment methods and confirm the previously saved card appears on the list
- Repeat step 1. but use the saved credit card to place an order
- Confirm you are successfully redirected to the order received page
- Navigate to WooCommerce -> Orders and confirm that the last order has the status
Processing
- As a merchant, enable as many UPE methods from the admin panel (Payments -> Settings) as possible
- Log in as a shopper, add a simple product to the cart, and navigate to Blocks checkout
- Perform the checkout in Blocks for every non-card method available. If you have e.g.,
giropay
,eps
,Bancontact
,iDEAL
enabled, make sure four separate checkouts were performed with each UPE method being used as a payment method. Complete authentication if it's required for any of the UPE methods. - For each payment method separately, confirm you are successfully redirected to the order received page
- For each payment method separately, navigate to WooCommerce -> Orders and confirm that the last order has the status
Processing
- As a shopper, add a simple product to the cart, and navigate to Blocks checkout
- Checkout with 3DS (
4000002760003184
) and confirm that the bank authentication pop-up modal appears on the screen. -
Fail authentication
in the pop-up modal window and confirm that the error notice is shown to the user on the checkout page after the transaction failure (We are unable to authenticate your payment method. Please choose a different payment method and try again.
) - Navigate to WooCommerce -> Orders and confirm that the latest order is in status
Failed
- Checkout with Blocks and 3DS
4000002760003184
card again, but authorize/complete the transaction this time in the pop-up modal window. - Confirm you were navigated successfully to the order received page
- Navigate to WooCommerce -> Orders and confirm that the latest order (which was in status
Failed
in step 4.) hasProcessing
status now
- Add a subscription to the cart and proceed to the Blocks checkout
- Purchase the subscription and ensure you were successfully redirected to the order received page
- Add and activate the WooCommerce Subscriptions plugin
- As merchant, in the admin panel go to WooCommerce -> Subscriptions and then to the details of the latest subscription
- On the subscription details page, there's Subscription actions area on the right side - click Choose an action -> Process renewal and click Update
- Navigate to WooCommerce -> Orders and confirm that the latest Order has the status Processing and relates to the subscription you just renewed (go to Order details and confirm there's that subscription mentioned)
-
Activate WP Mail Logging plugin on your site - it should help you verify the effects of the fix
-
Enable UPE checkout (legacy) using WCPay Dev Tools
-
Add a product to the cart and proceed to shortcode checkout
-
Complete checkout using the default credit card (
4242424242424242
) -
As merchant, navigate to WP Mail Logging in the admin panel on the left
-
You'll see two emails
-
For each of the emails, click the below-shown icon
-
In the email message, confirm that
Visa credit card
is shown as payment method -
Perform steps 3-8 but use another payment method (e.g.
giropay
) when placing the order -
Confirm that for
giropay
, it's also successfully shown in the email message (step 8)