ef-cms icon indicating copy to clipboard operation
ef-cms copied to clipboard

[Pay.gov] Publish Payment Portal/Test Server to NPM

Open cholly75 opened this issue 4 months ago • 2 comments

Currently there are two repos that facilitate payments with Pay.gov for US Tax Court applications.

  • The Payment Portal - https://github.com/ustaxcourt/ustc-payment-portal
  • The Pay.gov Test Server - https://github.com/ustaxcourt/ustc-pay-gov-test-server

These are independent applications that both can be run locally as well as deployed infrastructure in AWS. Development on these will be active as we ready DAWSON for processing payments with Pay.gov. In order to equip DAWSON developers with the latest versions of these, we're going to be adding them as a developer dependency.

In order to do that, we are exploring publishing these on npmjs.org. Currently, another USTC repo publishes to npmjs.org as the codebase evolves. So, to reduce the burden of overhead, we'd like to adopt a similar approach for publishing them.

Pre-Conditions

Acceptance Criteria

  • [ ] ustc-payment-portal has a documented approach to publish versioned updates to npmjs.org making them available to be installed via npm install.
  • [ ] ustc-pay-gov-test-server has a documented approach to publish versioned updates to npmjs.org making them available to be installed via npm install.

Notes

Tasks

Test Cases

Definition of Done (Updated 01-16-24)

Product Owner

  • [ ] Acceptance criteria have been met and validated on the Court's test environment
  • [ ] Add scenario to testing document, if applicable (https://docs.google.com/spreadsheets/d/1FUHKC_YrT-PosaWD5gRVmsDzI1HS_U-8CyMIb-qX9EA/edit?usp=sharing)

Engineering

  • [ ] Automated test scripts have been written, including visual tests for newly added PDFs.
  • [ ] Field level and page level validation errors (front-end and server-side) integrated and functioning.
  • [ ] New screens have been added to cypress accessibility axe
  • [ ] All new functionality verified to work with keyboard and macOS voiceover https://www.apple.com/voiceover/info/guide/_1124.html.
  • [ ] Swagger docs have been updated if API endpoints have been added or updated.
  • [ ] UI should be touch optimized and responsive for external users.
  • [ ] Interactors should validate entities before calling persistence methods.
  • [ ] Features have been optimized where possible to reduce response times. For example, reducing api response times, parallelizing client network calls, optimizing database reads, etc.
  • [ ] Types have been added to all added and updated functions.
  • [ ] Code refactored for clarity and to remove any known technical debt.
  • [ ] Acceptance criteria for the story has been met.
  • [ ] If there are special instructions in order to deploy into the next environment, add them as a comment in the story.
  • [ ] Code that resides in the shared folder that only runs on the API or browser has been moved to either /web-client or /web-api.

cholly75 avatar Dec 10 '25 18:12 cholly75