PayU plugin Documentation

Installation

To install this plugin:

Compatibility

Update

Replace all the plugin's files on your server.

Configuration

SDK supports two PayU OAuth grant types: client_credentials and trusted_merchant. Default is client_credentials.

Parameters needed for client_credentials

Add the settings below in the script's /.env file on your server:

PAYU_MODE=your-payu-mode
PAYU_POS_ID=your-payu-merchant-pos-id
PAYU_SECOND_KEY=your-payu-second-key
PAYU_OAUTH_CLIENT_SECRET=your-payu-oauth-client-secret
    

NOTE: The PAYU_MODE variable can be sandbox (for your sandbox account testing) or live (for your live or real account).

Parameters needed for trusted_merchant

Add the settings below in the script's /.env file on your server:

PAYU_MODE=your-payu-mode
PAYU_POS_ID=your-payu-merchant-pos-id
PAYU_SECOND_KEY=your-payu-second-key
PAYU_OAUTH_CLIENT_SECRET=your-payu-oauth-client-secret
PAYU_OAUTH_GRANT_TYPE=trusted_merchant
PAYU_OAUTH_EMAIL=your-payu-oauth-email
PAYU_OAUTH_EXT_CUSTOMER_ID=your-payu-oauth-ext-customer-id
    

NOTE: The PAYU_MODE variable can be sandbox (for your sandbox account testing) or live (for your live or real account).

Connection over Proxy

Add the settings below in addition in the script's /.env file.

PAYU_PROXY_HOST=your-payu-proxy-host
PAYU_PROXY_PORT=your-payu-proxy-port
PAYU_PROXY_USER=your-payu-proxy-user
PAYU_PROXY_PASSWORD=your-payu-proxy-password
    

Translation

To translate this plugin into your language:

Uninstallation

To uninstall this plugin, go to your Admin panel → Plugins (and click on "Uninstall") to uninstall it.

Removing

To remove this plugin:

Resources