{"id":323217,"date":"2026-06-17T07:30:48","date_gmt":"2026-06-17T07:30:48","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/fair-payment\/"},"modified":"2026-06-17T07:30:17","modified_gmt":"2026-06-17T07:30:17","slug":"fair-payments-connector","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/fair-payments-connector\/","author":23290876,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.2.0","stable_tag":"1.2.0","tested":"7.0","requires":"6.2","requires_php":"7.4","requires_plugins":null,"header_name":"Fair Payments Connector","header_author":"Marcin Wosinek","header_description":"Simple payment block for WordPress","assets_banners_color":"","last_updated":"2026-06-17 07:30:17","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/marcin-wosinek\/fair-event-plugins","header_author_uri":"https:\/\/github.com\/marcin-wosinek","rating":0,"author_block_rating":0,"active_installs":0,"downloads":28,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.2.0":{"tag":"1.2.0","author":"marcinwosinek","date":"2026-06-17 07:30:17"}},"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":{"fair-payment\/simple-payment":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"fair-payment\/simple-payment","version":"0.1.0","title":"Simple Payment","category":"widgets","icon":"money-alt","description":"Simple payment block for WordPress","textdomain":"fair-payments-connector","editorScript":"file:.\/index.js","render":"file:.\/render.php","viewScript":"file:.\/view.js","attributes":{"amount":{"type":"string","default":"10"},"currency":{"type":"string","default":"EUR"},"description":{"type":"string","default":""}}}},"tagged_versions":["1.2.0"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[1220,2525,1486,7062,507],"plugin_category":[40,45],"plugin_contributors":[246733],"plugin_business_model":[],"class_list":["post-323217","plugin","type-plugin","status-publish","hentry","plugin_tags-block","plugin_tags-bookkeeping","plugin_tags-events","plugin_tags-mollie","plugin_tags-payment","plugin_category-calendar-and-events","plugin_category-ecommerce","plugin_contributors-marcinwosinek","plugin_committers-marcinwosinek"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/fair-payments-connector.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<p>Features:<\/p>\n\n<ul>\n<li>Mollie payment gateway with test\/live modes, application fees, and webhook handling<\/li>\n<li>Transactions with itemized line items, linked to posts, event dates (fair-events), and participants (fair-audience)<\/li>\n<li>Status lifecycle (<code>draft<\/code> \u2192 <code>pending_payment<\/code> \u2192 <code>paid<\/code>\/<code>failed<\/code>) with action hooks (<code>fair_payment_paid<\/code>, etc.)<\/li>\n<li>Proactive status sync to recover stuck pending payments<\/li>\n<li>Budgets and financial entries ledger with split entries, event linkage, and import deduplication<\/li>\n<li>Many-to-many reconciliation between bank-import entries and transactions<\/li>\n<li>Token-authenticated data sharing API so satellite sites can pull their own transaction data from a hub site<\/li>\n<li>Telegram notifications on payment events<\/li>\n<li>Gutenberg \"Simple Payment\" block (amount, currency, description) for standalone use<\/li>\n<li>Admin pages for transactions, budgets, entries, reconciliation, API tokens, connected sites, and settings<\/li>\n<\/ul>\n\n<p>Public PHP API for integration from other plugins:<\/p>\n\n<ul>\n<li><code>fair_payment_create_transaction( $line_items, $args )<\/code><\/li>\n<li><code>fair_payment_initiate_payment( $transaction_id, $args )<\/code><\/li>\n<li><code>fair_payment_get_transaction( $transaction_id )<\/code><\/li>\n<li><code>fair_payment_sync_transaction_status( $transaction_id )<\/code><\/li>\n<\/ul>\n\n<h3>Development<\/h3>\n\n<ul>\n<li>GitHub Repository: https:\/\/github.com\/marcin-wosinek\/fair-event-plugins<\/li>\n<li>Report Issues: https:\/\/github.com\/marcin-wosinek\/fair-event-plugins\/issues<\/li>\n<li>Contribute: https:\/\/github.com\/marcin-wosinek\/fair-event-plugins\/pulls<\/li>\n<\/ul>\n\n<h3>External services<\/h3>\n\n<p>This plugin relies on the following third-party services. Data is only sent to a service when you enable and configure the related feature.<\/p>\n\n<h4>Mollie payment gateway (api.mollie.com)<\/h4>\n\n<p>Used to process payments. When a customer initiates a payment through the plugin (for example by submitting the Simple Payment block, or when another plugin calls <code>fair_payment_initiate_payment()<\/code>), the plugin contacts the Mollie API to create the payment and later to retrieve its status (including via Mollie webhooks and periodic status sync). Data sent includes: payment amount and currency, description, redirect\/webhook URLs of your site, customer billing email when provided, and your Mollie access token. Mollie is operated by Mollie B.V.<\/p>\n\n<ul>\n<li>Terms of service: https:\/\/www.mollie.com\/legal\/user-agreement<\/li>\n<li>Privacy policy: https:\/\/www.mollie.com\/legal\/privacy<\/li>\n<\/ul>\n\n<h4>Fair Event Plugins OAuth proxy (fair-event-plugins.com)<\/h4>\n\n<p>Used only if you connect Mollie through the built-in OAuth flow instead of pasting a personal API key. The plugin redirects you to <code>https:\/\/fair-event-plugins.com\/oauth\/authorize<\/code> to authorize access to your Mollie account, and later calls <code>https:\/\/fair-event-plugins.com\/oauth\/refresh<\/code> to refresh the Mollie access token when it expires. Data sent includes: the OAuth refresh token stored in your site and, during initial authorization, the parameters Mollie returns to the proxy. The proxy is operated by the plugin author (Marcin Wosinek) and exists because Mollie OAuth requires a registered client secret that cannot ship in a public plugin.<\/p>\n\n<ul>\n<li>Terms of service: https:\/\/fair-event-plugins.com\/terms\/<\/li>\n<li>Privacy policy: https:\/\/fair-event-plugins.com\/privacy\/<\/li>\n<\/ul>\n\n<h4>Telegram Bot API (api.telegram.org)<\/h4>\n\n<p>Used only if you configure a Telegram bot token and chat ID in the plugin settings to receive payment notifications. When a payment event occurs (such as a payment being marked as paid or failed), the plugin sends an HTTP request to <code>https:\/\/api.telegram.org\/bot&lt;token&gt;\/sendMessage<\/code> containing the notification text (transaction id, amount, status, and a link back to the admin transaction page) and the configured chat id. The Telegram Bot API is operated by Telegram FZ-LLC \/ Telegram Messenger Inc.<\/p>\n\n<ul>\n<li>Terms of service (Bot API): https:\/\/telegram.org\/tos\/bot-developers<\/li>\n<li>Privacy policy: https:\/\/telegram.org\/privacy<\/li>\n<\/ul>\n\n<h4>Other WordPress sites you connect (hub \/ satellite data sharing)<\/h4>\n\n<p>If you use the connected-sites \/ data-sharing feature, the plugin will send authenticated REST requests to the WordPress site URLs you explicitly enter in the \"Connected sites\" admin page so it can pull transaction data. No data is sent to those sites unless you configure them yourself. There are no third-party terms for this feature \u2014 the remote endpoint is another WordPress site running this same plugin, under your control.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/fair-payments-connector<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>0.1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Mollie-based payments and bookkeeping for WordPress events.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/323217","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=323217"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/marcinwosinek"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=323217"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=323217"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=323217"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=323217"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=323217"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=323217"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}