KiviCare (TM) Pharma Addon- Documentation
KiviCare (TM) Pharma Addon

Razorpay Gateway

đź•’ Estimated Reading: 2 minutes
📂 Location: Payment Gateway →Razorpay Gateway

– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –

What is this file for?

Welcome to Razorpay! This guide will walk you through the process of signing up for a Razorpay account and obtaining API keys for integrating the Razorpay payment gateway into your application.

– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –

What is Razorpay?

Razorpay is one of India’s most powerful payment solutions. It enables businesses to:

  • Accept and process payments via credit cards, debit cards, netbanking, UPI, and wallets like JioMoney, Mobikwik, PayZapp, and more.
  • Automate bank transfers (NEFT/RTGS/IMPS).
  • Collect recurring payments, send invoices, and manage your business from a single platform.

📎 Click here for more Razorpay details

– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –

Sign Up or Log In

  • If you already have a Razorpay Developer Account, login.
  • If not, sign up and create a new Business Account.

– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –

Obtain API Keys

Follow these steps to generate Razorpay API keys:

1. Login to your Razorpay account.

2. After that you have to click on the Account & Settings option.

3. Select the API keys. We’ve included a screenshot below.

4. You will click on regenerated test key then a dialog will open in which Key Id and key Key Secret be generated. We’ve included a screenshot below.

Note:
If you close the TEST MODE switch. Then you will get Live Key Id and Key Secret.

– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –

Add Keys in Admin Panel

After generating keys, follow these steps:

1. Open Admin Panel

2. Navigate to Settings → Payment Method

3. Enable Razorpay Payment

4. Paste the:

  • Key ID under App Key
  • Secret Key under Secret Key

5. Submit the changes.

Done! Razorpay is now configured.

– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –

Test Razorpay Integration

You can test payments using test cards. These only work in Test Mode.

Test Card Details

Card NumberExpiryCVVName
4111 1111 1111 111112/25123Test User

You can use any CVC, ZIP code, and future expiry date.
Do NOT use test cards in Live Mode — it will throw errors.

– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –

Remove Razorpay Integration

If you want to remove Razorpay, follow these steps:

âś… Recommended (Safe) Method

  1. Open your project’s pubspec.yaml file.
  2. Remove this line: razorpay_flutter: LATEST_VERSION
  3. Run the command: flutter pub get

⚠️ Do not remove any related code unless you’re familiar with dependencies and implementation.

– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –

âś… Congratulations! You have successfully configured Razorpay Payment Gateway.