Back to Top

PrestaShop Razorpay Payment Gateway {User- Guide}

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 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.
  • Enable/Disable Razorpay Magic Checkout on your store.
  • Display Magic Checkout on product page, cart and checkout page.
  • Refund the full or partial order amount to the customer.
  • View refund logs for each transaction from back office.
  • 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.

Important Notes:

  1. Wallet, netbanking, UPI, and pay later payment options are available for India rupee (INR) currency.
  2. To enable the full functionality of the Magic Pay checkout, all the required permissions must be enabled from the Razorpay side.

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.
click here to uplaod module
upload module file
configure module

General Settings

Configuration

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.

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

Payment action

payment action

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.

new payment method

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.

available 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.

other currency

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 confirmation

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

Upi on order confirmation

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.

email upi

Razorpay Magic Checkout

If the admin enables the Magic Checkout option from the module configuration, the admin can allow users to directly buy the product from the following pages:

a) Product detail page

buy now on product page

b) Cart page

buy now on cart page

c) Checkout Page

buy now on checkout page

When any user clicks on the newly added “Buy Now” button, a pop-up box will appear to make the payment for the order.

payment popup

After successfully making the payment an order will be placed directly without selecting any address and carrier from the PrestaShop store’s end.

order confirmation on buy now

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.

new tab added
list of transactions

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

transaction details

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

full refund

Partial Refund

refund amount

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

log created
status updated

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

refund on order page

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.

select refund type
refund update on order detail page

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.1.0

Supported Framework Version - 9.x.x, 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
On this page

Table of Content

Back to top