Skip to content

Release testing instructions for WC Payments 4.5.0

Daniel Mallory edited this page Jul 19, 2022 · 22 revisions

Validate Pricing display on Payment Request pop-ups

  • In WooCommerce > Settings > Tax, set up tax rate with and without shipping tax
  • Set up different combinations of the Tax options
    • Prices entered with tax (Exclusive / Inclusive)
    • Display prices in the shop (Excluding Tax / Including Tax)
    • Display prices during cart and checkout (Excluding Tax / Including Tax)
  • Validate the pricing displayed in Apple Pay and Google Pay Payment Request pop-ups in Product, Cart and Checkout Page
  • The prices displayed should be consistent and accurate, avoid confusion.

Validate explicit currency format in admin

  • Go to WooCommerce > Settings, scroll to Currency Options and configure it like this:
    • Currency: United States (US) dollar ($)
    • Currency position: Left
    • Thousand separator: ,
    • Decimal separator: .
    • Number of decimals: 2
  • Add MOP and EUR in WooCommerce > Settings > MultiCurrency.
  • Place an order over 1,000.00 with each currency.
  • Price formats should match the following table:
Price USD  MOP EUR
WooCommerce > Orders Total $1,234.56 USD 1,234.56 P MOP 1,234.56 € EUR
Payments > Transactions Amount (tooltip for not USD) $1,234.56 USD P1,234.56 MOP €1,234.56 EUR
  • Remove all currencies from WooCommerce > Settings > MultiCurrency.
  • Price formats should match the following table now:
Price USD  MOP EUR
WooCommerce > Orders Total $1,234.56 P1,234.56 €1,234.56
Payments > Transactions Amount (tooltip for not USD) $1,234.56 P1,234.56 €1,234.56

Validate Customer Currency Filters work as expected.

  • Add at least one extra currency in WooCommerce > Settings > Multi Currency. For example, if USD is the store currency, add EUR and GPB as well and save the change.
  • Place an order in the store using each currency that is supported.
  • Go to Payments > Transactions.
  • Verify that all of the orders you made have a corresponding entry in the transactions table.
  • On the Show dropdown, select Advanced Filters. Add the Customer Currency filter, use the Is filter, and filter by currency. When filtered, only orders which were placed in the selected currency should display in the transactions list.
  • Also test with the Is Not filter. When this is selected, only orders NOT placed in the selected currency should appear in the transactions list.

Make adding fee details to order notes async

  • Follow the normal checkout flow and look at the order details screen in the WooCommerce tab.
  • Go to Tools > Scheduled actions > search for this job with wcpay_add_fee_breakdown_to_order_notes and select Run for running the action.
  • Ensure there is a separate order note added to the order with Fee details.

Make updating saved payment methods async

  • Follow the normal checkout flow using a saved payment method.
  • Ensure there is a scheduled action created as wcpay_update_saved_payment_method in Scheduled Actions (Tools > Scheduled Actions)
  • Run the action and ensure there are no errors, additionally check logs to ensure a POST wcpay/payment_methods/{{payment_method}} call was made.

Validate multicurrency shipping tax conversion

WooCommerce > Settings

  • General
    • Enable tax rates and calculations
    • Currency: United States (US) dollar $
  • Shipping > Everywhere > Flat Rate
    • Tax status: Taxable
    • Cost: 5
  • Multi-currency > Euro
    • Exchange rate: Manual
    • Manual rate: 0.91
    • Price rounding: 1.00 (recommended)
    • Charm pricing: none
  • Tax
    • Tax options
      • Prices entered with tax: No, I will enter prices exclusive of tax
      • Display prices during cart and checkout: Excluding tax
    • Standard rates
Country Code State code Postcode / ZIP City Rate % Tax name Priority Compound  Shipping
* * * * 10.0 Tax 1
  • Add a shipping taxable product to your cart and go there.
  • Switch currency to EUR.
  • Flat rate shipping should be 5,00 €.
  • Tax should be 0,50 €.
  • Check that shipping and shipping taxes also work as expected with:
    • Subscriptions
    • Advanced shipping rates cost, using formulas like 10 + [fee percent="10" min_fee="5"].

Redirect to payment intent id on transaction detail screen

  • Perform an order on your test shop
  • Go to WooCommerce > Orders and open the order that you have made
  • Click on the Payment Intent ID link (Which starts with "pi_")
  • The "id" query param on the URL should start with "ch_" and then redirect to the "pi_" equivalent
  • It should load the transaction details after the redirect

Test support for filtering customer currency in analytics

  • With Multi Currency enabled, make an order on your test store in a currency other than the store default.
  • Make another order on your test store using the default currency.
  • Wait 5 minutes (the cache may need time to update).
  • Go to Analytics > Orders, verify you can see the Customer currency dropdown. Verify that the dropdown contains the store default currency, and the currency you just used as options.
  • Test that the filter works as expected by selecting each option and verifying the data looks as expected.
    • If a currency is selected, you should only be able to see orders made in that particular currency, and the summary total values should reflect this.
    • If 'All currencies' is selected, all orders should be displayed, regardless of the currency that was used.
Clone this wiki locally