Introducing the Razorpay Payment Adapter for Payload CMS Ecommerce
We're excited to announce the release of @codenik/payload-razorpay, a Razorpay payment adapter built specifically for the official Payload CMS Ecommerce Plugin.
Until now, developers using Payload Ecommerce had to build their own Razorpay integration from scratch. To simplify this process, we developed a production-ready adapter that integrates seamlessly with the official ecommerce plugin, allowing you to start accepting payments with minimal configuration.
The adapter is designed to provide a smooth developer experience while following the architecture of the official Payload Ecommerce plugin. It handles Razorpay order creation, transaction management, payment verification, and checkout integration, making it easy to add Razorpay payments to your ecommerce application.
Why We Built This Package
Razorpay is one of the most widely used payment gateways in India, supporting:
UPI Payments Credit & Debit Cards Net Banking Wallets EMI International Payments (supported by Razorpay)
However, there wasn't a dedicated Razorpay adapter available for the official Payload Ecommerce plugin. We created this package to bridge that gap and provide the community with an easy-to-use, well-documented solution.
Available on npm
The package is publicly available on npm
@codenik/payload-razorpayInstall it using:
pnpm add @codenik/payload-razorpay
Open Source
The complete source code is available on GitHub, allowing you to explore the implementation, contribute improvements, or customize the adapter for your own projects.
GitHub Repository