Skip to content

Releases: swider8814/give-payu-gateway

Give PayU Gateway 1.1.0

Choose a tag to compare

@swider8814 swider8814 released this 26 Sep 09:31

Added

  • Ukrainian translation (uk). It is loaded automatically when the site language is set to Українська.

Requirements

  • WordPress 6.0 or newer
  • PHP 7.2 or newer
  • GiveWP (Give) active
  • a PayU merchant account with a PLN POS

Installation

Download give-payu-gateway-1.1.0.zip below, then in WordPress go to Plugins > Add New > Upload Plugin, upload it and activate Give PayU Gateway. Configure the gateway in Donations > Settings > Payment Gateways > PayU.

When updating from 1.0.0, upload the ZIP over the installed plugin; settings are kept.

Give PayU Gateway 1.0.0

Choose a tag to compare

@swider8814 swider8814 released this 27 Aug 09:59

First stable release. Sandbox and production payments verified end to end.

Added

  • Refunds through the PayU Refunds API from the GiveWP donation screen, and handling of PayU refund notifications: a finalized full refund marks the donation as refunded, a canceled refund restores the donation status and records an admin note, and partial refunds are noted for manual review.
  • A "Payment description prefix" setting that opens the payment description PayU shows the donor, so the wording is not fixed in the code.
  • The PayU logo in the payment method selector, in place of Give's default gateway icon.
  • An admin notice when GiveWP is inactive on WordPress versions without Requires Plugins support.
  • uninstall.php cleanup for settings, the OAuth token and internal donation meta.
  • License, Plugin URI and Domain Path plugin headers, plus a GPL-2.0 LICENSE file.
  • A dependency-free test suite (php tests/run.php).

Changed

  • PLN-only donations are enforced: non-PLN donations are rejected at order creation and the gateway is hidden on non-PLN forms, both legacy and Visual Donation Form Builder.
  • Donors returning from PayU go through a secure gateway return route that sends them to the donation confirmation page on success and to the failed-donation page otherwise.
  • Donations are marked as failed when PayU reports a canceled order.
  • The PayU OAuth token is cached between requests and refreshed once on a 401.
  • Donor-facing gateway errors use GiveWP exception types, so the specific message is shown instead of a generic notice.
  • The PayU customerIp field uses give_get_ip(), so real donor IPs are sent from behind proxies and CDNs.
  • Settings fields follow the order used in the PayU panel, and saving them requires the GiveWP settings capability.
  • Webhook payload details are logged only after the signature is verified, and order verification logs are reduced to the compared fields.

Fixed

  • Refunds no longer report success without reaching PayU, so a failed refund request cannot leave a donation marked as refunded.
  • Non-PLN donations can no longer complete against a PLN PayU order.
  • The webhook lock is released on failure and is owned per request, lock contention is answered with a retryable status, and a replayed completion notification can no longer overwrite a refunded or cancelled donation.
  • Signed notifications for donations that no longer exist are acknowledged instead of being retried by PayU for days.
  • Polish translation files carry the correct language and plural headers.

Requirements

  • WordPress 6.0 or newer
  • PHP 7.2 or newer
  • GiveWP (Give) active
  • a PayU merchant account with a PLN POS

Installation

Download give-payu-gateway-1.0.0.zip below, then in WordPress go to Plugins > Add New > Upload Plugin, upload it and activate Give PayU Gateway. Configure the gateway in Donations > Settings > Payment Gateways > PayU.

The site must be reachable by PayU over public HTTPS, so PayU can deliver payment notifications to /wp-json/give-payu-gateway/v1/status.

Give PayU Gateway v.1.0.0-rc2

Choose a tag to compare

@swider8814 swider8814 released this 01 Jun 09:54

Second release candidate with webhook hardening: stricter PayU signature validation, optional order ID mismatch protection, and webhook lock cleanup after successful completion.

Give PayU Gateway v.1.0.0-rc1

Choose a tag to compare

@swider8814 swider8814 released this 01 Jun 08:34

Release candidate for PayU one-time offsite donations in GiveWP/Give. Sandbox payment flow tested successfully; production payment test remains pending PayU production account/domain setup.

Give PayU Gateway v.0.1.2

Choose a tag to compare

@swider8814 swider8814 released this 01 Jun 08:17

Sandbox-tested release. PayU sandbox payment was completed successfully, donation status changed to Complete, and the PayU payment note/logs were confirmed.

Give PayU Gateway v.0.1.1

Choose a tag to compare

@swider8814 swider8814 released this 01 Jun 06:21

Maintenance release with repository metadata, development notes and rebuilt release package.

Give PayU Gateway v0.1.0

Choose a tag to compare

@swider8814 swider8814 released this 31 May 05:26

Initial PayU gateway release for GiveWP/Give one-time offsite donations.