This plugin is released under the GPL license.
- If you are using Magento version 2.3, please use a plugin for version 2.3
- If you are using Magento version 2.4, please use a plugin for version 2.4
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)
The module adds two payment methods:
- Pay with PayU - redirection to PayU hosted paywall (with all available payment methods)
- Pay by card - redirection to PayU hosted card payment form
Important: This plugin works only with REST API (checkout) points of sales (POS). If you do not already have PayU merchant account, please register in Production or please register in Sandbox
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.
Intended for users with FTP access to Magento Installation
- Download the module from repozytorium GitHub as zip file.
- Unzip the file.
- Connect with your FTP server and copy
app
,lib
andskin
directories from the unzipped file to the main directory of your Magento installation. - Flush the cache to update the available plugins list:
- Go to admin page of your Magento installation [http://shop-url/admin].
- Choose System > Cache Management.
- Click Flush Magento Cache button.
Using modman script
PayU module includes configuration which makes it possible to install via modman
script.
Please refer to modman
documentation for further details.
If you are using compilation option, choose System > Tools > Compilation and click Run Compilation Process button.
Additionally, if you update the module from an older version, you must delete from includes/src
directory OpenPayu
directory and all files that start with OpenPayU
Independently of the installation method, the configuration looks the same:
- Go to the Magento administration page [http://shop-url/admin].
- Go to System > Configuration.
- From the Configuration menu on the left, in the Sales section, select Payment Methods.
- In the list of available methods, click PayU or PayU - cards to expand the configuration form.
- Click
Save config
.
Parameter | Description |
---|---|
Enable plugin? | Defines the availability of the payment method on the payment method list during checkout. |
Sandbox mode | Defines if payments will be created in PayU sandbox instead of production (live) environment. |
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 |
Available when parameter Sandbox mode
is set to Yes
.
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 |