\uD83D\uDDD3 Date
\uD83D\uDC65 Participants
...
\uD83E\uDD45 Goals
Review the complexities and challenges
Designs
Figma: Burger King
https://rbidigital.slack.com/archives/C05RQBE90C9/p1694083887304829
\uD83D\uDDE3 Challenges
Storing User Data- cognito-
Based on the 2023-08-24 Guest checkout PoC works we go with the approach of not creating the User entity in the Cognito and DB. All Guest data will be stored in the Order DB entry.
Overall Complexity
Table of Contents |
---|
Overall Complexity
How to save these customers in the database and how to handle the case when such customers return again for an additional purchase.
Lots of services rely on user data, therefore there is a high level of dependency if we decided to store user information in User entries (record = sk= v0_User in monotable) - we’d have to figure out how other services can consume guest data
Eventually, based on the 2023-08-24 Guest checkout PoC works we went with the approach of not creating the User entity in the Cognito and DB. All Guest data will be stored in the Order DB entry.
Database does not allow for adding multiple users with the same e-mail address
(it’s not a problem anymore since we don’t store the guest data within the user entries in monotable)
We need to create functionalities that are usable for all markets and due to architectural differences per market (transition from
whitelabel-gql
tofulfillment-service
, currently DE useswhitelabel-gql
but will have to transition tofulfillment-service
eventually) , this posed a need for code duality since the code needs to be created in both places.
Legal Requirements
...
How to treat guest users?
Our initial approach required creating a “fake/dummy” user for the guests- in this case we’d had to determine how to authenticate guest users (dummy sessions)- once user enters checkout, we create that’d involve creating an account in the background, once user enters checkout, but the account would be created with a dummy email, their real email would be stored in meta of order entries -It’s be problematic if they did not finalize an order, because in this case we don’t have the right to retain their data- Decision
decision was to store guest data in Order meta data.
We had to determine what to do with the session if a user abandons the checkout process- should we hold on to the cart data.
We cannot store guest information in our marketing tools- need to find an alternative way to provide them with transactional emails
Transitioning transactional emails from Braze to AWS SES - dependency on another internal team- yet to do
Initially we thought we should not pass data to mParticle but we have decided that we’ll still collect events but with anonymous guestID, assuring that it does not get passed on to Braze.
Yet To be determined
...
Decision on whether to allow a user to checkout as a guest with an email that's already registered
recommendation: to optimize conversion that’d be advisable
Legal copy for terms and conditions + Privacy Policy for a new static page
Decision on consent- storing
User may be unable to inform the kitchen they have arrived if they abandon the confirmation page -. User does not have any order reference number, and once confirmation is closed they cannot click I arrivedon the “I arrived” button, they have no way to retrieve this page.
One solution is to send a unique link via email to retrieve the confirmation page, however this would require the token to be passed which increases the complexity.
Another solution is to include a warning modal upon exit.
Instrumentation and - adding appropriate events to track success metricsnew events capturing new user interactions
Still a few non-critical designs and design adjustments are pending
Support Tool adjustment is not required at this moment as DE market users VR Payments directly to perform Customer Support actions, however it’ll be required for the loyalty launch if Support tool is intended to be used from that time on for refunds etc.
...
How to store user data on the FE, prevent certain functionalities that are dedicated for registered users (for example: loyalty, so far adjusted only for registered users)
Modifying sign in flow to a modal is quite complex
Additional considerations
Showcase email for verification purposes to users to avoid errors in email addresses
Allow for email address edit during the process
Marketing consent excluded - high complexity, how to process and store this data
Some of the estimations are split into two partswhitelabel-gql
(one large repo, one app, andfulfillment-service
(separate services, easier mangement, clear domain borders). It's because some markets use whitelabel and some of them the fulfillment service or it's mixed. Because of that, we have the same functionalities in the two places. We could think about skipping the whitelabel part and implementing it only in the fulfillment service, but it requires the rollout of the fulfillment service. We have this movement in the plans: TRX-655: Tech Debt Fulfilment Service RolloutTO DO
...
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|
...
2 MD
...
Engagement Team
...
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|
...
whitelabel-gql: 1MD
fulfillment-service: 2MD
...
Transactions Team
...
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|
...
whitelabel-gql: 2MD
fulfillment-service: 3MD
...
Transactions Team
...
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|
...
2 MD
...
Transactions Team
...
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|
...
3 MD
...
Transactions Team
...
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|
...
3 MD
...
Transactions Team
...
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|
...
14 MD [guesstimate - estimation without a SPIKE]
...
Haris' Team -
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|
...
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|
...
21 MD [guesstimate - estimation without a SPIKE]
...
...
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|
...
whitelabel-gql: 2 MD
fulfillment-service: 3 MD
...
Transactions Team
...
[added 2023-09-13]
Add metrics to track the success rate
Not ticketed yet (waiting for more spec) - thread
✅ Action items
...