Hello Everyone,
In this blog, you will learn how to install the Juspay Payment Gateway extension in Magento 2.
This extension has been approved by Magento Marketplace.
JusPay Payment Gateway for Magento 2 developed by Magecurious allows the store owner to integrate the Justpay payment Integration to their store. The admin needs to perform the configurations.
Don’t waste your time, let us guide you straight away. Follow the easy steps below to install and configure the Juspay Payment Gateway extension.
Why Magecurious Juspay Payment Gateway?
- Enable or disable it from Magento admin.
- Accept Payment from customers through Juspay Payment Gateway.
- Display the Payment method on the front end.
- Admin is required to enter the API key and Merchant ID.
- Admin can customise the payment title.
- The Customer is redirected to the Juspay Payment Page and enters the required details like Debit/Credit Card details for payment.
- A custom message is shown when a credit memo is generated and a refund is initialised.
Steps to Install Juspay Payment Gateway in Magento 2.
STEP 1: Extract the downloaded extension package from your Magento root folder using FTP (File Transfer Protocol) Tools. For verification of the root folder, you can see some folders inside the Magento root folder like app, bin, lib, PHP server vendors, etc.
STEP 2: Next Need to run some Magento commands to install the extension in your system, so connect with your server via SSH, go to the Magento root folder (e.g: cd /var/www/html/magentp243), and run the below commands one by one.
- php bin/magento setup: upgrade
- php bin/magento setup:static-content:deploy-f
- php bin/magento indexer: reindex
- php bin/magento cache: clean
- php bin/magento cache: flush
- chmod-R 777 var/ pub/ generated/
STEP 3: If all your commands run successfully, then log in to your system Admin Panel and go to Store > Configuration, if you see a new Tab on the left sidebar with the MageCurious Logo, it means the extension was installed successfully.
Account & Pricing:
- To use this Extension you have to create an Account on Juspay generate the API key and use this API key and merchant id at the time of configuration of this extension.
- For Pricing, visit the official website of Juspay.
- Juspay website: https://juspay.in/hypercheckout
- Create an account: https://portal.juspay.in/selfSignUp? utm_source=hc_website&utm_medium=pricing_tab&utm_campaign=25bpsor 15kmmc
- Login to: https://portal.juspay.in/
Some Important Steps to follow on the Juspay Dashboard:
- Generate your API key.
- Design your Payment Page.
- Set the currency to the same as Magento 2 store currency.
- Set up Webhooks.
Steps to Connect Juspay Payment Gateway with Magento 2.
Juspay API Configuration
- Click on Generate Your API Key on the Juspay Dashboard.
Juspay Webhook Configuration
STEP 1:- Juspay Payment Gateway Configuration:
To Configure Extensions, go to Stores -> Settings -> Configuration -> SALES -> Payment Methods -> Other Payment Methods.
- Enable: Enable or Disable Module.
- New Order Status: Set the Order Status for the Order.
- Title: Set the Title to Custom Payment Method.
- API Key: Enter the API Key Obtained from the Juspay Dashboard.
- Merchant ID: Enter the Merchant ID Obtained from the Juspay Dashboard.
- Payment from Applicable Countries: Select either All Allowed Countries or Specific Countries.
- Payments from Specific Countries: Select Specific Country from the dropdown.
- Sort Order: Set the Sort Order.
Step 2: JusPay Payment Method in Frontend
Once you set up Juspay, Customers will see the Juspay Payment Option at checkout.
Step 3: Juspay Payment Gateway in Frontend:
After placing the Order Customer is redirected to the Juspay Payment Page here customer can enter details like debit/credit card details and proceed to pay.
Step 4: JusPay Payment Method in Frontend:
You can see the Juspay Payment Method in the My Orders section.
Step 5: When a Credit Memo is generated:
When a Credit Memo is generated you can see the custom message for refund initialization.
Final Thoughts:
So this was the easiest way which we have told you in this blog. This is how you can install a Juspay Payment Gateway in Magento 2. Hope you liked the blog.
So quickly go to the comment box and tell me how you like this blog.
Stay tuned with us on our site to get new updates on Magento.
Thanks for reading and visiting our site.
