Fair Payments Connector is the money layer of the Fair Event plugin suite. It handles Mollie payment processing, stores transactions with line items, and provides a ledger for budgets and bank-import reconciliation.
Features:
- Mollie payment gateway with test/live modes, application fees, and webhook handling
- Transactions with itemized line items, linked to posts, event dates (fair-events), and participants (fair-audience)
- Status lifecycle (
draft → pending_payment → paid/failed) with action hooks (fair_payment_paid, etc.)
- Proactive status sync to recover stuck pending payments
- Budgets and financial entries ledger with split entries, event linkage, and import deduplication
- Many-to-many reconciliation between bank-import entries and transactions
- Token-authenticated data sharing API so satellite sites can pull their own transaction data from a hub site
- Telegram notifications on payment events
- Gutenberg "Simple Payment" block (amount, currency, description) for standalone use
- Admin pages for transactions, budgets, entries, reconciliation, API tokens, connected sites, and settings
Public PHP API for integration from other plugins:
fair_payment_create_transaction( $line_items, $args )
fair_payment_initiate_payment( $transaction_id, $args )
fair_payment_get_transaction( $transaction_id )
fair_payment_sync_transaction_status( $transaction_id )