Skip to content

Release testing instructions for WC Payments 2.9.0

Paul Dechov edited this page Aug 17, 2021 · 9 revisions

Test remove explicit prices where a single currency is active

Expected behaviour

  • Prices on frontend will be all displayed in short format when:
    • Multi-Currency feature is disabled
    • There is only one currency available on the MC available currencies list.
  • Key prices on frontend should have explicit format when:
    • Multi Currency feature is enabled
    • There are more than one currency available on the MC Available Currencies list
  • Prices on backend will act like it was before

Testing instructions

  • Go the multicurrency settings and make the list only have the store currency.
  • Go to the Payments > Transactions screen and check if the total amounts are displayed in explicit format.
  • Go to the store and add an item to the cart, then go to the cart page and check if the total shows in short format.
  • Go back to multicurrency settings and add another available currency to the list.
  • Go to the Payments > Transactions screen and check if the total amounts are still displayed in explicit format.
  • Go to the store and add an item to the cart, then go to the cart page and check if the total shows in explicit format.

Test customizable frontend currencies

Testing instructions

  • Prepare your store currency settings with modified values for decimal separator, thousand separator, currency position and decimal places to something that you can easily distinguish. For example I've chosen d as the decimal separator, t as the thousand separator, 3 as the decimal places and right space as the symbol position.
  • Go to your store and ensure the account currency is the same with the store currency
  • Check if the modified formats are applied.
  • Enter to the details of one product from the home page/shop page
  • Using the currency switcher change the account currency, check if the format for that currency applies instead of your modified format settings
  • Revert back to the store currency using the currency switcher widget, and check if your modified settings are applied.
  • Do the same tests without the currency switcher, changing the currency from My Account > Account Details > Default Currency select box. Bonus test: Check if the totals are shown in their explicit formats (Currency code appended)

Test remove duplicate symbols from currency switcher widget

We have fixed the duplicate currency code display on the currency switcher widget, by removing the currency code when it's the same with the currency symbol. It only affects the text of the select input option texts, the values stay the same.

Before After

Testing instructions

  • Add some currencies that use the currency code as the symbol such as CHF (Swiss Franc) or DKK (Danish Krona)
  • Add some items to the cart, then go to the cart page
  • Check if the currency selector displays the currency codes for those currencies only once.

Test iDEAL payment method

iDEAL is the most used payment method in Netherlands.

This feature adds iDEAL as an available payment method when using UPE.

  • Adds the method into the UPE payment gateway
  • Adds all the different places in the client where is used, to enable the method, transactions info, checkout...

image

image

Testing instructions

  • Enable "grouped settings", "UPE checkout" and "UPE additional payment methods" in the WCPay Dev Utils
  • Add iDEAL as a payment method in "Payments accepted on checkout" in WooCommerce → Settings.
  • Choose Euro as a currency
  • Buy something
  • In the checkout you can select iDEAL and any bank to test
  • Test both succeeding and failing cases

Test P24 payment method

This feature adds the P24 payment method as a UPE provider to WooCommerce Payments. P24 is the most popular payment method in Poland, it supports PLN and EUR as payment currencies, also from their website, they support:

  • Card transaction processing on the merchant's website, the option of adapting the card form to the website/store layout,
  • One Click Payment - payment with a single click - with no need for the buyer to create an account in the payment service provider's system,
  • Supporting transactions in 50 currencies with no currency conversion fees - 1 to 1 payment,
  • DCC (Dynamic Currency Conversion) - this solution allows customers to make transactions in foreign currencies. A foreign card-holder may choose the currency for a given transaction but is charged the amount in his native currency. When this type of payment is made, the merchant receives a bonus - a refund of up to 1% of the transaction value,
  • Recurring payments which guarantee timely settlements with merchants who offer subscriptions, passes, etc.,
  • Card payments over the phone - IVR
  • Transfer of risk in case of fraud.

After the implementation, these screens now contain P24 elements:

Add Payment Method Modal
Add Payment Methods
Enabled Payment Methods List
Enabled Payment Methods
Payment Screen
Payment Screen

Testing instructions

  • Enable "grouped settings", "UPE checkout" and "UPE additional payment methods" in the WCPay Dev Utils
  • Go to WooCommerce > Settings > Payments And on this screen, find Payment Methods metabox
  • Check if you can see the P24 icon on the right of the Add Payment Method button.
  • Click the Add Payment Method button, select Przelewy24 (P24) and click Add selected.
  • Check if Przelewy24 (P24) is added to the Payment Methods list.
  • Go to your store and select your customer currency to EUR. Or if you don't have customer multi-currency, set your store currency to EUR from WooCommerce > Settings > General page.
  • Add some items to the cart, and proceed to checkout.
  • On the checkout page, select Use a different payment method radio button and wait for the UPE iframe to render.
  • Check if you can see Przelewy24 (P24) on the available payment methods list in the iframe.
  • Select P24 and on the new form below, select a bank.
  • Click Place Order button to complete the payment.
  • This should redirect you to Stripe's P24 test transaction page.

Test new onboarding flow

We are rolling out a (mostly behind-the-scenes) change to the onboarding – please perform some exploratory testing of the onboarding flows after first enabling the new flow on each new test site like this:

  • Install & activate the "Code Snippets" plugin, add the following code as a snippet, and activate the snippet:
add_filter(
	'wc_payments_get_oauth_data_args',
	function( $args ) {
		$args['_wcpay_connect_onboarding'] = true;
		return $args;
	}
);
Clone this wiki locally