Le Registry guest registration and later account linking

Goal
Allow customers to register bags on http://saclab.com/le-registry without creating or logging into an account. Registrations are stored against a verified email and automatically appear in My Account if the customer later creates or logs into an account with the same email. (similar to guest order)

User stories
As a customer, I can register a bag without creating an account by verifying my email, so I can finish quickly.
As a customer, if I later create an account with the same email, my previously registered bags appear in My Account.
As an admin, I can review and update the status of guest-submitted registrations.

Guest submit and verify
Given I am not logged in on le-registry and have filled all required fields
When I am on the log-in/sign up step

Then I should see “Continue as guest”

And When I choose Continue as guest and enter my email
Then a verification code is required
Then I receive a code at my email
When I submit the correct code within 15 minutes
Then my email is verified
And my registration is saved with status Submitted
And I see a confirmation with the ID number (as on AirTable)

Screenshot 2025-10-01 at 11.12.01.png

Guest submit with existing account email
Given an account already exists for my email
When I choose Continue as guest and verify my email
Then the registration is saved as Submitted
And when I next log in with that email
Then the registration appears in My Registered Bags

Screenshot 2025-10-01 at 11.13.37.png

Account linking on signup
Given I have one or more guest registrations verified for my email
When I create a new account with that same email and verify it
Then all matching registrations appear in My Account > Le Registry Registered Bags

Prevent unverified submissions
Given I have not verified my email
When I abandon before verifying
Then no Registry Record is visible to admins except as a draft with Pending email verification
And no confirmation email of submission is sent

Rate limiting
Given I have requested 5 verification codes in the last hour for the same email
When I request another code
Then I see a message to try again later

Duplicate detection flag
Given a registration exists with the same serial number
When I submit a new registration with that serial number
Then the system flags it as potential duplicate for admin review

Error handling
Given the verification code is wrong or expired
When I submit it
Then I see an error
And I can request a new code after cooldown

Comments

Leave a Reply