Skip to content
New issue

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

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

Already on GitHub? # to your account

Confirm edited/validated destination address (UI layer) #15178

Open
3 tasks
rachelmcr opened this issue Feb 18, 2025 · 1 comment
Open
3 tasks

Confirm edited/validated destination address (UI layer) #15178

rachelmcr opened this issue Feb 18, 2025 · 1 comment
Labels
feature: shipping labels Related to creating, ordering, or printing shipping labels. type: task An internally driven task.

Comments

@rachelmcr
Copy link
Contributor

We need to update WooShippingEditAddressViewModel to handle the edited/validated destination address that the merchant confirms they want to use for the shipping label:

  • In remotelyValidateAddress(), update the onConfirm closure set for WooShippingNormalizeAddressViewModel to handle a confirmed destination address. (This is called when the merchant taps the "Confirm..." button on the Confirm Address screen.)
  • Add a method to remotely update the confirmed destination address, using the new "Update destination address" endpoint.
  • Add a closure to call when the remote update is completed, which passes the destination address back to the bottom sheet to display it as the "Ship From" address (and ensure the address is now shown as "verified").

Image

@rachelmcr rachelmcr added type: task An internally driven task. feature: shipping labels Related to creating, ordering, or printing shipping labels. labels Feb 18, 2025
@dangermattic
Copy link
Collaborator

Thanks for reporting! 👍

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
feature: shipping labels Related to creating, ordering, or printing shipping labels. type: task An internally driven task.
Projects
None yet
Development

No branches or pull requests

2 participants