Flash sale: Get up to 30% off themes and extensions. Ends April 26 at 3 pm UTC. Shop the sale.
  1. Documentation /
  2. PayU Poland Payment Gateway

PayU Poland Payment Gateway

PayU Poland Payment Gateway

↑ Back to top
PayU 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.
Note: This product has been retired. Documentation is no longer being updated.

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
  1. Download the .zip file from your WooCommerce.com account.
  2. Go to: WordPress Admin > Plugins > Add New to upload the file you downloaded with Choose File.
  3. Activate the extension.
More information at: Installing and Managing Plugins.

Setup and Configuration

↑ Back to top
To set up the payment gateway:
  1. Go toWooCommerce > Settings > Payment Gateways.
  2. 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 top

Invalid 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 top
If you receive an error code, please reference the PayU documentation on the various error codes here: PayU Error Codes