RWDESIGN / TECHNICAL DOCUMENTATION

PayU WordPress

A practical guide from installation and safe testing through production configuration, maintenance and troubleshooting.

01 / 17

Getting started

Requirements, installation and the first safe test.

Global PayU settings: environment, credentials and order statuses.
Global PayU settings: environment, credentials and order statuses.

Requirements

WordPress 6.6+, WooCommerce 8.5+, PHP 8.0+ and HTTPS. Use current WooCommerce and WordPress releases on production.

1. Download the package

Download the unchanged ZIP from your RWDESIGN customer account. Do not unpack it and do not rename the internal plugin directory.

2. Create a backup

Back up the database and wp-content before installation. Verify that WooCommerce checkout works with another payment method.

3. Install the plugin

Open Plugins → Add New Plugin → Upload Plugin, select the ZIP, choose Install Now and then Activate.

4. Activate the licence

Open WooCommerce → PayU WordPress → Licence, paste the purchase key and activate it for the current domain. No separate licence plugin is required.

5. Open PayU settings

Use the PayU WordPress item under WooCommerce or WooCommerce → Settings → Payments. Both links lead to the same configuration.

6. Start in Sandbox

Select Sandbox, enter sandbox POS credentials, enable only PayU Standard and save the settings.

7. Place the first order

Use a test product, complete checkout, return to the shop and confirm the final status in WooCommerce and PayU.

8. Verify callbacks

The final order status must arrive without manual refresh. If it does not, check logs and firewall/CDN rules before production.

02 / 17

Environment and credentials

Sandbox and production are separated and private keys stay protected.

Separate Sandbox and production credentials with protected secret fields.
Separate Sandbox and production credentials with protected secret fields.

Environment switch

Sandbox never charges real money. Production uses a separate POS and separate credentials. Changing the environment changes the active credential set.

Required values

POS ID, OAuth client ID, OAuth client secret and second key (MD5). Copy them from the matching PayU POS.

Secret handling

Secrets are masked after saving. Leaving a secret field empty preserves the stored value; entering a new value replaces it.

Never mix environments

Every value in one set must belong to the same Sandbox or production POS. A mixed set causes authentication or signature errors.

Notification URL

PayU must be able to call the public HTTPS notification endpoint. Do not protect it with Basic Auth, maintenance mode or bot challenges.

Return URL

The browser return only brings the customer back to the shop. It is not proof of payment; the verified server notification is authoritative.

Production handover

After entering production credentials, run one controlled low-value order and compare the PayU transaction with the WooCommerce order notes.

03 / 17

Complete settings reference

Every global setting and its effect on requests, checkout and order processing.

Global parameter reference: environment, credentials and order-status mapping.
Global parameter reference: environment, credentials and order-status mapping.

Enable PayU

Controls whether PayU gateways may be registered in WooCommerce checkout. Individual methods still have their own switches.

Environment

Selects the Sandbox or production API base and the matching protected credential set.

POS ID

Identifies the PayU point of sale receiving the order. It must belong to the selected environment.

OAuth client ID

Public OAuth identifier used to request an API access token. Often equal to POS ID, but always copy the value from PayU.

OAuth client secret

Private OAuth credential. It is masked after saving; an empty field preserves the current value.

Second key (MD5)

Secret used for notification/signature verification. Never publish it or paste it into support messages.

Initial order status

Status used after the WooCommerce order is created and before PayU confirms payment.

Successful-payment status

Usually leave WooCommerce automatic behaviour, or explicitly select Processing/Completed for the shop workflow.

Failed/cancelled status

Status used after a verified final rejection or cancellation. It must not indicate a paid order.

Retrieve status

When enabled, the plugin may query PayU for status during controlled recovery; callbacks remain the normal source of truth.

Debug logging

Writes technical events to WooCommerce → Status → Logs. Use it during tests and remove personal data before sharing logs.

04 / 17

Payment methods

Each method can be offered and configured independently.

PayU methods listed in the native WooCommerce payment settings.
PayU methods listed in the native WooCommerce payment settings.

PayU online payments

Redirect or method selection based on methods returned by the configured PayU POS.

Cards / Secure Form

Encrypted card fields are served by PayU. Card data does not pass through or get stored by WordPress.

BLIK, PayPo and instalments

Enable only methods activated on your PayU merchant account. Availability can depend on amount, currency and customer device.

Apple Pay and Google Pay

Wallets require support on the PayU account and a compatible browser/device.

Recurring payments

Requires WooCommerce Subscriptions and recurring payments enabled by PayU for the merchant POS.

Independent presentation

Every gateway has its own enabled state, title, description, order and availability rules in WooCommerce payments.

Whitelist mode

Show selected methods as separate WooCommerce gateways when the customer should choose directly in checkout.

PayU selection page

Use a single PayU gateway when PayU should present all methods after redirect.

05 / 17

PayU Standard and method list

