1. Home
  2. Docs
  3. Cirilla Payment Gateway Addons
  4. Payment Gateways
  5. Cashfree

Cashfree

WidgetMechanismSupport
CashfreeGatewayWebviewios, android

Getting started

Document: https://docs.cashfree.com/docs

Create an Cashfree account to use Cashfree’s services: Sign Up

Usage

 Follow this steps:

Woocommerce website:

Add Cashfree plugin to your Woocommerce:

  1. download this plugin at: https://wordpress.org/plugins/cashfree/
  2. Go to WordPress Admin > Plugins > Add New from the left-hand menu > Upload plugin from the top menu
  1. Click on Install to install the plugin
  2. Config plugin according instructions
  3. Go to Woocommerce -> Setting -> Tab Payments: enable Cashfree Payments

Package Setup

  1. Copy cashfree_gateway package and add to packages folder in cirilla project.
  2. Import package in cirilla/pubspec.yaml

Example: 

  cashfree_gateway:
    path: ./packages/cashfree_gateway

Then run flutter pub get in your project

  1. Add CashfreeGateway to cirilla/lib/payment_method.dart file ( use only one of them and remember import package like example)
import 'package:cashfree_gateway/cashfree_gateway.dart';
import 'package:cirilla/utils/currency_format.dart';
final Map<String, PaymentBase> methods = {
  CashfreeGateway.key: CashfreeGateway(
    formatCurrency: formatCurrency,
  ),
};

Available Currencies:

https://docs.cashfree.com/docs/currencies-supported

Currency CodeDescription
INRIndian Rupee
USDUS Dollar
BDTBangladesh Taka
GBPPound Sterling
AEDUAE Dirham
AUDAustralian Dollar
BHDBahraini Dinar
CADCanadian Dollar
CHFSwiss Franc
DKKDanish Krone
EUREuro
HKDHong Kong Dollar
JPYJapanese Yen
KESKenya Shiling
KWDKuwaiti Dinar
LKRSrilanka Rupee
MURMauritius Rupee
MYRMalaysian Ringgit
NOKNorwegian Krone
NPRNepalese Rupee
NZDNew Zealand Dollar
OMRRial Omani
QARQatari Rial
SARSaudi Riyal
SEKSwedish Krona
SGDSingapore Dollar
THBThai Baht
ZARSouth African Rand

Result:

Was this article helpful to you? Yes No

How can we help?