Skip to content

PayU Payments (Cards, BLIK, Pay-by-link) changelog

All notable changes to PayU for CS-Cart and Multi-Vendor (kv_payu) are documented here. The format follows Keep a Changelog and the project uses Semantic Versioning.

  • Compatibility: CS-Cart and Multi-Vendor 4.22.x
  • License card: the “Buy a license” link opens the current product page.
  • Uninstalling no longer deletes your payment records. The PayU payments, refunds, queued refunds, the connection (API credentials) and the settings (including the license key) are now kept, and the payment methods are linked to the add-on again when you install it again, so you can still refund older orders (the rest of a partial refund too) after a reinstall. The new root setting “Permanently delete all payment records on uninstall” (off by default) deletes them on the next uninstall; only the log is always removed. Upgrading from 1.0.1 or earlier: upload the new zip over the installed add-on (Add-ons > Manage add-ons > upload) or use the Upgrade Center, NOT “the safe way”: the safe way runs the uninstall of the version you have installed now, and that version still deletes the payment records.
  • Multi-Vendor marketplace owner mode: a cart with products of several vendors is paid as one PayU payment on the parent order, which the admin and vendor panels never open. The payment tab, refunds and the “refund at order status” setting now work on the child (vendor) orders: each child order shows the shared payment and refunds only its own share of it (manual refund and status refund), never more than the payment. The transactions list links the child orders.
  • Every payment attempt of an order is listed on the order tab, each paid attempt with its own refund form; a second payment of an already paid order is flagged as a duplicate (the order is not touched again) and can be refunded from the order page. The automatic refund at an order status refunds every paid attempt. A new payment is refused when any earlier attempt of the order was paid, not only the newest one.
  • A payment whose amount no longer matches the order (the order was edited while the payment was pending) is booked on the payment but no longer marks the order as paid; the order tab says why, so the admin refunds the payment or adjusts the order.
  • The customer’s return for a payment that is paid while its order is not (yet) in a paid status no longer shows “transaction cancelled” with the cart kept: the cart is emptied and the order page is shown.
  • Currency minor units follow the complete ISO 4217 table (the currencies PayU accepts were already correct: PLN, EUR, CZK, GBP, USD, HUF, RON, CHF, DKK, NOK, SEK).
  • A customer who returns while PayU is still pending is no longer told “transaction cancelled” and offered to pay again: the order moves to a pending status (setting) and a waiting page checks PayU until the payment is final. A second PayU order for the same order is never started while the first is open or paid.
  • Marketplace owner mode: vendors can no longer refund (button, controller, automatic refund at a status) money of the owner’s PayU account; vendors cannot run the global queue.
  • Refunds: a refund whose answer was lost is retried with the same extRefundId, amount and description (PayU creates it once); refunds of a payment run under a lock and the refunded total accumulates atomically; refund notifications are matched by extRefundId too and the CANCELLED spelling is accepted.
  • Return, notification, cron and admin Sync serialize on a lock per payment, so stock movements and e-mails happen once.
  • Vendor mode: PayU is offered only when the cart holds products of one vendor with a connected account; mixed carts are not charged to the owner’s account.
  • Auto-receive is documented as a requirement (installation, configuration, Connection page); WAITING_FOR_CONFIRMATION is logged and shown on the order tab.
  • Names, descriptions and texts are cut by characters, not bytes (Polish letters); the request is never sent with invalid UTF-8.
  • Payments made in the other mode (test/live) are not re-read with the wrong credentials; identical notifications at the same moment no longer cause database errors.
  • Refund statuses in the order tab are translated. BGN is no longer offered.
  • Initial release.
  • PayU payment method (PayU REST API 2.1, PayU GPO Europe): OAuth client credentials, order created with POST /api/v2_1/orders, customer redirected to the redirectUri of PayU, continueUrl and notifyUrl sent with every order.
  • Notifications verified with the OpenPayu-Signature header and the second key of the POS (MD5, SHA-256, SHA-384, SHA-512), stored first and processed by the job queue, idempotent by order id and status.
  • An order counts as paid only after GET /api/v2_1/orders/{orderId} returned COMPLETED and order id, external order id, POS id, amount and currency match; lost notifications are recovered by the customer’s return and by the recurring check.
  • Full and partial refunds from the order page or automatically at an order status (POST .../refunds with a unique extRefundId), refund result read back.
  • Currencies PLN, EUR, CZK, GBP, USD, HUF, RON, CHF, DKK, NOK, SEK; amounts in minor units; other store currencies converted to PLN.
  • Connection page with encrypted credentials (POS ID, OAuth client secret, second key), test and live mode, a connection test.
  • Marketplace owner mode or one PayU account per vendor (Multi-Vendor).
  • Job queue with retries and back-off, cron (command line and secret address), log viewer with CSV export.