Back to Plugins

Cashfree Payment Plugin

This integration enables merchants to accept payments via Cashfree's payment gateway within MedusaJS 2 stores.


Features

Payment Methods

Core Capabilities

Installation

Install via your preferred package manager:

npm install medusa-cashfree-payment-plugin

Configuration

Add to Medusa Config

Update your medusa-config.js:

module.exports = {
  plugins: [
    {
      resolve: 'medusa-cashfree-payment-plugin',
      options: {
        api_key: process.env.CASHFREE_API_KEY,
        api_secret: process.env.CASHFREE_API_SECRET,
        environment: process.env.CASHFREE_ENVIRONMENT, // 'sandbox' or 'production'
      },
    },
  ],
}

Environment Variables

Set the following environment variables:

Setup Steps

  1. Install the Plugin: Add via npm/yarn/pnpm
  2. Configure Credentials: Set API credentials in medusa-config.js
  3. Enable in Admin: Enable Cashfree in Medusa admin region settings
  4. Configure Webhooks: Set up webhooks in Cashfree dashboard

Webhook Configuration

Configure webhooks through the Cashfree dashboard to:

Version 1.0.4 Updates

Security Enhancements

Admin Configuration

  1. Navigate to Medusa Admin
  2. Go to Settings → Regions
  3. Select your region
  4. Add Cashfree as a payment provider
  5. Configure payment settings

Use Cases

Requirements


Explore More Medusa Plugins

Find more powerful plugins and integrations to enhance your Medusa store. Browse our collection of community-driven solutions.

Free & Open Source
Community Driven
Easy Integration