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

Person Controller: Merge Duplicate can abandon Squarespace Orders #544

Open
arborrow opened this issue Jan 10, 2023 · 1 comment
Open

Person Controller: Merge Duplicate can abandon Squarespace Orders #544

arborrow opened this issue Jan 10, 2023 · 1 comment

Comments

@arborrow
Copy link
Owner

Consider the scenario when a new order comes in and a duplicate is accidentally created. The order is processed with a new id number which is stored as the contact_id. Then, it is discovered it is a duplicated and the contacts are merged into the older (existing) contact. The contact_id in the squarespace order table is currently not updated.

It would probably be good to define the relationship between contacts and squarespace orders. When merging, the contact_id field should be updated so as not to leave the Squarespace order with an abandoned contact. We could also add a database health check to make sure there are no abandoned squarespace orders.

@arborrow
Copy link
Owner Author

arborrow commented Jun 1, 2023

Just adding a note that we should also consider the possibility of abandoned gift certificates (purchaser_id or recipient_id).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant