Stripe
Syncs Payload collections with Stripe resources and routes Stripe webhooks and API calls through Payload.
Installation
pnpm add @payloadcms/plugin-stripe About
The official Stripe plugin connects Payload collections to Stripe resources so documents stay in sync with Stripe objects. You map a collection (such as customers or products) to a Stripe resource type and list which local field paths correspond to which Stripe properties. The plugin then injects a read-only `stripeID` field, a `skipSync` checkbox, and a sidebar link into the dashboard view of that collection. Sync runs through collection hooks. On create, a `beforeValidate` hook creates the Stripe object and stores its ID; on update, a `beforeChange` hook pushes field changes back to Stripe; on delete, an `afterDelete` hook removes the Stripe object. The `skipSync` field lets you opt out of a sync on a per-document basis. Incoming Stripe events are handled through a `POST /stripe/webhooks` endpoint, verified with the configured `stripeWebhooksEndpointSecret`. You register a single handler or a map of handlers keyed by event name, each receiving the Stripe instance, the parsed event, the Payload instance, and the request. An optional REST proxy at `POST /stripe/rest` forwards arbitrary Stripe SDK calls from the admin UI. It requires an authenticated Payload user and passes `stripeMethod` and `stripeArgs` straight through to the Stripe SDK, which avoids exposing the secret key to the browser. Sync currently supports the `customers` and `products` resource types.
Package info
- Package name
@payloadcms/plugin-stripe- Latest version
3.88.0- Unpacked size
- 114 kB
- License
- MIT
- Weekly downloads
- 13.7k
- Last publish
- Aug 11, 2026
More from payloadcms
View profileSEO plugin
A plugin to manage SEO metadata from within the Payload admin panel.
Sentry
Integrates Sentry error tracking into Payload applications.
Search plugin
Search plugin for Payload enables fast searching of document records.
Redirects
Manage redirects directly within the Payload CMS admin panel.
Nested Docs
Adds parent-child document hierarchies with auto-generated breadcrumbs to Payload collections.
Form Builder
Official Payload plugin that lets admins build forms, collect submissions, send templated emails, and optionally process payments or uploads.
Similar plugins
More in CommerceBarcodes
Adds Code 128, EAN-13 and QR code generation to Payload product collections with a printable label page and optional admin print buttons.
AI Manager
Writes product titles, descriptions, attributes and translations into Payload fields via Claude, ChatGPT, Gemini or Kimi, and skips content it already generated.
EU VAT
Records EU VAT on Payload ecommerce orders: country rates, B2B reverse charge, VIES validation, and OSS reporting totals.
Stock Reservation
Validates variant stock and price before checkout and holds reserved inventory until payment settles, extending the official Payload ecommerce plugin.
Stock Alerts
Sends a shop one email when product or variant inventory crosses a low stock threshold, with backorder handling and a storefront-readable status field.
Shipping Rates
Adds shipping zones, rate calculation, and a quote endpoint to Payload ecommerce shops.