-
Notifications
You must be signed in to change notification settings - Fork 69
Release testing instructions for WC Payments 4.4.0
Stripe Link payment method was recently added in version 4.1.0 The same functionality as on regular checkout is now implemented also for blocks.
Testing instructions
- Make sure that the classic checkout is not broken. This includes Stripe Link payment method.
- Install https://github.com/woocommerce/woocommerce-blocks plugin
- Create a new checkout page with it
- Retry all of the tests from the classic checkout within the checkout block (this includes also Stripe Link payment method) .
Test that credit card loader element works as before and no changes observed in
- Checkout
- Blocks Checkout
- Subscription Payment
- Any other pages showing payment form.
- On different popular themes
Test multicurrency subscription renewal, switch and re-subscribe (related pull request)
This test requires WooCommerce Subscriptions installed and active, and Storefront theme.
- Onboard WooCommerce Payments and install and activate WC Subscriptions.
- Publish a subscription product:
- Go to WooCommerce admin dashboard, click
Products > Add New
in sidebar. - Type a product name e.g.
Coffee Subscription
. - Scroll down to
Product data
box and selectSimple subscription
fromProduct type
dropdown. - Enter a price e.g.
20
inSubscription price ($)
field. - Select a renewal term, e.g.
every
day
.
- Set up multi currency. Needs to be activated in Woo settings and WCPay, and a currency switcher displayed for customer on store front end.
- In WooCommerce admin dashboard, go to
Payments > Settings
. - Click
Multi-currency
tab. - Click
Add currencies
and add one or more additional currencies, e.g. Yen, Euro etc. - Scroll down to
Store settings
. - Ensure
Add a currency switcher to the Storefront theme on breadcrumb section.
. - Click
Save changes
.
You should now have a subscription product in your store that shoppers can purchase in their chosen currency.
- Complete prerequisite setup above.
- Purchase a subscription in customer currency (not store default).
- Go to subscription in admin dashboard.
- Select action
Create pending renewal order
, clickUpdate
. - As customer, go to
My account
, clickSubscriptions
, scroll down toRelated orders
. - Click
Pay
. Confirm correct (customer) currency is displayed in checkout.
- Complete prerequisite setup above.
- In
WooCommerce > Settings > Subscriptions
, enable bothAllow switching
options. (See below pic) - Set up subscription products that subscriber can switch between (aka upgrade/downgrade). Easiest way is setting up a variable subscription product with 2 or more levels (e.g.
Basic | Pro
attribute). Can also switch between grouped products.- Click on
Products > Add new
in WooCommerce admin dashboard sidebar. - Type a product name e.g.
Coffee Subscription
. - Scroll down to
Product data
box and selectVariable subscription
fromProduct type
dropdown. - Click
Attributes
. - Click
Add
next toCustom product attribute
dropdown. - Type
Level
inName:
box. - Type
Basic | Regular | Pro
inValue(s)
box. - Check
Used for variations
checkbox. - Click
Save attributes
. - Click
Variations
. - Select
Create variations from all attributes
from dropdown and clickGo
. ClickOK
inAre you sure…
modal to continue. ClickOK
in3 variations added
modal. - Click disclosure triangle (on right) in first variation and add a price in
Subscription price ($)
field. - Repeat for all variations.
- Click
Save changes
. - Scroll up to top of page and click
Publish
on right to publish the variable subscription product.
- Click on
- As shopper, subscribe to one of the variation products.
- Go to
My account
, clickSubscriptions
. - Click switchable subscription to view details/options.
- Click
Upgrade or Downgrade
. Select a variation to switch to and clickSwitch subscription
. Confirm correct (customer) currency is displayed in checkout.
- Complete prerequisite setup above.
- Purchase a subscription in customer currency (not store default).
- Go to subscription in admin dashboard.
- Click
Cancel
for the subscription. Subscription should now be cancelled, so shopper can resubscribe. - As customer, go to
My account
, clickSubscriptions
- Click
Resubscribe
. Refer to docs for details - resubscribing is a kind of renewal. - Confirm correct (customer) currency is displayed in checkout.
When a payment is disputed and needs a response, an notification indicator will now appear on the Payments → Disputes admin menu item and by default navigating to the disputes screen will list disputes which need a response.
Note: There will be some data lagginess caused by server delays when testing the following flows, we'll attempt to improve this in a future release.
Testing instructions
- Purchase of any simple product through the frontend checkout flow using a disputed payment method. eg (card:
4000000000000259
) - Complete a second purchase using a different disputed payment method (card:
4000000000001976
) - Go to the WooCommerce admin dashboard.
- Navigate to the Payments menu.
You should see a red bubble next to the Payments → Disputes submenu item indicating you have 2 disputed payments which need a response.
- Click on the Disputes menu item.
The the disputes list screen will be shown and only list disputes which need a response.
- Click on one of the disputes.
- Accept the dispute by clicking Accept dispute. When prompted click Ok.
- Refresh the next page as it will still list the dispute you just accepted.
- This is due to the server delays I mentioned.
The list table should now only list 1 dispute and the notification indicator in the menu navigation should now only reference 1 dispute.
- Follow the steps above to Accept the last remaining dispute.
- Remember to refresh the page after accepting the dispute.
The list table should now be empty and the notification indicator in the menu navigation should be gone.
- Now that there aren't any disputes which need a response, click on the Payments → Disputes menu item.
The user will will now be directed to a table that will all disputes (Won, lost, etc).
- Navigate to
{your_site}/wp-admin/admin.php?wcpay-link-handler&type=invalid_type
- Make sure you're redirected to the overview page and an error notice is displayed
- Navigate to
{your_site}/wp-admin/admin.php?wcpay-link-handler&type=login_link
- Make sure you're redirected to Stripe's express dashboard
- Open
{your_site}/wp-admin/admin.php?wcpay-link-handler&type=login_link
in an incognito tab- Check that you're prompted for the admin's credentials
- Enter the credentials and make sure that you're redirected to the express dashboard