| 开发者 | fosialtd |
|---|---|
| 更新时间 | 2026年11月6日 19:44 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[fosia_collect] shortcode) and choose the amounts.fcol_session, random, one day) is set only when a form is sent, to protect it against abuse.No. Fosia Collect works on its own, without a shop or a cart.
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.
Yes. The money goes to your own PawaPay merchant account, never through Fosia.
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.
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).
In PawaPay's documentation: Sandbox test numbers. Forms show "Test mode: no real money" while the plugin is in Sandbox mode.
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.
"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".
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.
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.
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.
Use Fosia Connect (https://connect.fosiarw.com) for payment links, QR codes and a payment page.
No. Each payment is approved by the payer on their phone; Mobile Money does not allow automatic debits.
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.
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.
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.
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.
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.