Refunds

Records full and partial refunds per order line, with optional restock and audit trail

Community 1 142/wk MIT v1.0.2

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 profile

Coupon codes with percentage and fixed discounts for Payload ecommerce carts

Sells 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

Similar plugins

More in Commerce

Syncs Payload collections with Stripe customers and products, and handles Stripe webhooks

Adds products, carts, orders and Stripe checkout collections to Payload