UCA Payment Gateway with WayForPay for GiveWP

Description

Registers WayForPay as a custom payment gateway for GiveWP.
Donors pay on WayForPay’s hosted payment page; the plugin does not handle card data on your site.

Payment status is set by a server-to-server webhook from WayForPay, whose signature is verified before any donation is updated.

The plugin is built and maintained by the Ukrainian Charity Alliance (UCA), which is not affiliated with,
endorsed by, or sponsored by WayForPay or GiveWP. “WayForPay” and “GiveWP” are the trademarks of their
respective owners and are used here only to describe what this plugin connects to.

Supported

  • One-time donations.
  • Recurring donations (subscriptions), including renewals and cancellation.
  • Refunds from the GiveWP donation screen.
  • GiveWP Test Mode, with separate live and test credentials.

Requirements

  • WordPress 6.6 or later.
  • PHP 8.3 or later.
  • GiveWP.
  • A WayForPay merchant account.

External services

This plugin relies on WayForPay (https://wayforpay.com/), a third-party payment
provider, to process donations. Payment cannot work without it.

Donors are redirected to WayForPay’s hosted payment page to pay, so no card
details are entered on or handled by your site.

The plugin sends data to WayForPay in these situations:

  • When a donor submits a donation. The donation is registered with WayForPay
    and the donor is redirected to its payment page. Sent: the donor’s first and
    last name, email address, phone number, and billing address (country, street,
    city, state, postal code); the donation amount, currency, date, and an order
    reference; the campaign title as the item being paid for; and your site’s
    domain, language, and the two callback URLs WayForPay uses to report the
    result.
  • When a donation is refunded from the GiveWP donation screen. Sent: the
    stored transaction reference, amount, and currency.
  • When a recurring donation is cancelled. Sent: the stored transaction
    reference.

WayForPay also sends payment results back to your site server-to-server. Those
requests are signature-verified before any donation is updated.

Your WayForPay merchant credentials are stored in your site’s settings and are
used to sign these requests.

Use of this service is subject to WayForPay’s terms of service
and privacy policy.

Screenshots

Installation

  1. Install and activate GiveWP.
  2. Install and activate this plugin.
  3. Go to Donations > Settings > Payment Gateways and enable WayForPay.
  4. Enter your WayForPay Merchant Account and Secret Key.

FAQ

Do I need a WayForPay account?

Yes. A merchant account with WayForPay is required to accept payments.

Are card details entered on my site?

No. Donors are redirected to WayForPay’s hosted page to pay.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“UCA Payment Gateway with WayForPay for GiveWP” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.3.2

  • Added: Plugin icon for the WordPress.org plugin directory.

1.3.1

  • Fixed: Donors who cancel on a Ukrainian-language site are no longer stuck on a blank WayForPay page.

1.2.0

  • Fixed: Donations failing with HTTP 429 from WayForPay on busy sites. The redirect is now browser-side instead of server-side.
  • Security: Return URL requests must carry the donation’s token.
  • Security: Escape the payment form at output; send the webhook reply via wp_send_json().

1.1.1

  • Fixed: The changelog now lists all released versions, not only the latest.
  • Fixed: Long changelog entries are no longer cut off mid-sentence.

1.1.0

  • Changed: Renamed plugin to “UCA Payment Gateway with WayForPay for GiveWP”, with a matching uca-payment-gateway-with-wayforpay-for-givewp slug.
  • Changed: readme.txt now states that the plugin is not affiliated with WayForPay or GiveWP.
  • Security: Sanitize callback data before calls to WayForPay SDK.
  • Security: Check for donation-id existence in return URL logic.
  • Security: Don’t record all fields in Donation Note.
  • Fixed: Webhook errors are only written to the error log when WP_DEBUG is enabled.

1.0.2

  • Fixed: The release zip no longer ships development files from the Composer dependencies.

1.0.1

  • Added: “External services” section in readme.txt documenting what donor data is sent to Wayforpay and when, per WordPress.org plugin guidelines.

1.0.0

  • Added: Wayforpay off-site payment gateway for GiveWP (hosted payment page; no card data handled on-site).
  • Added: One-time donations.
  • Added: Recurring donations (subscriptions), including renewals and cancellation.
  • Added: Refunds from the GiveWP donation screen.
  • Added: GiveWP Test Mode with separate live and test credentials.