Skip to content

LG-6872: Create USPS barcode using the user's enrollment code#6619

Merged
sheldon-b merged 6 commits intomainfrom
sbachstein/lg-6872-make-barcode-use-users-enrollment-code
Jul 22, 2022
Merged

LG-6872: Create USPS barcode using the user's enrollment code#6619
sheldon-b merged 6 commits intomainfrom
sbachstein/lg-6872-make-barcode-use-users-enrollment-code

Conversation

@sheldon-b
Copy link
Contributor

@sheldon-b sheldon-b commented Jul 21, 2022

#6615 made it so that when a user completes the IPP flow we will create a pending in-person enrollment record with the enrollment code we receive from the USPS. This PR updates the "Ready to verify" page to use that enrollment code rather than using a hard-coded value

Comment on lines +99 to +118
selected_location_details: {
'name' => 'BALTIMORE — Post Office™',
'streetAddress' => '900 E FAYETTE ST RM 118',
'city' => 'BALTIMORE',
'state' => 'MD',
'zip5' => '21233',
'zip4' => '9715',
'phone' => '555-123-6409',
'hours' => [
{
'weekdayHours' => '8:30 AM - 4:30 PM',
},
{
'saturdayHours' => '9:00 AM - 12:00 PM',
},
{
'sundayHours' => 'Closed',
},
],
},
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a temporary solution. Once the user's location selection is saved to the session we will begin using that value instead of this hard-coded value

@sheldon-b sheldon-b marked this pull request as ready for review July 21, 2022 23:11
@sheldon-b sheldon-b requested review from a team and tomas-nava and removed request for a team July 21, 2022 23:11
@sheldon-b sheldon-b changed the title (WIP) LG-6872: Create USPS barcode using the user's enrollment code LG-6872: Create USPS barcode using the user's enrollment code Jul 21, 2022
Copy link
Contributor

@tomas-nava tomas-nava left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approve!

If it's easy, I think it'd be worth setting current_address_matches_id when we create the enrollment; if it's a lot of work, we can do it in a new ticket/PR.

@sheldon-b sheldon-b merged commit 868a17a into main Jul 22, 2022
@sheldon-b sheldon-b deleted the sbachstein/lg-6872-make-barcode-use-users-enrollment-code branch July 22, 2022 18:08
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

Successfully merging this pull request may close these issues.

2 participants