Cash on Delivery Adapter

Cash on delivery payment method for the ecommerce plugin, with optional courier surcharge

Community 0 12/wk MIT v0.2.0

Installation

pnpm add payload-cod-adapter

About

Cash on Delivery lets shoppers pay in cash when the courier hands over the package. Checkout needs no payment gateway or redirect: the order is created as soon as the customer confirms, and guest shoppers can complete it too.

A fixed surcharge can be added to the cart total to cover the courier's handling fee, and the order keeps that amount. Orders start in processing. The transaction stays pending until the cash is collected, and that step happens outside this adapter.

Package info

Package name
payload-cod-adapter
Latest version
0.2.0
Unpacked size
116 kB
License
MIT
Weekly downloads
12
Last publish
Jul 16, 2026

More from blazeITHugo

View profile

Adds Comgate card, bank transfer and wallet payments to the ecommerce plugin

Shared order builder, pricing rules and guards for building payment adapters

Adds CorvusPay card checkout and refunds to the ecommerce plugin

Chat panel in the Payload admin where an AI assistant reads and edits content within user permissions

Similar adapters

More in Payments

Tpay payment methods for the ecommerce plugin: BLIK, transfers and cards

Adds Razorpay Checkout as a payment method in the Payload ecommerce plugin

Adds Adyen card and redirect payments to Payload Ecommerce checkout