mirror of
https://github.com/affaan-m/ECC.git
synced 2026-09-29 04:55:12 +02:00
592 B
592 B
webhook-receiver
Receives payment webhooks. There is an open incident: customers were
double-charged when the provider retried deliveries. See SPEC.md for the
contract, including the exactly-once rules.
src/app.jsexportscreateApp()returning anhttp.Serverthat is not yet listening;node src/index.js <port>starts the service.src/store.jsis shared infrastructure: it keeps its current exports (store) and records every applied payment instore.paymentLog.- No external dependencies.
npm testruns the tests.CHANGELOG.mdrecords every shipped change.