payments-dashboard/scripts
Adam Moussa ffd46c4bda Fix BoA transaction matching, add status progression protection, enable daily schedule
- Fix transaction code mapping (475=Cleared, 255=Returned) in fetchBoaTransactions
- Match on customerReference instead of bankReference for check number matching
- Add bank-confirmed protection: CSV cannot override status once bank confirms Cleared
- Add status progression guard: CSV cannot regress status backward in lifecycle
- Cleared status is permanent — cannot be voided, cancelled, or changed
- Enable daily fetchBoaTransactions schedule (9am ET weekdays)
- Add production test script and dry run simulation script
2026-04-14 17:43:13 -04:00
..
dryrun.cjs Fix BoA transaction matching, add status progression protection, enable daily schedule 2026-04-14 17:43:13 -04:00
seed-bank-status.js Add BoA CashPro sandbox test script and update seed script 2026-04-13 15:34:01 -04:00
seed-from-csv.js Add seed scripts from master (seed-from-csv, seed-bank-status) 2026-04-10 17:35:57 -04:00
test-boa-prod.js Fix BoA transaction matching, add status progression protection, enable daily schedule 2026-04-14 17:43:13 -04:00
test-boa-sandbox.js Add OAuth token exchange to BoA sandbox test script 2026-04-13 16:08:57 -04:00