To install this plugin:
Copy the plugin's (uncompressed) folder into the script's plugins folder like this: /extras/plugins/payu/
Go to your Admin panel → Plugins (and click on "Install") to install it.
v3.1.0 => LaraClassifier v15.0.0+ and JobClass v14.0.0+
v3.0.1 => LaraClassifier v14.2.0 and JobClass v13.2.0
v3.0.0 => LaraClassifier (v14.0.0 to v14.1.0) and JobClass (v13.0.0 to v13.1.0)
v2.5 => LaraClassifier v13.0.0 and JobClass v12.0.0
v2.4 => LaraClassifier (v11.0.0 to v12.2.4) and JobClass (v10.0.0 to v11.2.4)
v2.3 => LaraClassifier (v10.2.0 to v10.2.6) and JobClass (v9.2.0 to v9.2.6)
v2.2 => LaraClassifier (v10.1.2 to v10.1.4) and JobClass (v9.1.3 to v9.1.5)
v2.1 => LaraClassifier (v10.0.0 to v10.1.1) and JobClass (v9.0.0 to v9.1.2)
v2.0 => LaraClassifier (v9.0.0 to v9.0.1) and JobClass (v8.0.0 to v8.0.1)
v1.9 => LaraClassifier (v8.0.2 to v8.0.6) and JobClass (v7.0.2 to v7.0.6)
v1.8 => LaraClassifier (v8.0.0 to v8.0.1) and JobClass (v7.0.0 to v7.0.1)
v1.7 => LaraClassifier (v7.1.x to v7.3.8) and JobClass (v5.9.x to v6.1.8)
v1.6 => LaraClassifier (v6.6.x to v7.0.x) and JobClass (v5.4.x to v5.8.x)
v1.5 => LaraClassifier (v5.7 to v6.5) and JobClass (v4.5 to v5.3)
v1.4 => LaraClassifier (v5.2 to v5.6) and JobClass (v4.0 to v4.4)
v1.3 => LaraClassifier v5.1 and JobClass v3.9
v1.2 => LaraClassifier (v4.9 to v5.0) and JobClass (v3.7 to v3.8)
v1.0 to v1.1 => LaraClassifier (v3.1 to v4.8) and JobClass (v2.0 to v3.6)
Replace all the plugin's files on your server.
SDK supports two PayU OAuth grant types: client_credentials and trusted_merchant. Default is client_credentials.
client_credentialsAdd 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).
trusted_merchantAdd 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).
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
To translate this plugin into your language:
Go to the languages folder at /extras/plugins/payu/lang/
Duplicate the folder /extras/plugins/payu/lang/en/ to /extras/plugins/payu/lang/<code>/
NOTE: Don't forget replace <code> by your language code (e.g. "de" for German language).
Open the file /extras/plugins/payu/lang/<code>/messages.php and translate it.
NOTE: To translate the file, you must change the values and not the keys of PHP array.
To uninstall this plugin, go to your Admin panel → Plugins (and click on "Uninstall") to uninstall it.
To remove this plugin:
Uninstall it
Go in the folder /extras/plugins/ and remove the folder payu/.