-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BOPS payload fixes and additions (#530)
* fix: ensure gov pay reference gets sent to bops * fix: use GOV_PAY_PASSPORT_KEY for passport payment key * feat: add payment_amount to bops payload * use formattedPriceWithCurrencySymbol * change sending payment to bops, include payment_amount * fix: send payment_amount as integer in pence to bops * refactor: put resetPreview with other useStore functions * Delete bops.test.ts * move store.resultData logic to getResultData to share functionality * return flag result in BOPS data * refactor: move various types to Send/model * fix: BOPS work_status derived from passport application.type * fix: wrap application.type in String() for bops payload check not a permanent solution but it fixes the issue right now * fix: ensure files[] exists for bops when pushing boundary file
- Loading branch information
Showing
10 changed files
with
437 additions
and
537 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.