OpenCart

This article shows you the procedure to enable PayU on your OpenCart website.

OpenCart is a free platform developed in PHP to create online stores. OpenCart provides a professional and reliable base to build an online store. This base uses a wide variety of users such as web developers looking for a user-friendly interface or store owners who want to launch their online business for the first time. OpenCart has many features that give you great control over your store’s customization. For more information about OpenCart, refer to their official website.

Prerequisites

The OpenCart plugin is available for version 1.5 and 2.0 and you need to meet the following prerequisites:

  • You need an active account in PayU Latam.
  • For OpenCart version 1.5:
    • Having the PayU’s OpenCart v1.5 plugin downloaded and stored in an accessible location. Click here to download it.
    • Having OpenCart version 1.5.5.1 - 1.5.6.X installed.
  • For OpenCart version 2.0:
    • Having the PayU’s OpenCart v2.0 plugin downloaded and stored in an accessible location. Click here to download it.

Installation and configuration

The procedure to install OpenCart plugin is the same for version 1.5 or 2.0. The only difference is the look and feel of the versions and this is highlighted during this article.
Follow the next procedure to install the plugin on your website.

  1. Unzip the plugin file in a location of your choice. Then, using an FTP client, go to the location where you unzipped the plugin.
    Then, upload the folders admin and catalog to the root folder of the OpenCart installation in your server.

PrintScreen

This action add the plugin files to your OpenCart server in the right locations. To validate whether the procedure was correct, search the following files in their corresponding locations.

PrintScreen

  1. In the administration console of your OpenCart shop, open the Extensions menu and click Payments.

OpenCart v1.5

PrintScreen

OpenCart v2.0

PrintScreen

  1. In the Payment table, find the PayuLatam payment method. Then, click Install.

OpenCart v1.5

PrintScreen

OpenCart v2.0

PrintScreen

  1. When the plugin has been installed, click Edit.

OpenCart v1.5

PrintScreen

OpenCart v2.0

PrintScreen

  1. Configure the payment method using the data of your PayU account as follows.
Field Value
Production Url PayU Latam’s URL in production https://gateway.payulatam.com/ppp-web-gateway/
Test Url PayU Latam’s URL in test https://sandbox.gateway.payulatam.com/ppp-web-gateway
Test Mode? Set Yes to make transactions in the test environment and No for the production environment.
Merchant ID ID of your commerce in PayU Latam
Account ID ID of the PayU account according to the country where you want to sell.
API key Unique key of your commerce, you can find this key in the PayU module.
Approved Transaction Order status in the OpenCart shop when PayU Latam approves the transaction.
Pending Transaction Order status in the OpenCart shop when the transaction is pending in PayU Latam.
Declined Transaction Order status in the OpenCart shop when PayU Latam declines the transaction.
Status Select Enable to activate this payment method in OpenCart.
  1. Finally, save the changes. At this point, your customers can pay with PayU Latam when they do the checkout in the OpenCart’s shopping cart.
Last modified June 24, 2022: clon issue (d73e43fe5)