Book refunds from amount_refunded #51
devboxes Bot reviewed 2 minutes ago View reviewed changes
All checks have passed
3 successful checks
- CI / Lint (pull_request) Details
- CI / Typecheck (pull_request) Details
- CI / Tests (pull_request) Details
This branch has no conflicts with the base branch
Merging can be performed automatically.
You can also merge this with the command line.
Files changed 2
-
src/payments/stripe-webhooks.ts+21 −7 -
test/refund-webhook.test.ts+64 −0
devboxes Bot left a comment Author
A full refund books once, a partial refund books only the new part, and a replayed event books nothing.