Skip to content

Conversation

@Konamiman
Copy link
Contributor

All Submissions:

Changes proposed in this Pull Request:

Fixes #34911 by completing the change implemented in #34014

Closes #34911.

How to test the changes in this Pull Request:

In WooCommerce 7.0 RC try to place and order with Saint Martin (French part) as the country in the billing of shipping address. Without the fix you'll get a "State is required" error and you're stuck. With the fix the order is placed successfully.

Other information:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your changes, as applicable?
  • Have you successfully run tests with your changes locally?
  • Have you created a changelog file for each project being changed, ie pnpm --filter=<project> run changelog add?

FOR PR REVIEWER ONLY:

  • I have reviewed that everything is sanitized/escaped appropriately for any SQL or XSS injection possibilities. I made sure Linting is not ignored or disabled.

@Konamiman Konamiman added this to the 7.0.0 milestone Oct 3, 2022
@Konamiman Konamiman self-assigned this Oct 3, 2022
@Konamiman Konamiman requested a review from peterfabian October 3, 2022 07:48
@github-actions github-actions bot added the plugin: woocommerce Issues related to the WooCommerce Core plugin. label Oct 3, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Oct 3, 2022

Test Results Summary

Commit SHA: 780b14a

Test 🧪Passed ✅Failed 🚨Broken 🚧Skipped ⏭️Unknown ❔Total 📊Duration ⏱️
API Tests11800201200m 52s
E2E Tests187002018913m 12s
To view the full API test report, click here.
To view the full E2E test report, click here.
To view all test reports, visit the WooCommerce Test Reports Dashboard.

Copy link
Contributor

@peterfabian peterfabian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works as advertised. Thanks!

@peterfabian
Copy link
Contributor

Tests passed, so merging.

@peterfabian peterfabian merged commit 2e9ed0e into trunk Oct 3, 2022
@peterfabian peterfabian deleted the fix/34911 branch October 3, 2022 09:26
@github-actions
Copy link
Contributor

github-actions bot commented Oct 3, 2022

Hi @peterfabian, thanks for merging this pull request. Please take a look at these follow-up tasks you may need to perform:

  • Add the release: add testing instructions label

github-actions bot pushed a commit that referenced this pull request Oct 3, 2022
roykho added a commit that referenced this pull request Oct 3, 2022
* Fix: can't place orders for Saint Martin (#34920)

* Prep for cherry pick 34920

Co-authored-by: Néstor Soriano <[email protected]>
Co-authored-by: WooCommerce Bot <[email protected]>
Co-authored-by: Roy Ho <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

plugin: woocommerce Issues related to the WooCommerce Core plugin.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Saint Martin - Not possible to place order due to hidden state field

3 participants