Choose between a simple redirect and a payment-method list embedded in checkout.

Independent PayU gateways and method-list configuration.
Independent PayU gateways and method-list configuration.

Standard redirect

The customer selects PayU in WooCommerce and chooses the final method on the secure PayU page. This is the simplest and most universal setup.

Embedded method list

The plugin requests methods available for the current POS, amount, currency and browser, then presents them inside checkout.

Method identifiers

Do not hard-code methods that PayU does not return for the current transaction. The API response is the source of availability.

Fallback

When the dynamic list cannot be loaded, keep a safe PayU redirect available instead of blocking checkout.

Test cases

Test a successful payment, cancellation on PayU, browser back navigation and a delayed server notification.

06 / 17

Cards and Secure Form

Accept cards without storing card numbers or CVV in WordPress.

Encrypted card fields and Secure Form configuration.
Encrypted card fields and Secure Form configuration.

Secure Form

Card fields are hosted and encrypted by PayU. The plugin receives a token, not the raw card details.

HTTPS required

Card checkout must use a valid HTTPS certificate with no mixed-content errors or JavaScript blocking.

No card data in logs

Never log card form payloads, tokens intended for one-time use or customer authentication responses.

3-D Secure

Additional authentication is controlled by PayU and the issuer. The customer may be redirected or shown a challenge.

Card errors

Show a useful customer message, keep the order unpaid and record the technical reason in protected WooCommerce logs.

Recurring token

Reusable tokens require recurring payments enabled for the POS and an explicit customer mandate through the supported flow.

07 / 17

BLIK and online bank transfers

Configure fast Polish payment methods without displaying unavailable banks.

BLIK gateway availability and customer-facing checkout settings.
BLIK gateway availability and customer-facing checkout settings.

BLIK as a separate gateway

Enable BLIK independently when it should be visible directly in WooCommerce checkout.

BLIK code flow

The code is submitted to PayU and the order remains unpaid until PayU confirms the transaction.

Bank list

Show only banks returned by PayU for the active POS and currency. The merchant does not invent the available list.

Customer cancellation

A cancelled bank authorization must return the customer to an unpaid order with a safe retry option.

Availability

BLIK and individual banks may depend on merchant agreement, currency, transaction amount and temporary provider availability.

08 / 17

Wallets, instalments and deferred payments

Enable additional methods only when they are active for the merchant account.

Wallet, instalment and deferred-payment gateways managed independently.
Wallet, instalment and deferred-payment gateways managed independently.

Apple Pay

Requires activation by PayU, HTTPS and a compatible Apple device/browser. Test on real supported hardware.

Google Pay

Requires activation and a compatible browser/device. Availability cannot be forced by CSS or a plugin switch.

PayU Instalments

Set the gateway title and description, then verify merchant eligibility and the supported order amount range.

PayPo, Twisto and PragmaPay

Deferred methods are shown only when enabled for the POS and when the order meets provider conditions.

Amounts and currencies

Each provider can apply separate minimums, maximums and supported currencies.

Refunds

A refund is initiated against the PayU transaction; the deferred-payment provider settles it according to its own process.

Customer communication

Do not promise approval. Explain that eligibility and the final decision belong to the payment provider.

09 / 17

Recurring payments

Tokenise cards safely and process subscription renewals through PayU.

Secure Form and card-token settings used by recurring payments.
Secure Form and card-token settings used by recurring payments.

Requirements

Use a compatible WooCommerce Subscriptions installation and a PayU POS with recurring payments enabled.

Initial mandate

The first customer payment creates the required consent and token through PayU Secure Form.

Renewal

WooCommerce creates a renewal order and the plugin charges the stored PayU token server-to-server.

Failed renewal

Use the configured failed-payment status and WooCommerce retry rules; never mark access as paid without confirmation.

Cancellation and token removal

Stop future renewals when a subscription is cancelled. Do not expose reusable tokens in the administration UI or logs.

Testing

Verify initial purchase, automatic renewal, failed renewal, manual retry and subscription cancellation in Sandbox.

10 / 17

Checkout configuration and appearance

Keep PayU consistent with the active WooCommerce checkout without breaking payment scripts.

Native WooCommerce ordering and presentation of PayU methods.
Native WooCommerce ordering and presentation of PayU methods.

Classic and block checkout

Verify the gateway in both checkout types used by the shop. Do not assume settings tested in one renderer cover the other.

Titles and descriptions

Use short customer-facing labels and explain redirects or eligibility before the customer places the order.

Ordering

Set the gateway order in WooCommerce → Settings → Payments. Put the most frequently used methods first.

Theme inheritance

The plugin inherits the shop font. Use plugin appearance controls for spacing, borders and colours without replacing the theme typography.

Display positions

Place the instalment widget independently on product pages, homepage/archive loops, cart and checkout. Every context has its own switch and position selector.

Presets and logo

Choose a preset, logo visibility, colours, border, radius and internal spacing.

