PayU Poland Payment Gateway
↑ Back to topPayU Poland is a gateway plugin that extends WooCommerce, allowing you to take credit card and direct payments via PayU. PayU cooperates with VISA, MasterCard, Diners Club and the Polish online banks and bank services. Complete list at: http://www.payu.pl/dla-sklepow/szeroki-wachlarz-uslug.
Important
↑ Back to top- A PayU merchant account is required
- Only works with the currency set to Polish Złoty
- No SSL certificate is required
Installation
↑ Back to top- Download the .zip file from your WooCommerce.com account.
- Go to: WordPress Admin > Plugins > Add New to upload the file you downloaded with Choose File.
- Activate the extension.
More information at: Installing and Managing Plugins.
Setup and Configuration
↑ Back to topTo set up the payment gateway:
- Go to: WooCommerce > Settings > Payment Gateways.
- Click PayU PL to view the settings:
- Enable/Disable – Enable or disable the payment method.
- Title – Lets you set the title of the gateway shown on the checkout.
- Description – Lets you set the description shown on the checkout when a user selects the gateway.
- – pos_id provided by PayU PL
- – MD5-Hash provided by PayU PL
- Second MD5 – MD5-Hash provided by PayU PL
- Authorization Key – pos_auth_key provided by PayU PL
- Test Mode – This is just to test your PayU account information. No payment will be made. Be sure to disable this prior to going live.
3. Save changes.
PayU Merchant Account Setup
↑ Back to topInvalid return URL
http://yourwebsite.pl/slug_of_the_checkout/order_received_endpoint/%orderId%/?key=%sessionId%&order_id=%orderId%&gateway_error=%error%
Example using default values:
Order Received endpoint: order-received
Checkout page: checkout
Example invalid return URL:
http://yourwebsite.pl/checkout/order-received/%orderId%/?key=%sessionId%&order_id=%orderId%&gateway_error=%error%
Success return URL
http://yourwebsite.pl/slug_of_the_checkout/order_received_endpoint/%orderId%/?key=%sessionId%
Example using default values:
Order Received endpoint: order-received
Checkout page: checkout
Example success return URL:
http://yourwebsite.pl/checkout/order-received/%orderId%/?key=%sessionId%
Reports URL
http://yourwebsite.pl/?wc-api=wc_gateway_payu_pl
Encoding of transmitted data
UTF-8
Troubleshooting
↑ Back to topIf you receive an error code, please reference the PayU documentation on the various error codes here: PayU Error Codes