Magento Razorpay Payments

Magento Razorpay Payments extension integrates the Magento store with India's Razorpay payment gateway to capture secure online payments in 92 currencies.


Table of Content

  1. Extension Installation
  2. Configuration
  3. Razorpay Payment Method in Frontend
  4. Razorpay Payment Details in Backend


  1. Extension Installation
  • Upload or copy all folders in the zip package to your Magento root folder. It doesn’t overwrite any existing files but just adds new files to the folder structure.
  • Once done, log in your Magento admin panel, go to System > Cache Management, select all caches and refresh.
  • Navigate to System à Configuration, if you can see the extension tab, it is installed properly.
  • If you get Access denied error, you need to log out admin panel and log in again.


  1. Configuration
    To configure the extension, login to Magento backend, move to System > Configuration > Sales > Payment Methods > Meetanshi Razorpay where you can find various settings to configure the extension.
  • Enabled: Set “YES” to enable the payment method.
  • Title: Set the title for the payment method to be displayed in the frontend.
  • Merchant Name: Set merchant name.
  • API Key: Enter Key ID provided by Razorpay while registration.
  • API Key Secret: Enter the API secret key provided by Razorpay while registration.


  • Payment from Applicable Countries: Select countries to allow using this payment method.
  • Sort Order: Enter sort order of the payment method display in the frontend.



  1. Razorpay Payment Method in Frontend
    Once the payment method is configured, Razorpay method is shown on the frontend while checking out the products. Just select the payment method, click “Continue” to open the flash popup and complete the payment.


  • Selection of the Payment Method
    Once the flash checkout popup is opened, it shows all the allowed methods. Select one of the methods.


  • Adding Payment Details
    After selecting the payment method, add payment details.


  • Mobile Verification using OTP
    After adding the payment details, the customer gets OTP on the added number. Enter the OTP to verify the mobile number. After the mobile number verification, the customer gets a payment success message and gets redirected back to the site.


  • Razorpay Payment Details in My Account Section
    After the successful order placement, the customer can see the payment details in My Account section.



  1. Razorpay Payment Details in Backend
    Apart from the customers, admin can also see the payment details for the orders in the backend. Go to Sales > Orders, select the order, and you can see Razorpay payment details.