Install and Configure PrestaShop Plugin

This section describes the procedure to install and configure the PayU plugin for the PrestaShop platform. If you encounter any issues while integration, refer to Troubleshooting PrestaShop integration.

Install Plugin for PrestaShop v1.7.x

To install the PayU plugin for PrestaShop v1.7.x:

  1. Download the PayU plugin for PrestaShop v1.7.x from the following Dropbox location:

https://github.com/payu-india/Prestashop/blob/main/Prestashop_ver1.7.zip

  1. Extract the Prestashop_ver1.7.zip archive file.

  2. Log in to Prestashop 1.7 Admin and open Modules.

  3. Click Upload a Module.

    The Upload a module pop-up page is displayed.

  1. Drag the Prestashop17PayUBiz.zip archive file in to the Upload a module pop-up page. 
  2. Log in to the Prestashop admin panel.
  3. Navigate to the Modules menu and locate the PayU module. You can also search for PayU module and locate it.
  1. Click Install
  2. Configure the plugin installation. For more information, refer to Configure PrestaShop v1.7.x.

Configure PrestaShop v1.7.x

To configure the PrestaShop v1.7x installation after installing the PayU plugin:

  1. Navigate to PrestaShop admin panel.

  2. Select Modules > Configure.

    The Configure pane is displayed on the right pane.

  1. Enter the configuration details as described in the following table:
FieldDescription
ModeSelect any of the following gateway environment from the Gateway 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.
Pay UBiz KeyEnter your Key for the Production environment.
Pay UBiz SaltEnter your Salt for the Production environment. For more information, refer to [Generate Key and Salt.

Reference: For more information on how to access the Key and Salt, refer to any of the following:

  1. Click Save to save configuration details.
  2. Logout and navigate to shop page to try the configuration through checkout.

📘

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

If everything is installed and configured correctly, you will be able to checkout through the PayUBiz payment page. 

The configuration for the PayU plugin is complete.

📘

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.