Magento 2 JusPay Payment Gateway

 

Magento 2 JusPay Payment Gateway extension integrates JusPay with Magento 2 to accept secure online payments in your Magento 2 store.

 

Table of Content

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

 

  1. Extension Installation
  • For Magento Marketplace Customers
  • Create a folder structure in Magento root as app/code/Meetanshi/Juspay
  • Download and extract the zip folder and upload our extension files to the app/code/Meetanshi/Juspay via FTP.
  • Login to your SSH and run below commands step by step:
  • php bin/magento setup:upgrade
  • For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy
  • For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy –f
  • php bin/magento cache:flush
  • For Meetanshi Customers
  • Extract the zip folder and upload our extension to the root of your Magento 2 directory via FTP.
  • Login to your SSH and run below commands step by step:
  • php bin/magento setup:upgrade
  • For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy
  • For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy –f
  • php bin/magento cache:flush
  1. Configuration
    To Configure the extension, login to Magento 2, move to Sales > Payment Methods > JusPay Payment - Meetanshi where you can find various settings to enable the extension.
  • Enabled: Set “YES” to enable the payment method.
  • Title: Set the title for the payment method to be displayed in the frontend.
  • Show JusPay Logo: Set YES to show JusPay logo along with the payment method in the frontend.
  • Sandbox Mode: Select YES to enable sandbox mode.
  • Live API Key: Enter the test/live API key provided by JusPay while registration.
  • Live Gateway Key: Enter the test/live gateway key provided by JusPay while registration.
  • Allow Auto Invoice: Select YES to automate invoice generation for the orders paid using JusPay payment method.
  • Payment from Applicable Countries: Select countries to allow using this payment method.
  • Additional Information: Add additional information to show along with the payment method on the checkout page.
  • Sort Order: Enter Sort Order of the payment method display in the frontend.


 

 

  1. JusPay Payment Method in Frontend
    Once the payment method is configured, JusPay Payment method is shown on the frontend while checking out the products. Just select the payment method, click “Continue to Payment” to get redirected to the payment page and complete the payment.


  

  • Redirection to the Gateway
    Once the customer gets redirected to the payment gateway, he can see both the card and net banking payment methods to choose and pay. Select one of the payment options and proceed to pay. Here, for example, enter the card details and click to pay using the credit/debit card payment method.


  

  • JusPay Payment Details in “My Account” section
    Once the order is placed, the JusPay payment details are shown in the Account dashboard, in “My Orders” tab which includes status ID and the payment status.


  

 

  1. JusPay 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 and you can see JusPay payment details under a particular order.