Coupon codes with percentage and fixed discounts for Payload ecommerce carts
Refunds
Records full and partial refunds per order line, with optional restock and audit trail
Installation
pnpm add payload-refunds About
Refunds adds full and partial refunds to orders from the ecommerce plugin, tracked per line item. Each refund is a record you create against an order, and the order keeps running totals of what has been refunded and what can still be refunded, so those numbers stay correct however many refunds are made. Refunded units can be returned to stock, and the refund history is append-only, so past records cannot be altered.
Amounts are kept as whole minor units, so partial refunds never pick up rounding errors. The package adds no admin screens, so refunds are created from code or the API rather than from a button in the dashboard.
Package info
- Package name
payload-refunds- Latest version
1.0.2- Unpacked size
- 54 kB
- License
- MIT
- Weekly downloads
- 142
- Last publish
- Nov 17, 2026
More from Poseidonas
View profileSells digital products with signed download links that expire and stop on refund
Adds order states, status history, internal notes and tracking to orders
Sends transactional emails when orders are created or change status
Sequential, human readable order numbers that stay unique under concurrency
Customer product reviews with verified purchase badges and moderated star ratings