Other gateways

PayU CSS is scoped to PayU containers. Przelewy24, Stripe and other gateways retain their own layout, logo and scripts. Set the shared order in WooCommerce payment settings.

Custom CSS

Enter declarations for the PayU component only, without a selector. Secure PayU iframe contents cannot be overridden.

Cache and optimisation

Exclude checkout and PayU scripts from delayed JavaScript, page cache and aggressive script combining when they interfere with method selection.

Accessibility

Method tiles remain keyboard operable, use real radio controls and preserve visible focus and readable error messages.

11 / 17

Transactions, callbacks and verification

Treat verified PayU server notifications as the source of payment truth.

Create order

WooCommerce creates an unpaid order before redirect or token payment and stores the PayU order identifier in order metadata.

Signature verification

The plugin validates notification authenticity before applying any payment status.

Idempotency

Repeated notifications for the same PayU transaction must not reduce stock or complete the order twice.

Pending status

A pending notification keeps the order unpaid until PayU sends a final status.

Completed status

After verified completion the plugin records the transaction ID, adds an order note and calls the WooCommerce payment-complete flow.

Cancelled or rejected

The order receives the configured failure/cancellation status and remains available for a controlled retry.

Timeout investigation

Before retrying an API operation, compare the WooCommerce order ID and PayU order ID in the PayU panel.

12 / 17

Orders and statuses

Map the complete payment lifecycle, not only failures.

An individual payment method has its own availability and checkout settings.
An individual payment method has its own availability and checkout settings.

Before payment

Choose the status assigned immediately after the order is created, usually Pending payment or On hold.

Payment completed

Use automatic WooCommerce behaviour or explicitly select Processing / Completed.

Payment failed or cancelled

Select the status used when PayU confirms a failed or cancelled transaction.

Notifications

PayU notifications are verified and processed idempotently, so a repeated callback does not duplicate the payment transition.

13 / 17

Currencies and availability

The gateway validates currency and actual POS capabilities.

Currencies

Configure only currencies supported by the merchant account. The checkout currency is sent with the order and amount.

Dynamic methods

The final list of methods can differ by currency, amount, country, browser and activation on the PayU account.

14 / 17

Refunds

Issue refunds from the WooCommerce order when the transaction allows it.

Full and partial refunds

Open the order, choose Refund, enter the amount and use the PayU refund action. The result is saved in order notes.

Do not repeat blindly

Before retrying after a timeout, verify the transaction in PayU to avoid operational mistakes.

15 / 17

Production checklist

A short checklist before accepting real payments.

Secure Form settings for encrypted card fields supplied by PayU.
Secure Form settings for encrypted card fields supplied by PayU.

Test all enabled methods

Place a successful, cancelled and failed order for every method that will be shown to customers.

Verify callbacks and statuses

Confirm that WooCommerce receives the final PayU status without manual refresh.

Verify email and stock

Check confirmation emails, stock reduction, tax, shipping and the order currency.

Switch to production

Enter production credentials, select Production and run a controlled low-value transaction.

16 / 17

Security, logs and maintenance

Protect credentials, keep the integration current and collect useful evidence safely.

Least access

Only trusted administrators should manage PayU credentials, payment settings, refunds and production logs.

Updates

Test plugin, WooCommerce and WordPress updates on staging before production. Never replace the plugin directory with an unpacked development build.

Backups

Back up orders, order metadata and plugin settings. Do not restore production orders from an old staging database.

Log retention

Keep debug logging only as long as required. Rotate large logs and remove customer data before sending them to support.

Incident response

If credentials may be exposed, rotate them in PayU, update the protected plugin fields and verify one controlled transaction.

Health check

After CDN, firewall, domain or SSL changes, verify checkout scripts and a PayU callback before accepting normal traffic.

17 / 17

Troubleshooting

Start with configuration and logs before repeating a payment.

No payment methods

Check that PayU is enabled, credentials belong to the selected environment, checkout has HTTPS and the currency is supported.

Authentication error

The POS ID, client ID, client secret or second key does not match the selected environment/POS.

Order remains pending

Check WooCommerce logs and whether PayU can reach the notification URL. Security/CDN rules must not block callbacks.

Wallet missing

Apple Pay and Google Pay depend on merchant activation and a supported device. This is not controlled only by a plugin switch.

Method visible but cannot be selected

Clear checkout fragments, disable script delay for PayU and check the browser console for JavaScript errors from the theme or optimisation plugins.

Amount or signature mismatch

Confirm decimal handling, currency, POS ID and second key. Do not modify order totals after the PayU order is created.

Duplicate order or stock reduction

Compare PayU transaction IDs and order notes. Confirm that no second payment plugin handles the same callback or gateway ID.

What to send to support

Provide plugin/WooCommerce versions, environment without secrets, WooCommerce log excerpt, order ID, PayU order ID and exact reproduction steps.

Copyright © RWDESIGN,
All rights reserved.