Skip to content

eggman64/plugin_magento

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PayU account plugin for Magento 1.6.0+


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.

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.

Table of Contents

Features
Prerequisites
Installation

Configuration

##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)
  • Cancelling a payment order
  • Conducting a refund operation (for a whole or partial order)

Prerequisites

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.

Installation

There are two ways in which you can install the plugin:

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:

  1. Copy the folders from the plugin repository to your Magento root folder on the server.
  2. 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
cache_flush_cusscess
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.

  1. Go to Magento administration page [http://your-magento-url/admin].
  2. Go to System > Magento Connect > Magento Connect Manager.
  3. In the Install New Extensions section, click Search for modules via Magento Connect.
    Option: Paste the extension key to install.
  4. Use the search box to find PayU.
  5. 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:

  1. Go to the Magento administration page [http://your-magento-url/admin].
  2. Go to System > Configuration window.
  3. From the Configuration menu on the left, in the Sales section, select Payment Methods.
  4. In the list of available methods, click PayU to expand the configuration form, and specify the configuration parameters.
  5. Click save_config in the top right corner of the page.

Configuration Parameters

The tables below present the descriptions of the configuration form parameters.

Main parameters

The main parameters for plugin configuration are as follows:

Parameter Values Description
Enabled Yes/No Specifies whether the module is enabled.
Self-Return Enabled Yes/No If self-return is disabled, the payment must be confirmed manually.
New Order Status Pending/Processing/Complete/
Closed/Canceled/On Hold
Defines which status is assigned to new orders. By deafult, the Processing status is assigned to each new order.
Order Validity Time 24h/12h/6h/1h/30min Specifies the time during which the order is valid in the PayU system. When the validity time expires, the order is cancelled, and you are notified that the transaction failed.

Parameters of production environment

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
Key Unique MD5 key
POS Auth Key Transaction authorization key
Second Key MD5 key for securing communication

Settings of external resources

You can set external resources for the following:

Parameter Description
Small logo URL address of the logo image that is visible in the list of payment methods
PayU advertisement URL address of the PayU advertisement for your page

About

plugin for Magento version 1.6+

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 99.3%
  • HTML 0.7%