Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG REPORT: Broken postal code validation on Edit Address #117

Open
tsopin opened this issue Aug 20, 2024 · 1 comment
Open

BUG REPORT: Broken postal code validation on Edit Address #117

tsopin opened this issue Aug 20, 2024 · 1 comment
Assignees
Labels
Bug Something isn't working

Comments

@tsopin
Copy link

tsopin commented Aug 20, 2024

What area is the issue related to?

Checkout Sheet Kit

What platform does the issue affect?

All platforms

What version of @shopify/checkout-sheet-kit are you using?

3.0.3

Do you have reproducible example code?

No response

Steps to Reproduce

  1. Sign in to a customer account.
  2. Add an address with an invalid postal code (either an incorrect format or a postal code from a different province).
  3. Attach the buyer's identity to the cart.
  4. Open the Shopify Checkout Sheet.
  5. Notice the banner suggesting you update the invalid address.
  6. Tap on the banner.
  7. Attempt to edit the address: search and select from the autocomplete options or manually enter the postal code.
  8. Observe the postal code validation error.

Expected Behavior

The postal code field should accept the correct postal code without validation errors.

Actual Behavior

When the saved customer address attached to the buyer's identity has an invalid postal code, the Checkout Sheet displays an error banner prompting the user to update the address.

On the Edit Address screen, the postal code field consistently returns a validation error, regardless of whether the postal code was autofilled using the address autocomplete from the search field, pasted, or manually typed.

Storefront domain

https://shop.reactivapp.com/

Screenshots/Videos/Log output

Image

@tsopin tsopin added Bug Something isn't working untriaged labels Aug 20, 2024
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs in 30 days. Thank you for your contributions.

@github-actions github-actions bot added the stale label Sep 20, 2024
@kiftio kiftio self-assigned this Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants