-
Notifications
You must be signed in to change notification settings - Fork 9
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
Feat: in-person enrollment view #2340
Conversation
Coverage reportClick to see where and how coverage changed
This report was generated by python-coverage-comment-action |
52c6ef4
to
8294377
Compare
c55d54b
to
b06ea93
Compare
rather than ones from the enrollment app
this is needed so in_person can show its own error templates and because in_person shouldn't necessarily be bound by the same middleware that the eligibility app's /token endpoint is bound by.
the card tokenization flow listens for the `element`'s click event before it will set the iframe `src`. use a Promise to wait for the card tokenization function to finish and then programmatically click the button which is not displayed to the user.
b06ea93
to
a1929af
Compare
@machikoyasuda It looks like your transit processor is configured with sample values ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work @angela-tran! I tested locally and everything worked as expected up until the Littlepay issue.
@angela-tran oooh, of course, thank you! will review again. |
Part of #2244
This PR implements the
enrollment
view:GET
andPOST
requests to/in_person/enrollment
The templates which this view redirects to are all blank. A separate PR will implement
in_person/enrollment/success.html
, and #2345 will implement the error templates.This PR also does not include sending analytic events since #2245 will do that.
Testing locally
is_staff
:GOOGLE_SSO_STAFF_LIST
environment variable to*
GOOGLE_SSO_ALLOWABLE_DOMAINS
environment variable iscompiler.la
/admin
Note: there is currently an issue in the Littlepay QA environment preventing us from finishing enrollment - see #2365. But if it were working, you would successfully enroll and be redirected to a blank success template.
Screenshots
Expand