Official Payload ecommerce plugin providing a set of utilities for building shops. Stripe confirmation is idempotent per transaction, so retries return the same order and public transaction ID. A pending transaction is atomically claimed before the order is created, the cart updated and inventory decremented. PostgreSQL users must apply a migration adding a processing status; MongoDB and SQLite need none.
Ecommerce plugin for Payload
Installation
npm i @payloadcms/plugin-ecommerce46.1k
Stars
4.5k
Forks
1821
Open Issues
Today
Last Updated
19.0k
Weekly Downloads
v3.94.2
npm Version
1.6 MB
Unpacked Size
3
Dependencies
46.1K+1.8K since Sep 7
| Date | Stars |
|---|---|
| Dec 6, 2026 | 46,145 |
| Dec 5, 2026 | 46,136 |
| Dec 4, 2026 | 46,125 |
| Dec 3, 2026 | 46,106 |
| Dec 2, 2026 | 46,087 |
| Dec 1, 2026 | 46,068 |
| Nov 30, 2026 | 46,059 |
| Nov 29, 2026 | 46,037 |
| Nov 28, 2026 | 46,035 |
| Nov 27, 2026 | 46,022 |
| Nov 26, 2026 | 46,012 |
| Nov 25, 2026 | 45,993 |
| Nov 24, 2026 | 45,976 |
| Nov 23, 2026 | 45,958 |
| Nov 22, 2026 | 45,947 |
| Nov 21, 2026 | 45,937 |
| Nov 20, 2026 | 45,926 |
| Nov 19, 2026 | 45,901 |
| Nov 18, 2026 | 45,868 |
| Nov 17, 2026 | 45,852 |
| Nov 16, 2026 | 45,831 |
| Nov 15, 2026 | 45,820 |
| Nov 14, 2026 | 45,807 |
| Nov 13, 2026 | 45,792 |
| Nov 12, 2026 | 45,779 |
| Nov 11, 2026 | 45,763 |
| Nov 10, 2026 | 45,742 |
| Nov 9, 2026 | 45,731 |
| Nov 8, 2026 | 45,722 |
| Nov 7, 2026 | 45,704 |
| Nov 6, 2026 | 45,681 |
| Nov 5, 2026 | 45,670 |
| Nov 4, 2026 | 45,647 |
| Nov 3, 2026 | 45,629 |
| Nov 2, 2026 | 45,611 |
| Nov 1, 2026 | 45,603 |
| Oct 31, 2026 | 45,592 |
| Oct 30, 2026 | 45,574 |
| Oct 29, 2026 | 45,561 |
| Oct 28, 2026 | 45,543 |
| Oct 27, 2026 | 45,519 |
| Oct 26, 2026 | 45,492 |
| Oct 25, 2026 | 45,472 |
| Oct 24, 2026 | 45,449 |
| Oct 23, 2026 | 45,430 |
| Oct 22, 2026 | 45,405 |
| Oct 21, 2026 | 45,259 |
| Oct 20, 2026 | 45,239 |
| Oct 19, 2026 | 45,213 |
| Oct 18, 2026 | 45,192 |
| Oct 17, 2026 | 45,165 |
| Oct 16, 2026 | 45,148 |
| Oct 15, 2026 | 45,122 |
| Oct 14, 2026 | 45,100 |
| Oct 13, 2026 | 45,082 |
| Oct 12, 2026 | 45,057 |
| Oct 11, 2026 | 45,032 |
| Oct 10, 2026 | 45,023 |
| Oct 9, 2026 | 45,003 |
| Oct 8, 2026 | 44,983 |
| Oct 7, 2026 | 44,959 |
| Oct 6, 2026 | 44,935 |
| Oct 5, 2026 | 44,924 |
| Oct 4, 2026 | 44,907 |
| Oct 3, 2026 | 44,891 |
| Oct 2, 2026 | 44,876 |
| Oct 1, 2026 | 44,859 |
| Sep 30, 2026 | 44,846 |
| Sep 29, 2026 | 44,829 |
| Sep 28, 2026 | 44,805 |
| Sep 27, 2026 | 44,787 |
| Sep 26, 2026 | 44,769 |
| Sep 25, 2026 | 44,737 |
| Sep 24, 2026 | 44,709 |
| Sep 23, 2026 | 44,691 |
| Sep 22, 2026 | 44,669 |
| Sep 21, 2026 | 44,641 |
| Sep 20, 2026 | 44,628 |
| Sep 19, 2026 | 44,609 |
| Sep 18, 2026 | 44,595 |
| Sep 17, 2026 | 44,570 |
| Sep 16, 2026 | 44,548 |
| Sep 15, 2026 | 44,523 |
| Sep 14, 2026 | 44,501 |
| Sep 13, 2026 | 44,488 |
| Sep 12, 2026 | 44,470 |
| Sep 11, 2026 | 44,447 |
| Sep 10, 2026 | 44,427 |
| Sep 9, 2026 | 44,402 |
| Sep 8, 2026 | 44,384 |
| Sep 7, 2026 | 44,364 |
Shared by 12 plugins in payloadcms/payload.
20K+11.5K since Sep 7
| Date | Weekly downloads |
|---|---|
| Dec 6, 2026 | 19,958 |
| Dec 5, 2026 | 18,916 |
| Dec 4, 2026 | 18,315 |
| Dec 3, 2026 | 17,621 |
| Dec 2, 2026 | 16,621 |
| Dec 1, 2026 | 16,752 |
| Nov 30, 2026 | 16,618 |
| Nov 29, 2026 | 14,718 |
| Nov 28, 2026 | 14,491 |
| Nov 27, 2026 | 14,628 |
| Nov 26, 2026 | 14,709 |
| Nov 25, 2026 | 13,954 |
| Nov 24, 2026 | 13,650 |
| Nov 23, 2026 | 13,121 |
| Nov 22, 2026 | 12,609 |
| Nov 21, 2026 | 12,667 |
| Nov 20, 2026 | 13,124 |
| Nov 19, 2026 | 13,062 |
| Nov 18, 2026 | 13,292 |
| Nov 17, 2026 | 12,764 |
| Nov 16, 2026 | 12,704 |
| Nov 15, 2026 | 13,657 |
| Nov 14, 2026 | 14,261 |
| Nov 13, 2026 | 14,768 |
| Nov 12, 2026 | 15,135 |
| Nov 11, 2026 | 16,680 |
| Nov 10, 2026 | 17,701 |
| Nov 9, 2026 | 18,058 |
| Nov 8, 2026 | 17,449 |
| Nov 7, 2026 | 17,263 |
| Nov 6, 2026 | 17,049 |
| Nov 5, 2026 | 17,835 |
| Nov 4, 2026 | 18,539 |
| Nov 3, 2026 | 17,763 |
| Nov 2, 2026 | 17,909 |
| Nov 1, 2026 | 18,951 |
| Oct 31, 2026 | 19,848 |
| Oct 30, 2026 | 19,739 |
| Oct 29, 2026 | 16,401 |
| Oct 28, 2026 | 11,862 |
| Oct 27, 2026 | 11,721 |
| Oct 26, 2026 | 10,945 |
| Oct 25, 2026 | 10,020 |
| Oct 24, 2026 | 9,080 |
| Oct 23, 2026 | 6,655 |
| Oct 22, 2026 | 9,222 |
| Oct 21, 2026 | 11,166 |
| Oct 20, 2026 | 11,066 |
| Oct 19, 2026 | 11,875 |
| Oct 18, 2026 | 11,468 |
| Oct 17, 2026 | 11,763 |
| Oct 16, 2026 | 14,640 |
| Oct 15, 2026 | 15,414 |
| Oct 14, 2026 | 15,504 |
| Oct 13, 2026 | 15,289 |
| Oct 12, 2026 | 15,501 |
| Oct 11, 2026 | 15,162 |
| Oct 10, 2026 | 14,933 |
| Oct 9, 2026 | 13,389 |
| Oct 8, 2026 | 11,614 |
| Oct 7, 2026 | 11,415 |
| Oct 6, 2026 | 11,089 |
| Oct 5, 2026 | 10,089 |
| Oct 4, 2026 | 10,184 |
| Oct 3, 2026 | 9,469 |
| Oct 2, 2026 | 9,886 |
| Oct 1, 2026 | 10,332 |
| Sep 30, 2026 | 10,234 |
| Sep 29, 2026 | 10,313 |
| Sep 28, 2026 | 10,558 |
| Sep 27, 2026 | 10,863 |
| Sep 26, 2026 | 11,014 |
| Sep 25, 2026 | 10,485 |
| Sep 24, 2026 | 9,869 |
| Sep 23, 2026 | 10,181 |
| Sep 22, 2026 | 10,082 |
| Sep 21, 2026 | 10,401 |
| Sep 20, 2026 | 9,281 |
| Sep 19, 2026 | 8,884 |
| Sep 18, 2026 | 8,959 |
| Sep 17, 2026 | 9,143 |
| Sep 16, 2026 | 8,281 |
| Sep 15, 2026 | 8,548 |
| Sep 14, 2026 | 7,958 |
| Sep 13, 2026 | 8,077 |
| Sep 12, 2026 | 8,263 |
| Sep 11, 2026 | 8,460 |
| Sep 10, 2026 | 8,547 |
| Sep 9, 2026 | 9,057 |
| Sep 8, 2026 | 8,842 |
| Sep 7, 2026 | 8,481 |
Each point is npm's rolling 7-day download count.
Health Score
Composite score based on GitHub activity, stars, npm downloads, publish recency, dependency count, and package size.
Badge for your README
[](https://payloaddirectory.dev/plugins/official-plugin-ecommerce)<a href="https://payloaddirectory.dev/plugins/official-plugin-ecommerce"><img src="https://payloaddirectory.dev/badge/official-plugin-ecommerce.svg" alt="Payload Directory"></a>README
A set of utilities... more to come
Stripe confirmation is idempotent per ecommerce transaction: retries return the same order and public transactionID. Core atomically claims a pending transaction before creating the order, updating the cart, and decrementing inventory. PostgreSQL users must generate and apply a schema migration that adds processing to the ecommerce transaction status enum; MongoDB and SQLite require no schema migration for this change.
Database adapters with transaction support roll back the complete settlement on failure. Without database transactions, concurrent requests are still serialized by the transaction status claim, but a process crash can leave a transaction in processing. This state fails closed and must be investigated; it is not reset automatically because the system cannot safely infer which side effects completed.
Topics
payload ecommerce
Products, carts, orders and coupons for Payload 3 with server-side helpers and stock tracking
72537/wk2v3
payload stock reservation
Validates variant stock and price at checkout and holds stock until payment settles or the hold expires
76152/wk1v3
payload coupons
Coupon codes with percentage and fixed discounts for Payload ecommerce, calculated in integer minor units
76144/wk2v3
payload refunds
Full and partial refunds per order line for Payload ecommerce, with optional restock and an append-only audit trail
6915/wk1v3
payload fulfillment
Extra order states, transition history, internal notes and tracking fields for Payload ecommerce orders
7332/wk1v3
payload stock alerts
Low stock threshold alerts by email and backorder handling for Payload ecommerce products and variants
7222/wk1v3