Join GitHub today
Address Review always adds a new address #3784
The Address review step that's used by the Avalara tax package to verify addresses creates a new address every time. If a user is editing an existing address this causes problems because it creates a duplicate address.
When editing an address, the address review step should update the existing address.
It seems that this has been an issue since the Address Review step was added, as I can't find any evidence that we've ever had a conditional to update the address instead of adding another.
Here's the code where this seems to have been created: https://github.com/reactioncommerce/reaction/pull/2162/files#diff-d911c0fbda71d12469950456914e264aR88 and as you can see it's always calling
Steps to reproduce the behavior
** Note that there's another bug which will prevent you from even getting past the validation approval step. This PR seems to resolve that for me, so until it's merged you may need to manually resolve that issue.