Payment Gateways
A Next.js 14 demo wiring up Stripe, Razorpay, PayPal and Coinbase payments side by side.
- Category
- Libraries & Components
- Added
- GitHub stars
- 238
- License
- MIT
- Price
- Free
About
About Payment Gateways
Payment Gateways is a reference app that shows four payment providers working inside one Next.js 14 project: Stripe, Razorpay, PayPal and Coinbase. The repository topics mention server actions and Stripe webhooks, and the stack is TypeScript with Tailwind CSS. The interface is simple and responsive, with a live demo that lists each provider with a one-line description.
To use it, clone the repository, move into the folder, run npm install, and set the environment variables the README describes for each provider. It is a learning reference more than a package, so you lift the integration code you need. It suits developers choosing between providers, or building checkout for an Indian market where Razorpay matters. MIT licensed, with a last push in December 2024.
Payment Gateways features
5 features
- Stripe integration with webhooks
- Razorpay, PayPal and Coinbase options
- Next.js 14 with server actions
- TypeScript and Tailwind CSS
- Responsive payment UI
Install Payment Gateways
1 command
Terminal
$ git clone https://github.com/PremPrakashCodes/payment-gateways.gitWhat you can build with Payment Gateways
3 use cases
- Comparing Stripe and Razorpay flows before choosing one
- Copying a PayPal checkout into a Next.js app
- Testing webhook handling in a local project
Libraries & Components
Similar to Payment Gateways
More libraries & components like Payment Gateways: the closest by what they do, then the most starred.
shadcn/ui sidebarLibraryThis sidebar toggles between mini and wide modes, opens as a sheet on mobile and installs through the shadcn CLI. Built with Next.js and Zustand.
shadcn-extensionLibraryshadcn-extension is an MIT-licensed collection of React components that extends shadcn/ui, developed in a Turborepo monorepo with Next.js docs.
Indie UILibraryIndie UI is a free, MIT-licensed collection of React and Tailwind CSS components with variants, dark mode support and TypeScript types for web apps.
ogimagecnLibraryogimagecn gives React apps customizable Open Graph image components built on Satori, installed one at a time with the shadcn CLI.
React Confirm DialogLibraryReact Confirm Dialog is a customizable confirm dialog for React with a useConfirm hook, built on Radix UI Alert Dialog and styled with Tailwind CSS v4.
CalendarCNLibraryCalendarCN is an MIT-licensed React calendar built with shadcn/ui and Tailwind CSS, with a week view, event colors, dark mode and keyboard shortcuts.
Pricing
Ship it with Pro
The directory is free. Pro adds 6,000+ blocks, 14 premium templates and the MCP server, so your AI editor installs them for you.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
FAQ
Frequently asked questions
What Payment Gateways is, how to install it, its license and its alternatives.
Stripe, Razorpay, PayPal and Coinbase.
Clone the repository, run npm install, and create the environment variables listed in the README before starting the dev server.
A Next.js 14 demo wiring up Stripe, Razorpay, PayPal and Coinbase payments side by side.
Payment Gateways lists Stripe integration with webhooks, Razorpay, PayPal and Coinbase options, Next.js 14 with server actions, TypeScript and Tailwind CSS and Responsive payment UI.
The directory lists these uses for Payment Gateways: Comparing Stripe and Razorpay flows before choosing one, Copying a PayPal checkout into a Next.js app and Testing webhook handling in a local project.
Payment Gateways is made by PremPrakashCodes, at https://github.com/PremPrakashCodes. Its site is https://github.com/PremPrakashCodes/payment-gateways.
Payment Gateways was added to the directory on December 27, 2024.
Payment Gateways is in Libraries & Components. Component libraries and standalone components built on shadcn/ui, covering the data tables, pickers, editors and charts the core set leaves out.
Payments and billing, Stripe, Next.js, TypeScript, Tailwind CSS, Open source, MIT and Free. Each tag has a page listing the other resources that carry it.
Yes. Payment Gateways's page has a Live tab beside the screenshot that loads its site in a frame.
Payment Gateways lists this command: `git clone https://github.com/PremPrakashCodes/payment-gateways.git`.
The directory lists no shadcn CLI command for Payment Gateways. Check its docs at https://github.com/PremPrakashCodes/payment-gateways for how to add it.
Payment Gateways's repository is https://github.com/PremPrakashCodes/payment-gateways.
The directory links no separate docs for Payment Gateways; start from its site at https://github.com/PremPrakashCodes/payment-gateways.
GitHub lists Payment Gateways under the MIT license. Read the license file in its repository for the terms.
The directory records no price for Payment Gateways. Its site, https://github.com/PremPrakashCodes/payment-gateways, is where its pricing, if any, is stated.
No. Payment Gateways is made by PremPrakashCodes and listed here as a link. A shadcn.io Pro plan covers shadcn.io's own blocks, templates and tools.
Other resources in Libraries & Components, newest first: shadcn/ui sidebar, shadcn-extension, Indie UI and ogimagecn. Their pages are linked under Similar to Payment Gateways.
Open its category, Libraries & Components, or one of its tags (Payments and billing, Stripe and Next.js): each page lists the resources that share it.
4.9 out of 5 from 150+ developers
Found your stack? Ship it.
6,000+ blocks, premium templates and MCP in every Pro plan. The directory stays free.
Get Pro






