Zlatnyk – Ukrainian Payment Gateways for WooCommerce

Description

Zlatnyk adds four Ukrainian payment gateways to WooCommerce. Each one is a separate payment method with its own keys, so you can switch on one gateway or offer several side by side and keep a second acquirer ready when the first one has an outage.

Gateways

  • LiqPay (PrivatBank) – cards, Apple Pay, Google Pay and Privat24 on the LiqPay checkout.
  • monobank (plata by mono) – cards, Apple Pay, Google Pay and the monobank app on the monobank invoice page.
  • WayForPay – cards, Apple Pay, Google Pay, Privat24 and the instalment plans enabled in your WayForPay account.
  • Flitt (formerly Fondy) – cards, Apple Pay and Google Pay on the Flitt checkout.

What every gateway does

  • Sends the customer to the gateway’s hosted payment page. Card numbers never reach your site, so you stay out of PCI DSS card-data scope.
  • Updates the order from the gateway’s server callback only after checking its signature – LiqPay SHA-1, monobank ECDSA (X-Sign), WayForPay HMAC-MD5, Flitt SHA-1. Forged or unknown callbacks are refused and never touch an order.
  • Checks that the paid amount and currency match the order; a mismatch puts the order on hold instead of marking it paid.
  • Keeps the order payable when the customer opens the payment page twice: a page opened earlier still completes the order.
  • Ignores repeated and out-of-order notifications, so a late “processing” never overrides “paid”.
  • Full and partial refunds from the WooCommerce order screen through the gateway API; a refund made in the gateway account marks the order refunded.
  • Works with the Cart and Checkout blocks and with the classic shortcode checkout; compatible with High-Performance Order Storage (HPOS).
  • Test mode: LiqPay sandbox, the monobank test token, and the public WayForPay and Flitt test merchants – try the whole flow before you have a contract.
  • Optional debug log (WooCommerce > Status > Logs, source “zlatnyk”) that never records keys or card data.
  • No callback URL to set up: the plugin sends it with every payment.

Currencies: UAH, USD and EUR on every gateway; Flitt also takes GBP, PLN and GEL. A gateway hides itself at checkout when the store currency is not one it accepts.

Zlatnyk is an independent plugin and is not affiliated with or endorsed by PrivatBank, Universal Bank (monobank), WayForPay or Flitt. Their names are trademarks of their owners and are used here only to say which services the plugin connects to.

External services

This plugin connects your store to the payment gateways you enable. Nothing is sent to a gateway until you enable it and a customer chooses it at checkout or you press a refund button.

  • LiqPay (PrivatBank, https://www.liqpay.ua/). When a customer pays, the plugin builds a signed link to www.liqpay.ua/api/3/checkout with the order amount, currency, order description, payment reference and the return and callback addresses of your store; on refund it posts the reference and amount to www.liqpay.ua/api/request. LiqPay sends the payment status back to your store. Terms and privacy: https://www.liqpay.ua/uk/information/terms, https://privatbank.ua/en/terms and https://privatbank.ua/en/personal-information.
  • monobank acquiring (Universal Bank, https://api.monobank.ua/). On payment the plugin creates an invoice at api.monobank.ua/api/merchant/invoice/create with the amount, currency, payment reference, order items (name, quantity, price, SKU) and your store addresses; it reads the webhook public key from api.monobank.ua/api/merchant/pubkey and cancels invoices for refunds at api.monobank.ua/api/merchant/invoice/cancel. Terms: https://monobank.ua/en/acquiring-main-agreement and https://monobank.ua/en/terms.
  • WayForPay (https://wayforpay.com/). On payment the plugin posts the amount, currency, order date, payment reference, order items and the customer’s name, email and phone to secure.wayforpay.com/pay; refunds are posted to api.wayforpay.com/api. Terms and privacy: https://wayforpay.com/en/terms, https://wayforpay.com/wfp/files/oferta.pdf and https://help.wayforpay.com/view/755229227.
  • Flitt (https://flitt.com/). On payment the plugin posts the amount, currency, order description, payment reference, the customer’s email and your store addresses to pay.flitt.com/api/checkout/url; refunds are posted to pay.flitt.com/api/reverse/order_id. Terms and privacy: https://flitt.com/legal/ and https://flitt.com/privacy-policy/.

Installation

  1. Install and activate WooCommerce, then install Zlatnyk from Plugins > Add New and activate it.
  2. Open WooCommerce > Settings > Payments. LiqPay, monobank, WayForPay and Flitt appear in the list.
  3. Open a gateway, tick “Enable” and paste the keys from your gateway account:
    • LiqPay – public and private key (store settings > API keys).
    • monobank – the X-Token of your acquiring store.
    • WayForPay – merchant login and merchant secret key.
    • Flitt – merchant ID and payment key.
  4. Optional: tick “Test mode” and place a test order first.

FAQ

Do I need to set a callback (server) URL in the gateway account?

No. Every payment carries the callback address of your store, for example https://example.com/?wc-api=zlatnyk_liqpay. Make sure nothing blocks POST requests to it (a firewall rule or a maintenance plugin).

How do I test without real money?

LiqPay: tick “Test mode” (it sends sandbox=1) or use sandbox keys. monobank: use the token from api.monobank.ua – in that environment any card number that passes the Luhn check is accepted and nothing is charged. WayForPay and Flitt: tick “Test mode”; the plugin uses the gateways’ public test merchants, so you need no account at all.

Does the plugin store card data?

No. Customers enter card details on the gateway’s page. The order keeps only the gateway transaction id and the payment reference.

An order stays “Pending payment” after a successful payment.

The gateway could not reach your callback address. Check that your site is reachable from the internet (not localhost), that a security plugin or the hosting firewall does not block POST requests to ?wc-api=zlatnyk_..., then turn on the debug log and look for “callback” lines.

Can I refund part of an order?

Yes. Enter the amount in the order’s Refund box and press “Refund via …”. monobank and Flitt support several partial refunds; LiqPay and WayForPay follow the rules of your gateway contract.

Reviews

There are no reviews for this plugin.

Contributors & Developers

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

Contributors

Changelog

0.1.1

  • Security hardening: gateway callback data and gateway API responses are sanitized and validated before they reach logs, order notes or order data; payment page URLs must be https on the gateway’s own domain.

0.1.0

  • First release: LiqPay, monobank, WayForPay and Flitt gateways with signed callbacks, refunds, block checkout and HPOS support.