Closed jaclync closed 1 week ago
📲 You can test the changes from this Pull Request in WooCommerce iOS by scanning the QR code below to install the corresponding build.
App Name | WooCommerce iOS | |
Build Number | pr14383-1f02e51 | |
Version | 21.1 | |
Bundle ID | com.automattic.alpha.woocommerce | |
Commit | 1f02e51a4a700ddfe2dd72ee9cdad1ea5ac5b31e | |
App Center Build | WooCommerce - Prototype Builds #11531 |
Automatticians: You can use our internal self-serve MC tool to give yourself access to App Center if needed.
Closes: #14367
Why
When the POS payments onboarding feature flag is enabled, the site checks (country and currency) function isn't invoked because it's currently under the onboarding state publisher. Therefore, stores with unsupported country/currency can still access POS when the onboarding feature flag is enabled (false in production, so the issue isn't expected to affect production users).
How
First, test cases were added/updated so that the new cases with the payments onboarding feature flag fail without any changes. Then, the site checks are included as a filter on the returned published whenever the WC version or the remote feature flag changes.
Steps to reproduce
Testing information
RELEASE-NOTES.txt
if necessary.Reviewer (or Author, in the case of optional code reviews):
Please make sure these conditions are met before approving the PR, or request changes if the PR needs improvement: