This plugin is released under the GPL license.
If you have any questions or issues, feel free to contact our technical support: tech@payu.pl.
##Features The PayU payments Magento plugin adds the PayU payment option and enables you to process the following operations in your e-shop:
- Creating a payment order (with discounts included)
- Receive or canceling a payment order (when auto-receive is disable)
- Conducting a refund operation (for a whole or partial order)
##Prerequisites
Important: This plugin works only with REST API (checkout) points of sales (POS).
The following PHP extensions are required:
- cURL to connect and communicate to many different types of servers with many different types of protocols.
- hash to process directly or incrementally the arbitrary length messages by using a variety of hashing algorithms.
##Installation
There are two ways in which you can install the plugin:
- manual installation by copying and pasting folders from the repository
- Magento Connect installation from the administration page
See the sections below to find out about steps for each of the procedures.
###Installing Manually
To install the plugin manually, simply copy folders and refresh the list of plugins:
- Copy the folders from the plugin repository to your Magento root folder on the server.
- In order to update the list of available plugins, clean the cache:
- Go to the Magento administration page [http://your-magento-url/admin].
- Go to System > Cache Management.
- Select all cache types and click the Flush Magento Cache button.
Note: If the list of plugins doesn't refresh, flush other cache as well.
Results
3. If you have enabled compilation System > Tools > Compilation you have to click Run Compilation Process.
###Installing with Magento Connect
The Mangento Connect tool allows you to install the plugin from the administration page.
Before you start
It is recommended to always backup your installation prior to use.
- Go to Magento administration page [http://your-magento-url/admin].
- Go to System > Magento Connect > Magento Connect Manager.
- In the Install New Extensions section, click Search for modules via Magento Connect.
Option: Paste the extension key to install. - Use the search box to find PayU.
- Click the PayU icon and install the plugin by clicking the Install Now button.
Note: If you are new to Magento Connect, when you click Install Now you are asked to register and log in to get the extension key.
##Configuration
Independently of the installation method, the configuration looks the same:
- Go to the Magento administration page [http://your-magento-url/admin].
- Go to System > Configuration window.
- From the Configuration menu on the left, in the Sales section, select Payment Methods.
- In the list of available methods, click PayU to expand the configuration form, and specify the configuration parameters.
- Click
in the top right corner of the page.
The tables below present the descriptions of the configuration form parameters.
The main parameters for plugin configuration are as follows:
| Parameter | Values | Description |
|---|---|---|
| Enabled | Yes/No | Specifies whether the module is enabled. |
To check the values of the parameters below, go to Administration Panel > My shops > Your shop > POS and click the name of a given POS.
| Parameter | Description |
|---|---|
| POS ID | Unique ID of the POS |
| Second Key | MD5 key for securing communication |
| OAuth - client_id | client_id for OAuth |
| OAuth - client_secret | client_secret for OAuth |

