Install and Configure OpenCart Plugin
This section describes how to install configure PayU Plugin on the OpenCart platform. If you encounter any issues while integration, refer to Troubleshooting OpenCart Integration.
Install plugin for OpenCart
Download the PayU plugin
OpenCart Version | PayUI Plugin Download Link |
---|---|
OpenCart v3.0.2 | GitHub Location |
OpenCart v3.0 | GitHub Location |
OpenCart v2.3 | GitHub Location |
OpenCart v2.2 | GitHub Location |
OpenCart v2.0 | GitHub Location |
Procedure
To download and install the PayU archive for the OpenCart plugin:
- Ensure that the OpenCart plugin is installed.
- Download the PayU OpenCard integration archive for the OpenCart version you are using as listed in the Download the PayU Plugin section:
- Install the downloaded archive using Extensions > Extension Installer. For more information, refer to the OpenCart Documentation.
Before you begin:
Register for a account with PayU before you start integration. For more information, refer to Register for a Merchant Account.
Configure OpenCart
To configure OpenCart after installing the PayU plugin:
-
Enable PayU in Payment settings section from OpenCart admin panel.
-
Navigate to the Payments page.
The Payments page is displayed.
-
Click the Edit button for the PayU entry.
The PayU configuration page is displayed.
- Enter the configuration details as in the following table:
Field | Description |
---|---|
Merchant IDΒ INR | Enter the test key for the Test environment or the Production key for the Production environment. |
Salt INR | Enter the test salt for the Test environment or Production salt for the Production environment. |
Mode | Select any of the following gateway environments from theΒ ModeΒ drop-down list to which customer payment details will be redirected to. - Test: This is the Test environment and no actual fund transfer will take place. - Production: This is the Live environment. Use this value only for your website in production. Payments sent in the production environment will get processed. For more information, refer to Generate Merchant Key and Salt. |
Status | SelectΒ EnableΒ from the drop-down list to enable the module. |
Payment Gateway | SelectΒ PayUBizΒ from the drop-down list if you want to redirect to the PayUbiz page for payments. |
Bank Code | SelectΒ PayUBiz Bank CodeΒ from this drop-down list. |
Reference: For more information on how to access the Key and Salt, refer to any of the following:
- Production:Β Access Production Key and Salt
- Test:Β Access Test Merchant Key and Salt
- Map all the possible states of a transaction from PayU with the corresponding OpenCart status.
- Select the PayUBiz Payment Gateway method on the checkout page.
- Perform a test transaction.
Note: After configuring the Test environment, use the test card details to test the payment. For more information, refer to Test Cards, UPI ID and Wallets.
The successful payment confirmation message is displayed if the payment is successful.
Note:
PayU recommends this step to reconcile with PayUβs database after you receive the response. Verify the transaction details using the Verification Payment API. For API reference, refer to Verify Payment API.
Updated about 1 month ago