-
Notifications
You must be signed in to change notification settings - Fork 69
Release testing instructions for WC Payments 8.5.0
Daniel Guerra edited this page Nov 8, 2024
·
4 revisions
- Make sure you have Multi-currency enabled under Payments > Settings > Advanced Settings.
- Make sure you have a few currencies added, at least one zero decimal currency like JPY or CLP and the multi-currency switcher is enabled under WooCommerce > Settings > Multi-currency.
- Create a simple subscription product with a signup fee.
- Create a variable subscription product with a signup fee, make sure that it has at least 2 variations with different prices, such as 10/month and 20/month.
- Under Marketing > Coupons, create a Recurring Product Discount coupon that is less than the amount of the products you're going to use for testing.
- Create a Recurring Product % Discount coupon.
- Add the Flat Rate shipping method to the shipping zone you plan to use for testing. Note that if you do not specify a region for a shipping zone, it applies to everywhere :)
- Make sure you have Early Renewals enabled under WooCommerce > Settings > Subscriptions.
- Go to WooCommerce > Settings > Subscriptions and enable switching, also setting to prorate recurring payment for upgrades and downgrades.
- Navigate to the shop page.
- Confirm your subscription products have the proper converted prices and signup fees. Pay attention to the price formatting.
- Navigate into each product.
- Confirm the product prices and signup fees are converted correctly.
- When selecting a variation option for the variable subscription, confirm the proper converted price is shown below the variation select box.
- Add each product to your cart and proceed to the cart page.
- Confirm each product is properly converted in the cart line items.
- Confirm recurring shipping costs are converted correctly.
- Proceed to checkout.
- Confirm each product is properly converted in the checkout line items.
- Confirm recurring shipping costs are converted correctly.
- Check out.
- Confirm the product and shipping costs on the order confirmation page are still converted correctly.
- Change the currency.
- Confirm the currency for the order review is still the currency selected at the time of order.
- Navigate to My Account > Orders, and then to your new order.
- Confirm the currency for the order is still the currency selected at the time of order.
- Navigate to WooCommerce > Subscriptions, and click into one of your new subscriptions.
- Use Subscription actions at the top right to Create pending renewal order and click the arrow button.
- Navigate to the new order through the link in the Order notes.
- The order will have a Customer payment page link above the Status, click that link.
- Currency switcher widget should be hidden.
- Confirm that the checkout page has the correct costs listed.
- Shipping costs and taxes should still convert correctly.
- All other products in the shop should still convert correctly.
- You should be able to add a simple product to the cart with the proper conversion.
- Navigate to WooCommerce > Subscriptions.
- Hover over one of your new subscriptions and click Cancel, once the page refreshes hover again and choose Cancel Now.
- Navigate to My Account > Subscriptions, and then click View for the cancelled subscription.
- Click the Resubscribe button.
- Confirm the subscription added to the cart has the correct price.
- Confirm the currency switcher widget is hidden.
- Purchase your simple subscription product with the_Recurring Product Discount_ coupon created
- Go to My Account > Subscriptions, and then that new subscription.
- Click Renew now, and confirm the coupon amount and subscription cost are correct.
Secondary test:
- Navigate to WooCommerce > Subscriptions in the admin.
- Select the subscription from above.
- Under Subscriptions actions in the top, right corner, select Create pending renewal order and then click the little arrow or Update.
- A new order will be created, and a link to it will be in the Subscription notes, click the link to go to that order.
- There will be a Customer payment page link above the Status select box, click that.
- Verify that the coupon amount has not been converted a second time.
- Enable Klarna, Affirm and/or Afterpay (some may or not be available depending on the country if the WooPayments account, US is preferred).
- Add a product and go to the checkout page
- Pay with a declined card 4000000000000002 - the error should occur which is expected
- Navigate to My account -> Orders and click Pay button in Actions column for the latest order
- Verify that the BNPL (Klarna, Affirm, Afterpay/Clearpay) payment methods that were enabled are visible on the page.
- Note: All of these payment methods have transaction limits that will automatically toggle their visibility. For example, for US Accounts using USD, Affirm will only be visible in Orders over USD$50.00
- Click on each one of them. Verify that the contents are properly rendered, and that the order information is prefilled when applicable.
Klarna | Afterpay | Affirm |
---|---|---|
![]() |
![]() |
![]() |
- Use each one of these payment methods to place the order, validate that the order is successfully paid.
- You'll need to repeat the first 3 steps to generate more orders to pay.