WP Manifestindependent plugin directory
manifest / ecommerce / payment-matcher-for-fio-bank

Payment Matcher for Fio Bank

WooCommerce plugin: marks bank-transfer orders as pad automatically using the Fio banka API. QR payment,refunds, reminders.

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/kasparek-net/payment-matcher-for-fio-bank/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Marks WooCommerce bank-transfer orders as paid automatically using the Fio banka API. See readme.txt for the full feature list.

Development

  • Unit tests (no WordPress needed): php tests/harness.php
  • Translations: wp i18n make-pot . languages/payment-matcher-for-fio-bank.pot, then python3 languages/build-cs.py && python3 languages/build-sk.py (add new strings to their dictionaries) and run wp i18n make-mo languages && wp i18n make-php languages.
  • tests/ is not part of the release ZIP.

How it works

  1. Every 15 minutes (Action Scheduler or the server cron address) the plugin downloads movements for the last N days of every connected account (one token per account) from https://fioapi.fio.cz/v1/rest/periods/{token}/{from}/{to}/transactions.json.
  2. Each incoming movement is stored once (by Fio movement ID) in {prefix}pmfio_movements.
  3. The variable symbol (or a number in the message) is matched to the order number.
  4. Amount and currency are checked. Partial payments add up.

License: GPLv2 or later.