Skip to content

Commit

Permalink
fix: update docs and comments to remove outdated information
Browse files Browse the repository at this point in the history
address verification used to be a part of the hosted verification flow,
but no longer is
  • Loading branch information
angela-tran committed Dec 7, 2023
1 parent 6c9149b commit 90be6de
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions benefits/enrollment/templates/enrollment/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ <h1 class="pb-lg-8 pb-4">
},
onTokenize: function (response) {
/* This function executes when the
/* card/address verification returns
/* card verification returns
/* successfully with a token from enrollment server */
amplitude.getInstance().logEvent(closedEvent, {status: "success"});

Expand All @@ -67,7 +67,7 @@ <h1 class="pb-lg-8 pb-4">
},
onVerificationFailure: function (response) {
/* This function executes when the
/* card/address verification fails and server
/* card verification fails and server
/* return verification failure message */
amplitude.getInstance().logEvent(closedEvent, {status: "fail"});

Expand Down
6 changes: 3 additions & 3 deletions docs/use-cases/system-use-cases.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The use cases documented on this page focus on how the system is supposed to wor
- Transit rider has their contactless card information available
- Benefits app is able to contact the payment processor

**Trigger**: Transit rider initiates the enrollment process
**Trigger**: Transit rider initiates the enrollment phase

**Basic flow**:

Expand All @@ -22,8 +22,8 @@ The use cases documented on this page focus on how the system is supposed to wor

**Alternate flows**:

- 3a. Payment processor returns with one of the following errors: address verification failed, token is invalid, or general server error
- 3a1. Transit rider chooses to retry, starting back at initiating the enrollment process
- 3a. Payment processor returns with one of the following errors: card verification failed, token is invalid, or general server error
- 3a1. Transit rider chooses to retry, starting back at initiating the enrollment phase
- 3b1. Transit rider leaves the Benefits app

**Postconditions**:
Expand Down

0 comments on commit 90be6de

Please sign in to comment.