Drupal

This article shows you the procedure to enable PayU in your Drupal website.

Prerequisites

  • You need an active account in PayU Latam.
  • Having installed Drupal Commerce Kickstart 7.xx.
  • Having the PayU’s Drupal plugin downloaded and stored in an accessible location. Click here to download it.
  • Having access to the Drupal installation folder.
  • Having access to the Drupal backend.

Installation

The process to install the plugin in the Drupal server only requires to unzip the plugin in path \sites\all\modules. The unzipped folder has the following structure:

PrintScreen

Configuration

  1. Log in to the Drupal’s administration panel. Open the Site settings menu and click Modules option inside the Advanced settings section.

PrintScreen

  1. Locate and activate the module Payment Payulatam. You can use the search filter to find it easier.
    Once finish, click Save configuration.

PrintScreen

  1. Back in the Drupal’s administration panel. Open the Store settings menu and click Payment methods.
    Find Payment gateway PayuLatam in the Disabled payment method rules list and click enable.

PrintScreen

If the activation was successful, Drupal shows the following message

PrintScreen

  1. Now, click edit link in the recently enabled method.
    Then, locate the Actions section and click edit next to the action Enable payment method: PayuLatam. Here, configure the plugin using your PayU account.

PrintScreen

  • API KEY: Unique key of your commerce, you can get this information in your PayU Module (Settings > Technical configuration > API Key).
  • 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.
  • Test Enabled: Set No if you want to process in the Production environment. Otherwise, set Yes.

Leave the other fields with their pre-configured values.

At this point, your customers can pay with PayU Latam when they do the checkout in the Drupal’s shopping cart.

Last modified June 24, 2022: clon issue (d73e43fe5)