Skip to content

cashfree/pg-samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub License Discord

Payment Gateway Sample Apps

This repository contains a collection of sample applications demonstrating the integration of Cashfree Payments’ Payment Gateway (PG) across various web, mobile, and backend frameworks. Whether you're building modern frontends, mobile apps, or robust backend services, you'll find examples tailored to your preferred tech stack.


🚀 Getting Started

Each directory in this repository is organized by tech stack or framework. Navigate to the relevant directory, follow the instructions provided in the respective README, and start integrating.

📁 Repository Structure

sample-apps/
  ├── dotnet/
  │   ├── MVC/
  │   │   └── [app-files]
  ├── go/
  │   ├── echo/
  │   │   └── [app-files]
  │   └── gin/
  │       └── [app-files]
  ├── java/
  │   ├── hibernate/
  │   │   └── [app-files]
  │   └── springboot/
  │       └── [app-files]
  ├── node/
  │   ├── express/
  │   │   └── [app-files]
  │   ├── hono/
  │   │   └── [app-files]
  │   ├── koa/
  │   │   └── [app-files]
  │   └── nest/
  │       └── [app-files]
  ├── php/
  │   ├── codeigniter/
  │   │   └── [app-files]
  │   └── laravel/
  │       └── [app-files]
  ├── python/
  │   ├── django/
  │   │   └── [app-files]
  │   └── flask/
  │       └── [app-files]
  ├── ruby/
  │   └── ror/
  │       └── [app-files]
  ├── web/
  │   ├── angular/
  │   │   └── [app-files]
  │   ├── next/
  │   │   └── [app-files]
  │   ├── nuxt/
  │   │   └── [app-files]
  │   └── sveltekit/
  │       └── [app-files]

Each directory contains sample applications demonstrating the integration of Cashfree Payments’ Payment Gateway (PG) for the respective framework or tech stack.

📁 Project Links

Language/Framework Link
.NET dotnet
Go echo
Go gin
Java hibernate
Java springboot
Node.js express
Node.js hono
Node.js koa
Node.js nest
PHP codeigniter
PHP laravel
Python django
Python flask
Ruby ror
Web angular
Web next
Web nuxt
Web sveltekit

This repository will continue to grow as more sample applications are added. Contributions are welcome!


🧾 Contribution Guidelines

We encourage developers to contribute by adding sample apps in different frameworks.

✅ Minimum Requirements

  • A README.md with clear setup and usage instructions
  • A basic user interface
  • Integration with Cashfree PG using test credentials
  • A complete flow: Product Landing Page → Checkout → Confirmation Page

📬 Submission Process

  1. Fork this repository
  2. Add your sample app under the appropriate directory
  3. Commit your changes and push to your fork
  4. Open a pull request for review

Once reviewed, your app will be merged into the main repository.


📞 Support

If you have any questions, run into issues, or need assistance, feel free to:

About

Sample Apps demonstrating the integration of Cashfree Payments’ Payment Gateway (PG)

Topics

Resources

License

Stars

Watchers

Forks

Contributors 11