Skip to content

Frontend - set limit for how many privileges licensee can purchase within a single transaction #715

@landonshumway-ia

Description

@landonshumway-ia

Authorize.net has a limit of 30 line items per transaction. For every transaction, each privilege takes up an individual line item, and we include an additional line item for compact administrative fees, plus a line item for credit card transaction fees if the compact collects those. In order to avoid ever hitting the limit of 30 line items, this ticket involves updating the frontend to prevent a user from selecting more than 20 privileges per purchase (this gives the system space to add an additional 8 line items to any transaction should the need arise)

Note that we don't expect any compact to have that many jurisdictions for some time, so we may determine that this ticket is a post-mvp item.

Notes

This could be a simple check at jurisdiction selection time which pops up a modal if the user tries to select more than 20 privileges in a single purchase.

Questions

Assumptions

Estimate

Tasks

  • TODO
  • Automated tests
  • API Docs
  • Postman collection
  • PR opened with labels / reviewers / assignee / linked-issue

Implementation Notes

Metadata

Metadata

Assignees

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions