Back to Top

PrestaShop Razorpay Payment Gateway {User- Guide}

Updated 25 September 2024

PrestaShop Razorpay Payment Gateway: Integrate your store with a secure and reliable Razorpay payment gateway to provide a seamless payment experience to your customers.

Accept credit cards, debit cards, wallets, and UPI payments in your store. Easily process the refunds for the orders from the back office.

Note: PrestaShop Razorpay Payment Gateway module is compatible with PrestaShop version 8.x.x and multi-store feature.

Features of PrestaShop Razorpay Payment Gateway

  • Offer card, wallet, UPI, netbanking, and pay later payment options to your customers.
  • A dedicated tab to view and track the transactions done via Razorpay.
  • Refund the full or partial order amount to the customer.
  • Test your setup before going into production by running in the sandbox mode.
  • Select the payment actions as ‘Authorize’ and Authorize and capture’ for your store.
  • Set the theme color of payment popup.
  • Save payment error logs in the back office.

Note: Wallet, netbanking, UPI, and pay later payment options are available for India rupee (INR) currency.

How to Install PrestaShop Razorpay Payment Gateway

  • Firstly, go to the module manager in the back office and click on ‘upload a module’.
  • After that, drag and drop the module file or select the file from the system.
  • In this way, the module installation will be successful.
image-16
image-17
image-18

General Settings

General Settings

After the successful installation of the module, you need to configure it. Specify the Razorpay test key ID and secret key that you got from the Razorpay account.

Start your headless eCommerce
now.
Find out More

Set the desired theme color for payment popup and save payment error logs.

Payment action

2-1

The admin select the payment state as ‘Authorize’ or ‘Authorize and capture’.

Authorize: This state means the bank has successfully authenticated the customer’s payment details. The money gets deducted from customer’s account by Razorpay.

The amount settled to your account after the payment is manually or automatically captured.

Authorize and capture: This state means the bank has successfully authenticated the customer’s payment details and the payment is verified as complete by Razorpay.

How to Get the keys

For getting the keys, you need to create an account on razorpay.com

22

Now, enter the details required to complete the registration.

Once completed, go to Account & Settings tab.

28

On Account & Settings page, click on API keys.

25

In the above screenshot, you can view Razorpay test key ID. While generating the test keys, you can view Razorpay test secret key and you need to save it.

You can also regenerate the test keys by clicking on ‘Regenerate Test Key’ button under the Action column.

On clicking the button, a popup appears on the page where you need to confirm and deactivate the old key to get new keys.

26

On clicking the ‘Confirm and deactive’ button, new keys get generated.

27

Switch to live mode to the get the Razorpay live key and secret.

29

Front End Workflow

Once you have configured the module settings, a new payment method ‘Razorpay’ gets available for store customers to make the payment.

3-1

After selecting the Razorpay payment method, when a customer clicks on ‘place order’ button, a popup appears on page where a customer can view available payment options.

payment options

A customer can make payment for his order via:

  • Credit/debit card
  • UPI
  • Netbanking
  • Wallet
  • Pay Later

If a customer has selected currency other than Indian rupee (INR), then only those payment options will display which are supported by Razorpay for the currency selected by customer.

5-1

Pay via UPI/QR

Customer can pay by scanning the QR code using any UPI app on his phone or UPI ID/mobile number.

UPI Payment
UPI Payment

Upon successful payment, the customer gets redirected to order confirmation page.

10-2

Also, a customer will receive an order confirmation mail on registered email address. In email, a customer can view order details and payment method used.

payment method

Razorpay Transactions

Post installation, a new tab “Razorpay Transactions” gets available in the back office where you can view a list of transactions done via Razorpay.

11-3
12-2

Click on the ‘View’ button to see the transaction details.

13-2

Refund Process

PrestaShop Razorpay Payment Gateway allows you to refund the order amount. You can refund full or partial amount to the customer.

Full refund

15-1

Partial Refund

14-2

Once refunded, you can view refund details. You can view total amount, amount refunded, remaining amount, etc.

16-2
17-2

You can also refund amount to the customer from the order details page.

18-1

Click on the ‘Refund’ button to initiate the refund process. On clicking the button, you will be redirected to Razorpay Transactions where you need to select the refund type.

19-1
20-1

This was all about Prestashop Razorpay Payment Gateway. I hope this document will help you in checking the functionality of the module in a better way.

Also, do let us know about your views in the comments.

Support

For any kind of technical assistance or query, please raise a ticket or send us a mail at [email protected]

Also, please explore our Prestashop development services and a vast range of quality Prestashop addons.

Current Product Version - 5.0.1

Supported Framework Version - 8.x.x, 1.7.x.x

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

Back to Top

Message Sent!

If you have more details or questions, you can reply to the received confirmation email.

Back to Home

Table of Content