This plugin is released under the GPL license.
PayU account is a web application designed as an e-wallet for shoppers willing to open an account, define their payment options, see their purchase history, and manage personal profiles.
Note: This is an alpha release and we are still working on plugin improvements.
Important: This plugin works only with 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.
- XMLWriter to wrap the libxml xmlWriter API.
- XMLReader that acts as a cursor going forward on the document stream and stopping at each node on the way.
To install the plugin, copy folders from the repository and activate the plugin on the administration page:
- Copy the folders from the plugin repository to your PrestaShop root folder on the server.
- Go to the PrestaShop administration page [http://your-prestashop-url/admin].
- Go to Modules > Payments & Gateways.
- Select PayU and click Install.
To configure the PrestaShop plugin:
- Go to the PrestaShop administration page [http://your-prestashop-url/admin].
- Go to Modules > Payments & Gateways.
- Select PayU and click Configure.
Important: In order to enable the customers to make payments with OneStepCheckout, you must go to Preferences > Orders and set Enable guest checkout to Yes.
The tables below present the descriptions of the configuration form parameters.
The main parameters for plugin configuration are as follows:
Parameter | Values | Description |
---|---|---|
Test Mode On | Yes/No | If you are in the test mode, the transactions are only simulated and no real payments are made. Use the test mode to see how the transactions work. |
Self-Return Enabled | Yes/No | If self-return is disabled, the payment must be confirmed manually. |
Order Validity Time | 24h/12h/6h/1h/30min | Specifies the time during which the order is valid in the PayU system. When validity time expires, the order is cancelled, and you are notified that the transaction failed. |
Ship Abroad | Enabled/Disabled | If ship abroad is disabled, you can only choose the country of the shop for shipping. |
OneStepCheckout Enabled | Yes/No | Specifies whether buying from cart via Payu is enabled. Important: In order to enable the customers to make payments with OneStepCheckout, you must go to Preferences > Orders and set Enable guest checkout to Yes. |
The test environment is called Sandbox and you can adjust it separately from the production environment to see which configuration suits you the best.
Important: If you set the Test Mode On parameter to Yes, the transactions in your shop are only simulated. No real payments are made.
Parameter | Description |
---|---|
POS ID | Unique ID of the POS |
Key | Unique MD5 key |
Second Key | MD5 key for securing communication |
POS Auth Key | Transaction authorization key |
You can set external resources for the following:
Parameter | Description |
---|---|
Payment button | URL address of the button image for OneStepCheckout |
Payment logo | URL address of the logo image that is visible in the list of payment methods |
Payment adverts | URL address of the PayU advertisement for your page |
Payment accept | URL address of the We accept PayU payments banner |