Press ESC to close

How to Integrate Juspay Payment Gateway in Magento 2

When you operate an eCommerce store on Magento 2, and you are interested in a secure and seamless solution to process online transactions, you should consider the integration of Juspay. This payment gateway is characterized by its fast, secure, and multi-payment option, such as cards, UPI, wallets, and net banking.

In this tutorial, we’ll guide you through how to integrate Juspay Payment Gateway in Magento 2, step by step. Whether you’re a developer or store owner, this guide will help you easily configure Magento 2 Juspay Payment Gateway to ensure a smooth checkout experience for your customers.

What is Juspay?

Juspay is a well-known payment system that is relied upon by numerous leading companies in India. It allows one to make online payments quickly and conveniently with one-click checkout, high security, and multiple payment options such as UPI, cards, wallets, and net banking. It is a fantastic option to any Magento 2 store willing to provide customers with a convenient and safe payment process.

Why Choose Juspay Payment Gateway for Magento 2?

Juspay is a wonderful option to your Magento 2 store as it makes the checkout process convenient and easy to your customers. It accepts a wide range of popular payment methods such as UPI, wallets, debit and credit cards, and net banking-so your customers can pay the way they want.

Juspay payments are secure and quick. It also allows customers to store their card details safely, hence they do not need to re-enter the details when they come again. Furthermore, in real-time, you will be able to know immediately when a payment has been made. This will enable you to organize your orders better and ensure that your customers are satisfied.

Prerequisites for Juspay Integration

Before you begin, ensure you have:

  • A Magento 2 store (2.3.x or later recommended).
  • Admin access to your Magento backend.
  • API credentials (API Key, Webhook URL) from Juspay.

Step-by-Step Guide to Integrate Juspay in Magento 2

Let’s walk through the Installation and configuration of Juspay Payment Gateway in Magento 2.

Step 1: Install the Juspay Payment Gateway Extension

  • Connect to your Magento server via SSH.
  • Run the following command:
php bin/magento setup:upgrade

Step 2: Configure Juspay in Magento Admin

  • Go to: Admin > System > Configuration > Sales > Payment Gateway
  • Scroll to find the Juspay Tab

Configure the following settings:

Juspay Extension Configuration
  • Enabled : Set to “Yes” to activate Juspay.
  • Title: Display name for the payment method (e.g., “Pay via Juspay”).
  • API Key: Enter the API key provided by Juspay.
  • Store Cards : Enable to save customer cards for future purchases.
  • Allowed Methods : Select payment options (Cards, UPI, Wallets, Net Banking)
  • API URL: Enter the Juspay API endpoint (provided by Juspay).
Juspay Extension Configuration settings
  • Webhook URL: Copy this URL and paste it into your Juspay dashboard for callback handling.
  • Debug: Set “Yes” for troubleshooting (set to “No” in production).
  • Payment from Applicable Countries: Select whether to accept payments from all countries or specific countries only.
  • Payment from Specific Countries:This field activates when ‘Specific Countries‘ is selected. Use it to specify which countries can pay through Juspay.
  • Minimum Order Total : Set minimum order value to enable Juspay
  • Maximum Order Total : Set maximum order limit

After applying settings Click Save Config to apply changes.

Step 3: JusPay Payment Method in Frontend

Here’s what the customer sees during checkout:

customer sees during checkout
  • Redirect to secure Juspay payment page
secure Juspay payment page
  • You can see the Juspay Payment Method in the My Orders section.
Juspay Payment Method in the My Orders section

Integrating the Magento 2 Juspay Payment Gateway is a simple and effective way to upgrade your store’s checkout experience. This solution is beneficial to make your conversions skyrocket with its fast one-click payments and a variety of payment options, such as cards, UPI, wallets, and others, whether you operate a small boutique or a large-scale marketplace. Through your enterprise level security which is PCI-DSS Level 1 certified, you will be able to perform all transactions in a safe and secure manner.

Start accepting payments the smart way with the Magento 2 Juspay Payment Gateway extension If you need any help, feel free to reach out to our integration experts at [email protected].

FAQs

Is Juspay safe for online transactions?

Yes, Juspay uses tokenization, encryption, and PCI-DSS compliant systems for secure payments.

Can I enable Juspay for specific countries only?

Yes, the module allows you to restrict the payment method to selected countries.

How do I get the API key?

Contact the Juspay team after account creation. They’ll provide your API credentials.

What if I need help during integration?

For support or custom integration assistance, contact us.

Share Post

CodeDecorator

We are a prominent worldwide provider of Magento Extensions and a pioneer in web development solutions.

Leave a Reply

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