Linux 软件免费装
Banner图

Fosia Collect – Mobile Money Payments & Donations

开发者 fosialtd
更新时间 2026年11月6日 19:44
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

donate donation payment form mobile money pawapay

下载

1.0.0

详情介绍:

Fosia Collect adds a "Pay" or "Donate" form to any page of your WordPress site. People pay with Mobile Money (MTN MoMo, Airtel Money, Orange Money, M-Pesa, Moov Money and the other operators of your PawaPay account), and the money goes straight to your own PawaPay account. Fosia never holds it. It is made for organisations that do not sell products: NGOs and charities, churches, schools, associations, events. You do not need WooCommerce, a shop or a cart. You need your own PawaPay merchant account. A Sandbox account to test is free and opens in minutes; PawaPay opens the Live account after checking your organisation (see the FAQ). How it works
  1. You add the Fosia Collect form block to a page (or the [fosia_collect] shortcode) and choose the amounts.
  2. The visitor picks an amount, types their Mobile Money number and presses "Donate" (or "Pay").
  3. They are sent to PawaPay's secure payment page and approve the payment on their phone with their PIN.
  4. They come back to your page and see the real status, read from PawaPay: "Thank you, your donation was received", "Payment not received yet" (with "Pay again" and "Check again"), or "Payment failed" with the reason in plain words and "Try again". Never "thank you" for a payment that did not arrive.
Features Payments you can trust Privacy Countries The plugin knows the Mobile Money countries of PawaPay's API: Benin, Burkina Faso, Cameroon, Congo, DR Congo, Côte d'Ivoire, Ethiopia, Gabon, Ghana, Kenya, Lesotho, Liberia, Malawi, Mali, Mozambique, Nigeria, Rwanda, Senegal, Sierra Leone, Tanzania, Uganda, Zambia and Zimbabwe. You can take payments in the countries and with the operators enabled on your PawaPay account.

安装:

  1. Install Fosia Collect from Plugins > Add New, then activate it. The guided setup opens.
  2. Choose Sandbox (test) or Live and paste your PawaPay API token: it is tested with PawaPay before it is saved.
  3. Type your organisation's name and country.
  4. Copy the callback address into your PawaPay Dashboard under System Configuration > Callback URLs (Deposits, and Refunds if you will refund from WordPress). This is recommended, not required.
  5. Click "Create a donation page": a draft page with the form opens in the editor. Set the amounts in the block settings, publish, and try it with a PawaPay Sandbox test number.
Everything can be changed later in Fosia Collect > Settings.

屏幕截图:

  • Back from PawaPay: the payment status, read from PawaPay.
  • "Payment failed" with the reason and "Try again".
  • The block settings in the editor.
  • Fosia Collect > Transactions, with filters and the CSV export.
  • Fosia Collect > Dashboard: received, totals per form, latest payments.
  • The guided setup.

升级注意事项:

1.0.0 First version.

常见问题:

Do I need WooCommerce?

No. Fosia Collect works on its own, without a shop or a cart.

Does it work on a site that also runs WooCommerce?

Yes. Fosia Collect does not use WooCommerce and does not change your shop or its checkout: its payments are kept in its own table, with their own callback address and screens. It was tested on a site running WooCommerce and a WooCommerce Mobile Money gateway for the same PawaPay account.

Do I need a PawaPay account?

Yes. The money goes to your own PawaPay merchant account, never through Fosia.

  • Sandbox (testing): free, you open it yourself in a few minutes at dashboard.sandbox.pawapay.io, with no documents.
  • Live (real payments): PawaPay opens it after checking your organisation's documents, from your Sandbox account (how to start). The time this takes depends on PawaPay, not on the plugin.

Is it free? Does Fosia take a commission?

The plugin is free, with no limit on the number of forms or payments. Fosia takes no commission. The only fees are PawaPay's own processing fees, agreed between you and PawaPay.

How do I add a form?

