JUSTY pay – Payment Gateways for WooCommerce

Description

JUSTY pay adds three payment methods to WooCommerce:

  • LiqPay – LiqPay Checkout page (cards, Apple Pay, Google Pay, Privat24 and the other methods enabled in your LiqPay account). Store currency UAH, USD or EUR.
  • WayForPay – WayForPay payment page (cards, Apple Pay, Google Pay and the other methods enabled in your WayForPay account). Store currency UAH.
  • Stripe Checkout (cards) – Stripe-hosted Checkout page, card payments.

Features:

  • Works with the classic checkout and the Cart & Checkout blocks.
  • Compatible with High-Performance Order Storage (HPOS).
  • Customers pay on the provider-hosted page; card data never touches your server.
  • Orders are marked as paid only after a signed notification from the provider (or the provider’s status API), with the amount and currency checked against the order. A mismatch puts the order on hold for review.
  • Duplicate and parallel notifications are handled safely.
  • Automatic fallback status checks if a notification does not arrive.
  • Full and partial refunds from the WooCommerce order screen.
  • Test/sandbox mode per payment method; every order remembers the mode it was paid in.
  • Credentials can be stored as constants in wp-config.php.
  • Logs in WooCommerce > Status > Logs with secrets and personal data redacted.
  • Ready for translations through translate.wordpress.org.

Source code and development: the plugin ships its full, unminified source code (PHP and JavaScript, no build step).

External services

This plugin connects to the payment providers you enable. Nothing is sent to a provider until you configure and enable its payment method. No other data is sent anywhere; the plugin has no tracking or telemetry and does not contact a licence server.

LiqPay (PrivatBank, Ukraine) – used when the customer pays with LiqPay, when the plugin checks a payment status, and when you refund an order.
Data sent: order reference, amount, currency, order description, your public key, return and callback URLs, page language. The customer enters payment details directly on the LiqPay page. LiqPay sends payment status notifications to your site.
Endpoints: https://www.liqpay.ua/api/3/checkout, https://www.liqpay.ua/api/request.
Terms: https://www.liqpay.ua/uk/information/terms – Privacy: https://privatbank.ua/personal-information

WayForPay (Ukraine) – used when the customer pays with WayForPay, for status checks, and for refunds.
Data sent: merchant account and domain, order reference, date, amount, currency, order description, return and callback URLs, page language, and the customer’s billing first name, last name, email and phone (to prefill the payment page). WayForPay sends payment status notifications to your site.
Endpoints: https://secure.wayforpay.com/pay, https://api.wayforpay.com/api.
Terms: https://wayforpay.com/wfp/files/oferta.pdf – Privacy: https://help.wayforpay.com/view/755229227

Stripe (Stripe, Inc. and affiliates) – used when the customer pays with Stripe Checkout, for status checks, and for refunds.
Data sent: order id, amount, currency, order description, the customer’s billing email, return URLs and your site’s host name. The customer enters card details directly on the Stripe Checkout page. Stripe sends webhook events to your site.
Endpoint: https://api.stripe.com/v1/ (Checkout Sessions, Refunds); customers are redirected to https://checkout.stripe.com/.
Terms: https://stripe.com/legal/ssa – Privacy: https://stripe.com/privacy

Developers

Hooks for extensions (this plugin contains no licence checks and does not call a licence server): justy_pay_loaded, justy_pay_gateways, justy_pay_blocks_methods, justy_pay_webhook_handlers, justy_pay_{provider}_request_args, justy_pay_webhook_verified, justy_pay_gateway_supports, justy_pay_settings_fields_{gateway_id}, justy_pay_pre_process_refund, justy_pay_status_check_delays, justy_pay_client_ip. Public API version: constant JUSTY_PAY_API_VERSION.

Screenshots

Installation

  1. Install and activate WooCommerce (11.0 or newer).
  2. Upload the justy-pay folder to /wp-content/plugins/ or install the zip via Plugins > Add New, then activate it.
  3. Go to WooCommerce > Settings > Payments and configure LiqPay, WayForPay and/or Stripe.
  4. Stripe only: in the Stripe Dashboard add a webhook endpoint with the URL shown in the settings and the events checkout.session.completed, checkout.session.async_payment_succeeded, checkout.session.async_payment_failed, checkout.session.expired; paste the signing secret into the settings.
  5. Make a test payment in test/sandbox mode, then switch to live.

Optional wp-config.php constants (they override the settings): JUSTY_PAY_LIQPAY_PUBLIC_KEY, JUSTY_PAY_LIQPAY_PRIVATE_KEY, JUSTY_PAY_LIQPAY_TEST_PUBLIC_KEY, JUSTY_PAY_LIQPAY_TEST_PRIVATE_KEY, JUSTY_PAY_WAYFORPAY_MERCHANT_ACCOUNT, JUSTY_PAY_WAYFORPAY_SECRET_KEY, JUSTY_PAY_WAYFORPAY_TEST_MERCHANT_ACCOUNT, JUSTY_PAY_WAYFORPAY_TEST_SECRET_KEY, JUSTY_PAY_STRIPE_SECRET_KEY, JUSTY_PAY_STRIPE_WEBHOOK_SECRET, JUSTY_PAY_STRIPE_TEST_SECRET_KEY, JUSTY_PAY_STRIPE_TEST_WEBHOOK_SECRET.

FAQ

Why is a payment method not shown at checkout?

It is enabled only when the credentials for the selected mode are filled in and the store currency is supported (LiqPay: UAH, USD, EUR; WayForPay: UAH; Stripe: currencies supported by your Stripe account).

Can I make a partial refund?

Yes. From the WooCommerce order screen you can refund the remaining balance or any smaller amount. The plugin will not refund more than was paid.

Are there additional payment methods?

A separate add-on, distributed from https://justy-pay.pro/ and not hosted on WordPress.org, adds further payment methods and features. This plugin is complete on its own: it does not include that add-on, does not check a licence, and does not contact a licence server.

The customer returned to the shop but the order is still pending

The return page never marks an order as paid. The order is updated when the provider’s signed notification arrives. If it does not arrive, the plugin asks the provider’s status API automatically, and you can trigger a check from the order screen (Order actions > “Check payment status at provider”).

Reviews

There are no reviews for this plugin.

Contributors & Developers

“JUSTY pay – Payment Gateways for WooCommerce” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.2

  • Full and partial refunds from the WooCommerce order screen for LiqPay, WayForPay and Stripe.
  • Contributors list set to the WordPress.org username. Translation files are no longer bundled; translations will be managed on translate.wordpress.org.

1.0.1

  • Brand logo on the JUSTY pay overview and WooCommerce payment method settings screens.
  • WordPress.org icon and banner assets (for the SVN assets folder; not shipped in the installable zip).
  • Payment amounts in provider JSON are formatted without changing PHP ini settings.
  • Translations load automatically (WordPress 6.9+); bundled Ukrainian files in languages/ still apply via the Domain Path header.

1.0.0

  • First release: LiqPay, WayForPay, Stripe Checkout (cards); classic and block checkout; HPOS; full refunds; test mode; Ukrainian translation.