Edit a page, add the "Fosia Collect form" block and set the amounts, the currency and the fields in the block settings. With another page builder, use the shortcode, for example: [fosia_collect title="Support our school" amounts="1000, 5000, 10000" other="yes"] Shortcode options: type (donation or payment), title, text, amount (one fixed amount) or amounts (separated by ; or |, for example amounts="1,000; 5,000; 10,000"), other (yes/no), min, max, currency, country, name, email (off, optional or required), message (yes/no), anonymous (yes/no), field (label of an extra field) and field_required (yes/no), button, thanks, thanks_url, and id (keeps a form's totals together when you change its title).

Where do I find PawaPay test phone numbers?

In PawaPay's documentation: Sandbox test numbers. Forms show "Test mode: no real money" while the plugin is in Sandbox mode.

What if the callback address is already used by another plugin?

PawaPay keeps one "Deposits" callback address per account. If a shop plugin already uses it, leave it: Fosia Collect still confirms each payment by asking PawaPay when the payer comes back and in the background. The callback only makes the confirmation faster.

What does the payer see if the payment fails?

"Payment failed", the reason in plain words (for example "The Mobile Money balance was not enough for this payment"), "No money was taken", and a "Try again" button. If they come back without paying: "Payment not received yet" with "Pay again" and "Check again".

Can people give anonymously?

Yes, if you keep "Offer to give anonymously" on in the block. The payer's name is then not recorded; the payment shows "Anonymous" in your list.

Where are the payments? Can I export them?

In Fosia Collect > Transactions, with filters and an "Export CSV" button (the export protects your spreadsheet against formula injection). Fosia Collect > Dashboard shows the totals of each form.

Can I refund a payment?

Yes, fully or partly, from Fosia Collect > Transactions > Details and refund, through PawaPay with your own token: the money goes back to the Mobile Money number that paid. You can never refund more than what was paid minus the refunds already made, including those you made elsewhere (cash, PawaPay Dashboard) and record on the same screen. Each refund is confirmed before it is sent, its status is checked with PawaPay until it is final, and your notes keep who refunded, when and how much. A payer who received a receipt by e-mail gets an updated one.

Not on WordPress?

Use Fosia Connect (https://connect.fosiarw.com) for payment links, QR codes and a payment page.

Is recurring giving possible?

No. Each payment is approved by the payer on their phone; Mobile Money does not allow automatic debits.

Does it work with a page cache (LiteSpeed Cache, WP Rocket, Hostinger cache…)?

Yes. The form's page can be cached: just before the form is sent, the page asks your site for a fresh security code (through admin-ajax.php, which caches never keep), and if a very old page still gets through, it is sent again once, silently. Answers to the form and payment status pages (addresses with fcol_payment) are marked "do not cache", and LiteSpeed Cache is told directly. If your cache plugin caches query strings anyway, exclude fcol_payment from the cache.

Many people pay from the same Wi-Fi (a church, a school). Will they be blocked?

No. Only payments that really start at PawaPay are counted: each phone number may start 5 payments and each browser 10 payments per 10 minutes, and one connection 60 (you can raise it in Settings > Protection against abuse, or with the fcol_rate_limits filter). Mistyped numbers, missing fields and "Pay again" / "Try again" are never counted.

How do I know which pupil (or invoice, or member) a payment is for?

Give the form an extra field: in the block's Fields panel, type its label (for example "Student name and class") and choose Required. With the shortcode: [fosia_collect type="payment" title="Term 1 fees" amount="25000" field="Student name" field_required="yes"]. The answer shows in Transactions, in the CSV export, in your e-mail and on the payer's receipt.

A payer without an e-mail address asks for their data or its deletion.

WordPress's export and erasure tools search by e-mail address. For a payer who gave no e-mail, search Fosia Collect > Transactions by their Mobile Money number (or name or reference), then answer from there.

What happens to my data if I delete the plugin?

The settings (including the encrypted token) are deleted. Your payment records are kept, unless you tick "Delete the payments table too when the plugin is deleted" in the settings first.

更新日志:

1.0.0