1. Introduction
Merit is self-hosted software for verified debt assistance. People and small businesses apply with their debts and evidence, reviewers check them, and supporters and organisations help pay the creditor directly. Every step is recorded.
Merit is software only. It does not hold or move money itself: payments run through the payment provider you connect, and you are responsible for the licences, legal approvals and terms needed in the countries where you operate.
2. Requirements
- PHP 8.3 or newer with the usual extensions (the installer lists and checks them).
- MySQL 8, MariaDB 10.4 or newer, or SQLite.
- A cron entry for the scheduler (one line, given by the installer).
- HTTPS on the live site.
3. Installation
- Upload the files to your hosting (domain, sub-domain or sub-folder).
- Open the site address. The installer starts and asks for a setup code.
- Open
storage/app/setup-code.txtwith your file manager and copy the code. - Follow the steps: server check, database, platform (name, first country, currency; United Kingdom is preselected), administrator, optional mail, finish.
- Sign in to the control centre and set up two-factor sign in.
- Add the cron line shown at the end of the installer.
Where to point the domain
The best set-up points the domain (or sub-domain) at the public folder inside Merit. If your host only lets you point it at the main folder, that works too: the .htaccess file in the main folder sends every request into public and refuses the application folders.
On Apache nothing else is needed; mod_rewrite must be on (it is on almost every host). On nginx, point root at the public folder and use:
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location ~ \.php$ {
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_pass unix:/run/php/php8.3-fpm.sock;
}
location ~ /\.(?!well-known) {
deny all;
}
The cron line
Merit sends mail, runs the queue and does its daily checks (reconciliation, badges, retention, monthly gifts, webhooks, exchange rates) from one cron line that runs every minute. The installer shows it with the right paths; it looks like this:
* * * * * php /path/to/merit/artisan schedule:run >> /dev/null 2>&1
No separate queue worker is needed: the scheduler drains the queue every minute. Hosts that offer a worker (Supervisor) can run php artisan queue:work instead, for faster mail.
HTTPS
Use HTTPS on the live site. The installer marks sign-in cookies as secure when it runs over HTTPS, and the REST API refuses plain HTTP on a site that runs on HTTPS.
4. Control centre
- Sign in and two-factor, staff and the five roles, settings, audit log, modules, extensions, themes, System > Version.
- Applications, reviewer queue, case review page, identity checks, risk alerts, published cases.
- Supporters, contact messages, theme settings.
- Financial operations (contributions, settlements, payment files, refunds, disputes, bank transfers), the ledger, reconciliation and the settlement report, System > Payment providers.
- Organisations (their check, members, programmes and suspension) and the programme overview.
- Recognition > Badges: the badges, manual awards and the history of awards (section 12); Recognition > Cashback (section 25).
- Website > Pages and News (section 22); Applications and cases > Notes to check (section 23).
- Financial operations > Monthly gifts and Sponsorships (sections 14 and 15); System > Text messages, Send log and Announcements (section 17).
- System > Countries and System > Currencies and rates; Risk and compliance > Screening and Compliance cases; Privacy and retention > Privacy requests, Privacy notice and terms, Retention (section 13).
5. Applying for help (beneficiaries)
- Registering, confirming the email, the seven-step application, evidence uploads (PDF, JPG, PNG, WebP), drafts, withdrawing, answering evidence requests, appeals, privacy choices.
- Payments: what was paid to each creditor, what the creditor confirmed and the balance still owed, and sending proof when help was paid out to the beneficiary.
6. Reviewing and publishing cases
- The four trust levels and what each proves.
- Identity, business and creditor checks; evidence review.
- Review actions with reasons; conflict-of-interest rules; fraud flags for review.
- Publishing a case: public, private link, private, organisation only.
7. Public website and themes
- Laurel (the default, dark) and Ledger (light), both included. Switching theme and editing its texts.
- Case list and live search, case page, report this case, contact form, legal pages.
8. Supporters and giving
- Supporter accounts for people and companies; the role switch.
- Giving dashboard, saved cases, preferences.
- The identity check limit (Settings > Giving).
- Giving to a case or one debt, anonymous giving, messages and their approval.
- Badges: the supporter's badges page, public switches and the optional public page (section 12).
- Monthly gifts (section 14), sponsorships for companies (section 15), Suggested for you (section 16) and notification choices (section 17).
- Gift credit from cashback, when the operator switches cashback on (section 25).
Yearly giving statement
My giving > Giving statement shows one calendar year: the confirmed gifts with totals per currency (refunds kept apart), the cases and programme funds given to, how many people were helped, cases settled in full, monthly payments and the badges earned that year. It prints cleanly. It is a summary for the supporter's own records, never a tax receipt; tax relief, where a country has it, is described in section 13.
9. Payments
Merit never holds money. A payment provider (or your own bank account, for bank transfers) takes each gift; Merit records it. A gift counts only once the provider confirms it, never because a supporter came back from the payment page.
Switching a provider on
- System > Extensions: switch on Stripe, PayPal, Mollie, GoCardless or Bank transfer (any you need).
- System > Payment providers: fill in the provider's settings, choose test or live mode, and tick "Offer at checkout". Keys and secrets are stored encrypted. After saving they are never shown again; the box says "Saved" and an empty box keeps the saved value.
- Use "Test connection" to check the keys.
- Copy the webhook address shown for the provider into the provider's own dashboard.
Supporters see each way to pay on the review page, with the fee text you write for it. The platform takes no fee from gifts; provider fees are booked as the platform's processing costs, so the case receives the whole gift. Stripe's and PayPal's own payment pages open in the language the supporter reads Merit in.
Stripe
- Developers > API keys: copy the secret key (test keys start with sk_test_, live keys with sk_live_).
- Developers > Webhooks: add the webhook address from Merit with the events checkout.session.completed, checkout.session.expired, payment_intent.succeeded, payment_intent.payment_failed, charge.refunded, charge.dispute.created and charge.dispute.closed, and copy the signing secret (whsec_...).
- Supporters pay by card on Stripe's own page.
PayPal
- In the PayPal developer dashboard, create an app (sandbox and live apps are separate) and copy its client ID and secret.
- Add a webhook to the app with the Merit webhook address and the events PAYMENT.CAPTURE.COMPLETED, PAYMENT.CAPTURE.DENIED, PAYMENT.CAPTURE.REFUNDED, CUSTOMER.DISPUTE.CREATED and CUSTOMER.DISPUTE.RESOLVED, then copy the webhook ID into Merit. Every webhook is checked with PayPal before it is used. For monthly gifts add BILLING.SUBSCRIPTION.ACTIVATED, BILLING.SUBSCRIPTION.PAYMENT.FAILED, BILLING.SUBSCRIPTION.CANCELLED, BILLING.SUBSCRIPTION.SUSPENDED, BILLING.SUBSCRIPTION.EXPIRED, PAYMENT.SALE.COMPLETED, PAYMENT.SALE.REFUNDED and PAYMENT.SALE.REVERSED.
- Supporters approve the payment at PayPal; Merit then takes the payment from its own server.
Bank transfer
- Enter the account name, the bank, the account currency, and a sort code with account number or an IBAN (with BIC). Only gifts in the account's currency can be paid by transfer.
- The supporter sees the bank details and a reference made for that gift (MRC-...). The gift keeps its place against the case until the deadline (7 days by default, under System > Payment providers > Payment rules), then runs out.
- Financial operations > Bank transfers: import the bank statement as a CSV file (first row: date, amount, reference or description; currency and payer are optional) or add a line by hand. Lines with a known reference and the same amount are suggested; a person makes the match. Above the second-approval amount, a different finance person approves the match.
Mollie
- Developers > API keys in the Mollie dashboard: copy the test key (test_...) and the live key (live_...). Switch on the ways to pay you want (cards, iDEAL, Bancontact and more) at Mollie and write how supporters see them in "Name shown to supporters".
- Mollie is told the webhook address with each payment, so there is nothing to add in its dashboard. Mollie's webhook only names a payment: Merit reads the payment back from Mollie with your key before it believes anything, and stores only what it reads. On a local test install (localhost or a .test address) Mollie cannot reach you; Merit then asks Mollie itself when the supporter comes back and every ten minutes.
- Refunds and part refunds go back through Mollie; chargebacks are recorded as disputes.
GoCardless
- Developers > Create > Access token in the GoCardless dashboard (read-write); sandbox tokens start with sandbox_, live ones with live_.
- Developers > Create > Webhook endpoint with the webhook address from Merit; copy its secret into Merit. Every delivery is checked against its signature, and each event in it is stored and handled on its own.
- Supporters fill in their bank details on GoCardless's own page: Bacs Direct Debit in pounds, SEPA Direct Debit in euros. "One-off gifts" chooses a single Direct Debit (confirmed in about three working days) or an instant bank payment (only when Instant Bank Pay is switched on in your GoCardless account). A Direct Debit gift stays pending until GoCardless confirms it; it is given up to 14 days, while a GoCardless page nobody finished runs out after three.
- Refunds must be switched on for your GoCardless account (ask GoCardless). Merit sends each refund with the total refunded so far, as GoCardless requires.
Webhooks
Merit checks the provider's signature before it reads anything, keeps every delivery (encrypted), handles each event once, waits for an event that arrives too early, and refuses an amount or currency that does not match the gift. The latest deliveries are listed under System > Payment providers, where a failed one can be tried again.
Contributions, receipts and the supporter
- Financial operations > Contributions: every gift with its payment, history, webhooks, ledger journals and refunds. Search by reference, receipt number, case, supporter or provider id.
- Each confirmed gift gets a receipt number, an email receipt and a printable receipt in the supporter's giving area. Gifts shown as anonymous are never named on public pages.
Refunds and disputes
- Refunds are started from a confirmed contribution, only for the reasons supporters read before paying: the creditor refused or returned the money, the case closed before pay-out, or the payment was not made by the supporter. Above the second-approval amount (500.00 by default) a different finance person approves; nobody approves their own refund.
- Card and PayPal refunds go back through the provider. A bank transfer refund is sent from your bank and then marked as sent with the bank's reference. The supporter is told by email.
- Disputes (chargebacks) arrive by webhook and are listed under Financial operations > Disputes. Answer them at the provider; Merit records the outcome.
The ledger
Accounting and reconciliation > Ledger shows every journal with its lines. Each journal balances in every currency, nothing can be changed or deleted (the administrator included), and a mistake is put right with a reversing journal linked to the original. The Accounts tab shows the balances: provider clearing, restricted contributions per case, bank transfers pending, refunds, chargebacks and processing fees.
Reconciliation
Every morning at 06:00 (server time) the scheduler compares yesterday's records from Stripe and PayPal, and the imported bank statement lines, with the ledger. You can also run it for up to 31 days under Accounting and reconciliation > Reconciliation. Anything that does not match waits in the exceptions list until someone resolves it with a note. Reconciliation never changes a payment.
Permissions
Finance pages need the finance permissions and two-factor sign in. The finance officer role can see, prepare, approve, settle and reconcile; setting up providers stays with the administrator unless you give "Set up payment providers and payment rules" to someone on purpose.
10. Settlements: paying the debts
Merit pays each debt from the gifts that were confirmed for it, to the creditor wherever possible. Everything here is under Financial operations > Settlements, and each case has its own settlement page (open it from the "Settlement" panel on the case review page).
Creditor payment details
- Key in the creditor's bank details from their own letter or invoice: a UK sort code and account number, or an IBAN and BIC. Merit checks the format and the IBAN check digits, stores the details encrypted and from then on only shows them masked (for example "Account ••••5482"). Note where they came from, add the creditor's document if you have it, and record whether the creditor takes part payments.
- A second finance person checks the details by keying the account in again from the same document, without seeing what was entered. Only a match counts; after three mismatches the details have to be entered again. The person who keyed them in can never check them.
- New details for a debt replace the old ones, hold every payment of that debt that was not sent, and raise a flag for compliance. A held payment is released only once the new details are checked and compliance has resolved the flag; any approval given before is asked for again.
- The same account turning up as a beneficiary's own account and as a "creditor" (or for two different people) raises a flag for review.
Preparing and approving a payment
- On the case's settlement page, choose "Prepare a payment" on a debt. Merit only lets you pay from confirmed gifts on that debt, and never more than the creditor's own confirmed balance. A payment of less than that balance is a part payment and needs the creditor to take part payments.
- Gifts to the whole case of a case with several debts are shared out when you prepare: the amount is filled in by due date (soonest first) and you can change it. The share is recorded, never edited, and shown on the payment.
- You can save a payment as a draft and prepare it later; a draft sets nothing aside.
- Above the second-approval amount (Payment rules, 500.00 by default) a different finance person approves it; nobody approves what they drafted or prepared. Every payment to a beneficiary needs a second approval, whatever the amount.
Sending, returns and the ledger
- "Bank transfer from the platform account": send the money from your bank, then choose "Mark as sent" with the bank's reference, the date and, as a check, the account number you paid into. The ledger journal (restricted money of the case to the bank) is posted at the same moment.
- Payment extensions that can pay out (a "payouts" capability) appear as another way to send.
- A payment that comes back or fails is recorded with "Reverse with a new journal": the original journal stays, a reversing journal is posted, and the money is free to pay again. A payment that was sent is never edited or cancelled.
Payment files (Bacs and SEPA)
Financial operations > Payment files gathers approved bank payments into one file for your bank's bulk upload, instead of keying them one by one.
- Payments in pounds to UK accounts become a bulk payment CSV (payee name, sort code, account number, amount, reference) in the characters Bacs takes. Payments in euros by IBAN become a SEPA credit transfer file (pain.001.001.03); the account it pays from is the IBAN and BIC in the bank transfer settings, or the organisation's own account (section 11). Other payments are sent one by one as before.
- One file takes one currency, one kind of account and one set of books, up to 500 payments. Only approved payments that are not held and whose checked details have not changed can go in.
- A finance person makes the file; a different person with the permission to approve payments approves it. Only then can it be downloaded, within 48 hours and at most three times, with two-factor sign in and a fresh password. The file is made at that moment from the encrypted details and never stored; every step is audited without account numbers.
- After the bank takes the file, "Mark as sent" with the bank's reference and the date records every payment in it as sent and posts their journals, all of them or none. While a payment is in an open file it cannot be sent or cancelled on its own; cancel the file to free its payments.
Creditor confirmation and settlement
- When the creditor confirms the payment, choose "Record the creditor's confirmation": add their letter, email or a screenshot (stored encrypted, every opening logged) and the balance they now hold. That balance becomes the debt's newest balance, confirmed by the creditor.
- Trust level 4, "Settlement confirmed", is reached once the creditors confirmed every payment sent. A debt shows as cleared only when its creditor confirms a zero balance. Part payments keep the case open for more gifts.
- When every debt of a case is cleared and nothing is left, the case closes as settled and shows under "Recently settled" on the home page and with the "Include settled cases" filter.
Asking the creditor directly
With the creditor portal switched on (System > Modules), the review page of an application has "Ask the creditor": send the creditor's email a link to confirm a debt's balance, or to confirm a payment that was sent.
- The link works for 30 days. The creditor first types the account reference they hold for the customer; it is compared with the encrypted one on file and never shown. Five wrong tries lock the link.
- The creditor gives the balance and its date, uploads their letter or statement (PDF or image, re-encoded and stored encrypted) and says whether they accept payments from others.
- Nothing reaches the case by itself: a reviewer (or finance, for a payment) accepts the answer, which records it through the normal steps, or declines it with a reason.
Payouts to the beneficiary
- Only when the creditor's recorded confirmation says they do not take payments from others (or, later, when a programme's rules allow it). Key in the beneficiary's own account, write why, and a second person approves.
- The beneficiary is asked for proof that the money reached the creditor, which they add in their account under Payments. Without proof after the number of days set in Payment rules (30 by default) compliance gets a flag and the beneficiary a reminder.
Closing a case
"Close the case" on the settlement page shows first what will happen, as supporters were told before paying: confirmed money not paid yet goes to each creditor as a part payment where the creditor takes part payments, otherwise it is refunded to the supporters through the refund flow. If a creditor's answer or details are missing, the page says what to put right first. A closure needs a written reason and is audited.
Who sees what
- Supporters see in their contributions when their gift was paid to the creditor and when the creditor confirmed it, and get an email at each step. Their overview shows what was paid to creditors from their giving.
- The beneficiary sees every payment, what the creditor confirmed and the balance now owed under Payments in their account, and gets an email at each step.
- The public case page and the case list show what was paid to the creditor, kept apart from the funded amount, with the dates in the updates. Creditor names and account details are never shown.
- The overview's "Paid to creditors" tile counts settlements only, never contributions.
Reports
- Each case has a printable settlement report: the money kept apart, the seven amounts of each debt, every payment with its approvals, the evidence list and the journals.
- Accounting and reconciliation > Settlement report lists the payments sent in a period with their totals per currency and a CSV download.
11. Organisations and programmes
Charities, foundations, companies, community organisations and social enterprises can run their own assistance programmes on your platform: their own rules, their own reviewers, their own fund. Their money and their records stay theirs; your staff check the organisation, not its applicants.
Registering and the platform's check
- Someone signs in with a personal account and opens "Run a programme" (
/organisations/register, linked in the footer). They enter the name, legal name, kind of organisation, country, registration and charity numbers, registered address, contact email, an optional website and description, and upload the registration papers (PDF, JPG, PNG or WebP, up to six files). They become the organisation's first administrator. - In the control centre, Users and accounts > Organisations lists every organisation with its status. Open one to read its papers (each opening is logged), record the check of the legal entity (the register you looked in, whether it was found, whether the name matches, whether the owners or trustees were checked) and approve it. Approval needs a passed check.
- Until it is approved nothing of the organisation is public and its portal shows only its status.
"Suspend" stops an organisation at once: its programmes take no applications or gifts, its public pages are gone and its portal shows only the status with your reason. Suspending and reinstating need a written reason and go to the audit log. The compliance officer role holds these permissions.
The organisation portal
Members sign in with their normal public account and open /org/...; someone who only works for an organisation lands there after signing in, and someone who also asks for or gives help finds "Organisation portal" in their account menu. Staff accounts never join an organisation, and members never reach the control centre.
- Roles: organisation administrator (everything, including staff and settings), case reviewer (reviews applications), finance officer (allocations, payments, gifts and refunds) and auditor (reads everything, changes nothing).
- Staff and permissions: the administrator invites people by email. The link is signed and runs out after seven days; the person accepts it with the invited address or makes an account there. Nobody changes their own role and an organisation always keeps an administrator.
- Administrators, finance officers and auditors (they all see money) must switch on two-step sign in before they use the portal; Settings > Security can ask it of every member.
- Nobody approves their own allocation, payment or refund. Above the organisation's own threshold (Settings > Security; the platform's threshold when empty) a second person approves.
- The portal has a light and a dark look, the quick search (Ctrl K) finds only this organisation's records, and the audit log lists what its members did, with a CSV download.
Branding and a custom domain
- Settings > Branding: name, short name, description, website, logo and accent colour. Logos are PNG, JPG or WebP up to 2 MB, are drawn again on the server and saved under a random name; SVG files are refused. The colour is checked for contrast in the light and the dark theme, and a colour that cannot be read is refused with the reason. The colour shows in the portal and on the organisation's public pages in both themes.
- Settings > Custom domain: enter a domain the organisation owns (for example help.example.org). Add the two DNS records shown: a CNAME to your platform's host and a TXT record named
_merit.<domain>with the value shown. "Check DNS" looks for the TXT record; once it is found the domain shows the organisation's page and its programmes (private ones too). Everything else on that domain goes to your platform's address. Your web server must answer for the domain with a valid HTTPS certificate; ask your host to add it.
Programmes
An administrator creates a programme under Programmes > New programme:
- Name, summary and description; public (listed on the site) or private (only by its invitation link or on the organisation's own domain).
- Budget (the most the programme will allocate) and funding target (what it asks supporters for; zero means it takes no gifts).
- Rules: countries, types of debt, people or businesses, the most per person (over the whole programme or in any 12 months), the checks needed before money is allocated (identity, debt evidence, the creditor's confirmation), whether payouts to the person are allowed, and dates. Changing the rules of an open programme needs a reason and makes a new numbered version.
- Reviewers: leave empty for every reviewer of the organisation, or name the ones who take it.
A programme starts as a draft; "Open" makes it live. Public programmes show on the Programmes page (with live search by text, country and type of debt), on the home page and on the organisation's profile page. Private programmes never appear in a list, the sitemap or search.
Applications to a programme
People apply from the programme's page with the normal seven-step wizard; the application goes to the organisation only and is never listed on the site. Before it can be sent, the programme's rules are checked (country, type of debt, applicant type, the most per person and the dates). The organisation's reviewers take it through the same review steps, trust levels, reasons and conflict-of-interest rules as your own reviewers. Members of an organisation cannot apply to its own programmes.
Money
- Supporters give to a public programme from its page, through the same review and payment steps as a gift to a case; the organisation adds its own money with "Add our own funds" on the programme's page.
- Gifts go into the programme's own fund. Each organisation has its own ledger accounts: its money is never posted to the platform's accounts or another organisation's, and its journals, reports and exports are its own.
- Funding and payments: a finance officer allocates money from the fund to an approved debt. An allocation never goes above the debt's approved amount, the budget left, the confirmed money in the fund or the most per person. Then the debt is paid to the creditor through the settlement steps described in section 10, inside the organisation's portal.
- Organisations use the platform's payment providers by default. Settings > Payment providers lets an administrator enter the organisation's own provider account instead; its keys are stored encrypted and only used for that organisation's programmes. Bank transfers into your platform's bank account are matched by your finance team as usual.
- Money > Bank account: the organisation's administrator can enter the organisation's own bank account (two-factor sign in, stored encrypted, shown masked) and switch it on. Transfers to its programmes then show its own details, and its finance team imports its own statements and matches them, with a second person above the second-approval amount. Monthly standing orders keep going to the account they were set up with. Payment files for its programmes pay from this account.
Reports
Reports in the portal show, per programme, the budget, confirmed funding, allocations, payments to creditors and the budget left, kept apart; applications by status; payments; gifts and refunds; and the organisation's own journals. Each has a CSV download. Your control centre shows each programme's figures under Programmes, never its applicants.
12. Badges
Badges recognise supporters, and organisations, for help that was confirmed. They are worked out from confirmed records only: a click, a pending payment or a bank transfer that has not arrived never earns one. They give no extra rights and never rank anyone. People who ask for help never get badges; an account that also gives shows its badges only on its giving side.
The badges
Recognition > Badges in the control centre. Six badges are made at install: First contribution, Supporter (three people helped), Helped 10 people, Settled a debt in full, Programme backer and Twelve months of recurring help. Nobody holds one until the rules award it.
- New badge, or Edit on a badge: a name, a short description, the tier (single level, bronze, silver or gold), the artwork picked from the medal set that ships with Merit (nothing is ever uploaded), who can earn it (supporters, organisations or both), the rule and its threshold, whether it is public by default, and whether it is on. The preview shows the medal as it will look.
- The rules: confirmed contributions, people helped (different people, not gifts), debts settled in full (a debt paid from the holder's gift that its creditor then confirmed at a zero balance), the total confirmed amount in one currency (gifts in another currency count at the rate stored when they were confirmed), programmes supported, kinds of debt helped, and months of monthly giving (months in a row or in total, chosen per badge; a month counts once its payment is confirmed).
- A changed rule applies to new awards. A badge already earned stays unless a refund drops the holder below the rule they earned it under.
- The switch on each card turns a badge off: nobody earns it and it is hidden everywhere outside the control centre; awards made so far are kept. The arrows change the order supporters and the site see.
- After a badge is added, switched on or given a new rule, everyone is checked again in the background (the scheduler runs the queue every minute).
When badges are awarded and taken back
- When a gift is confirmed by the payment provider (or matched by finance for a bank transfer), when programme money is allocated, and when a creditor confirms a payment.
- A refund or a lost dispute that drops a holder below the rule takes the badge back, with a plain note saying why. A gift under an open dispute does not earn a badge but does not take one away until the dispute is lost.
- Every day at 05:30 the scheduler checks everyone again, to catch anything missed. You can run the same check with
php artisan merit:badges. - The same badge is never awarded twice to the same holder.
Awarding and taking back by hand
"Award manually" is for what the rules cannot see, such as help moved from an old account. Find the supporter or organisation, choose the badge and write the reason (at least 10 characters). "Take back" in the history does the reverse. Both need the "Award or take back a badge by hand" permission, are kept with your name and written to the audit log; the holder is told the platform team did it, and your reason stays with the team. A badge taken back by hand is not given again by the rules on their own.
Supporters
- My giving > Badges: earned badges with a public switch each, badges in progress with the real figure ("1 of 3 people"), badges taken back and why, and how badges are awarded.
- What others see: show badges next to the name (on gifts made by name only; anonymous gifts never show badges), a public page with the name and public badges and nothing else (never indexed, never in the sitemap; switching it off removes it and switching it on again gives a new address), and badge emails. A notice always appears under the bell in the giving area.
Organisations
An organisation earns badges for badges set to "organisations" or "both", with the money it put into its own programmes ("Add our own funds"). Gifts from supporters earn badges for those supporters. Every member sees Organisation > Badges in the portal; administrators choose which ones show on the organisation's public page, and they get a notice when one is earned.
On the website
Both themes show the badges that are on, by name and medal only: the Ledger home page in its "Badges you can earn" section, Laurel in its medal rail. The section is left out while no badge is on. Named supporters on a case page show their public badges.
Permissions
"See the badges" opens the page, "Create, edit, order and switch badges" changes them, and "Award or take back a badge by hand" covers manual awards. The administrator has all three; the auditor can look.
13. Languages, countries and compliance
Merit can run in more than one country and language. Nothing happens in a country until the platform team has reviewed it, people who may match a sanctions list are held for a person to check (never accused), and everyone can see, download, correct or remove their own data where the law allows.
Languages
- The public website, the beneficiary and supporter areas, the organisation portal and every email are translated. Merit ships in English (United Kingdom, the default), Dutch, French, German and Spanish, in a formal register. The control centre and the installer stay in English.
- System > Settings, "Languages on the site": the languages offered. The language of the platform's own region is always on; a language switched off is never offered.
- Visitors choose a language from the picker in the site header, the menu on phones, the sign in pages and the account areas. The choice is kept in a cookie and, for signed-in people, on their account, so emails reach them in their language too. A link can carry
?lang=de; every page says which other languages it exists in (hreflang) for search engines. - Dates, numbers and amounts follow the reader's language: "1.234,56 €" in German, "€1,234.56" in English. An amount typed with a comma as the decimal sign is understood.
- Badge names and descriptions have a field per language in Recognition > Badges; an empty field shows the English text. The six default badges come translated.
- The privacy notice and the terms have their own text per language (see "Privacy" below). The theme's own texts set in Themes stay as you wrote them; the defaults that ship with the themes are translated.
- The layout works right to left (CSS logical properties); no right-to-left language ships yet.
php artisan merit:langchecks that every text the code uses exists in every shipped language, with the same placeholders.--export=file.jsonwrites the missing texts of one language for a translator.
Currencies and exchange rates
System > Currencies and rates.
- Debts, gifts and payments always stay in their own currency. "Switched on" lists the currencies offered; the platform's own currency cannot be switched off.
- The reporting currency is the one overview totals (dashboard, reports) are shown in. Totals in another currency are converted and marked "converted".
- Rates are entered by hand ("Enter a rate": one unit of the first currency is worth this many of the second, from a date) or fetched from the European Central Bank's daily reference rates. The feed is off by default; when on, Merit asks only
www.ecb.europa.eu, over HTTPS, with short time limits, on working days at 16:30 and 21:00.php artisan merit:ratesfetches them by hand. - A correction is a new rate; nothing is overwritten. A rate older than "Oldest usable rate, in days" before the day it is needed is not used.
- Every conversion keeps the original amount, the rate, where the rate came from and when. It is never worked out again, so an old report stays the same after rates change.
- Conversions are used where one amount has to be compared with another currency: the identity threshold for supporters, the second approval threshold for payments, badge rules on an amount, and the reconciliation of a statement settled in another currency (with the rate the provider used; without it, or with a fee in another currency, finance sees the line as an exception to look at).
Countries
System > Countries. Every country has a status:
- Not reviewed (the start for every country): nothing happens there.
- Under review: being prepared for launch; nothing live yet.
- Limited: open only for the flows you tick (new applications, publishing cases, gifts, payments to creditors and payouts).
- Approved: open for everything, within the country's rules.
- Restricted: new applications, cases, gifts and payments are stopped; staff can still put right what is already running.
- Suspended: everything new is stopped, usually while a problem is looked into.
The installer approves the country chosen at install (the United Kingdom when preselected). Every change needs a reason and is kept in the country's history and the audit log.
A country's rules: the payment providers allowed there, the currencies, the assistance currency with the smallest and largest amount per application, applicant types, debt types, checks that must pass before a case is published or paid (identity, evidence, the creditor's balance, the company check for businesses) and sanctions screening of applicants when they apply, payout routes (to the creditor, to the person), a launch date and a disclosure in each language shown to supporters before they give. Empty lists mean "no extra limit".
The rules are checked in the backend of every flow, not only in the screens: applying, publishing a case, giving (the case's country), and preparing, approving and sending a payment.
Sanctions screening
Risk and compliance > Screening.
- Who is screened: organisations before they are approved, companies that give, supporters once their gifts pass the identity threshold, every payment recipient (creditor or person) before a payment is prepared, and applicants where a country's rules ask for it. Names are screened again when a new list is loaded.
- Load a list as CSV (for example the UK consolidated list of financial sanctions targets, or the UK sanctions list): lists with "Name 1" to "Name 6" columns and plain lists with a "Name" column and optional "Aliases" both work. Names are compared after removing accents, titles, company endings and word order. Loading a list again under the same name replaces the older copy.
- While no list is loaded, screenings say "No list loaded" and hold nothing. You can also choose to have a person screen every name by hand.
- A possible match never accuses anyone. It holds the activity (the person or business sees only that a routine check is running and nothing was charged) and opens a compliance case. A person in compliance records the result with a written note of what was checked: clear, not the same person, or a confirmed match. "Not the same person" asks for the hold's release, which a second person confirms.
- Companies that give also need a passed company check (Supporters, the supporter's page, "Company check"), the same register check used for business applicants.
Compliance cases
Risk and compliance > Compliance cases. For compliance officers only.
- A case collects links (accounts, supporters, organisations, applications, cases, payments, screenings, risk alerts), notes, an assignee and a priority, and ends with a decision.
- Holds stop everything, or payments only, for a case, an account, a supporter, an organisation or a set of payment details. One person asks for a release with a reason; a different person confirms it. A case closes only once its holds are released.
- Every step is written to the case file and the audit log. Records of anyone linked to an open case are under legal hold: the retention purge and erasure leave them alone.
Privacy
- People have "Your data" in their account (both the help and the giving side): consents given, "Download my data", ask for a correction, ask for erasure, restrict the use of their data, and the requests they made with their status.
- Download my data is built in the background: a zip of JSON files and their own documents, protected with AES-256 and a password shown only in their account. The link is signed and runs out after seven days. A new download can be asked for once every 24 hours.
- Erasure where the law allows: the name, contact details, story and files go; what the law requires is kept without the name and with the reason (gifts, receipts and payments as accounting records, usually six years; the terms accepted and the audit log). An account with money still moving, an open case or a legal hold waits.
- Restriction stops new applications, gifts and payments for that account until it is lifted.
- Privacy and retention > Privacy requests: every request with its 30 day deadline, events and notes; staff answer in the person's language. Erasing asks for your password again.
- Privacy and retention > Privacy notice and terms: a text per language, published as a new version. Signed-in people are asked to accept a changed version; every acceptance is recorded with the version.
Retention
Privacy and retention > Retention. Each type of record has a period and an action (delete or make anonymous), and can be switched off. Defaults: evidence of closed cases 6 years, applications that did not go ahead 2 years, contact messages 1 year, network and device signals 180 days, read notices 1 year, data export files 7 days, payment provider messages 90 days.
The purge runs every night at 03:30 and writes what it did to the audit log; "Preview" counts what would go without changing anything (php artisan merit:retention --dry-run). Records under legal hold are skipped and counted.
Tax relief
A programme may show a tax relief statement (for example Gift Aid) only once the platform team has confirmed the organisation's charity registration for that country: Organisations, the organisation's page, "Tax relief", with the register and the number. The organisation then writes the statement per language on the programme. Until then supporters read that the organisation has not confirmed that gifts qualify. Withdrawing the confirmation hides the statement at once.
Permissions
"See the currencies, the reporting currency and the exchange rates" and "Enter exchange rates, switch the central bank feed and change the reporting currency"; "See the country registry" and "Change a country's status and rules"; "See risk alerts and investigations" and "Handle fraud cases and escalations" cover screening and compliance cases; "See privacy requests, consent records and retention runs" and "Answer privacy requests, erase and restrict accounts, edit the privacy notice and the retention schedules". The finance officer manages currencies; the compliance officer handles screening, compliance cases and privacy and can see countries and currencies.
14. Monthly gifts
Supporters can give the same amount every month to a whole case, one debt of a case or a programme's fund. A case gets monthly payments until it is funded; a programme until the supporter stops.
Setting one up
- On a case or programme page, the supporter chooses "Every month" in the gift form and a day from 1 to 28. Before anything is set up, a page shows every term: the amount and the day, the first payment, how to pause, change or cancel, and what happens when the case is funded, paused or closed. Only the ways to pay that support monthly payments are offered.
- A year of the monthly amount counts toward the identity check limit at setup (in another currency at the day's rate), together with what is left of the supporter's other monthly gifts.
- Each monthly payment counts only once the payment provider confirms it, with its own receipt. The overfunding guard and the country's rules apply to each one, and a payment reported twice or out of order is handled once.
How each provider takes the money
- Stripe: the supporter saves a card on Stripe's own page. Merit takes each monthly payment itself from that card, after its checks. Add payment_intent.payment_failed to the Stripe webhook events (section 9).
- PayPal: the supporter approves a PayPal subscription once and PayPal takes each payment on its day. Merit runs its checks two days ahead and pauses the subscription at PayPal when a payment should not be taken. PayPal keeps the day of the first payment, so the day cannot be changed later; a higher amount may need the supporter's approval at PayPal. Add the subscription events listed in the PayPal settings to the webhook. A payment PayPal takes while the gift is paused is recorded and raised for finance to look at.
- GoCardless: the supporter sets up a Direct Debit mandate once on GoCardless's page. Merit asks for each monthly payment itself against the mandate, after its checks; GoCardless confirms it a few working days later. Cancelling the monthly gift cancels the mandate.
- Bank transfer: the supporter sets up a standing order with the gift's own reference (MRS-...). Statement lines with that reference and amount are suggested in Financial operations > Bank transfers and matched by finance like any transfer.
Checks before every payment
Before a payment is taken, Merit checks the case again. When the case is funded, paused, settled or closed, or the payment would fund it beyond its target, the monthly gift pauses and the supporter gets an email with the choices: move the gift to the case's programme, choose another case, or cancel. Money is never moved somewhere new without the supporter's choice.
Failed payments
Financial operations > Monthly gifts, "Failed payments". Merit tries a failed card payment again after 3 and 5 days, and suspends the monthly gift after 3 failures in a row (both changeable by someone who can manage payment providers). PayPal follows its own retries. The supporter is emailed each time.
Supporters
My giving > Monthly gifts: each gift with its next payment, confirmed months and latest payments. Pause, start again, change the amount or the day, choose another case after a pause, and cancel. Payments already confirmed stay with the case and keep their receipts. For a standing order the supporter changes or cancels it at the bank as well.
Control centre and organisations
- Financial operations > Monthly gifts: every monthly gift with live search, the status filter, the history and the payments. Gifts paused for the supporter's choice and suspended gifts are counted at the top.
- Organisation > Money > Monthly gifts lists the monthly gifts to the organisation's programmes. A supporter shows only by the public name chosen for the gift, or as an anonymous supporter; never an email address or anything else about them.
- The scheduler runs
php artisan merit:recurringevery hour. - Badges can count months of monthly giving (section 12).
15. Sponsorships and gift matching
A company or an organisation can sponsor a programme or a group of cases: it pays money into a sponsorship fund, and gifts from supporters to those cases are matched from it.
Proposing a sponsorship
- Companies that give use My giving > Sponsorships; organisation administrators use Organisation > Money > Sponsorships.
- A proposal names a programme, or cases filtered by countries and debt types (empty means all), and sets the budget and currency, how gifts are matched (half, the same amount or double the gift), the most per gift, the dates, the terms, and whether the sponsor's name, logo (PNG, JPG or WebP, re-encoded, never SVG) and website link are shown.
- Nothing is promised by sending it. Once approved, the terms cannot be changed.
Approval
Financial operations > Sponsorships. Open the proposal, read it and approve or decline it with a note. Approving screens the sponsor against the sanctions lists first (section 13); a possible match holds the sponsorship for compliance. Staff can pause matching, start it again and end a sponsorship. Sponsorships end on their own after the last date.
Money in, matches out
- After approval the sponsor pays into its fund with any way to pay that is switched on. A company pays once the person acting for it passed the identity check and the company check. Only money the payment provider confirmed is used for matches; it is kept in its own ledger account.
- A match is made only when a supporter's gift is confirmed: the gift times the ratio, up to the most per gift, the budget left and the money in the fund. The overfunding guard counts the match, so the match shrinks when the case needs less; the gift never does. Each gift is matched once, by the sponsorship approved first.
- A refund or a lost dispute of the gift reverses its match with a new ledger journal. Match money already paid to a creditor is not taken back; finance sees it as an exception.
- Money still in the fund when a sponsorship ends stays there until the platform team and the sponsor settle it as the terms say. Refunds of sponsor money are limited to the part that was never matched.
Where supporters see it
The matching is shown before paying, on the receipt, and on the case and programme pages of both themes, with the sponsor's name, logo and link when the sponsor chose to show them (the link is marked as sponsored). Nothing is shown when no sponsorship applies.
Reports
The sponsor sees the figures of each sponsorship (paid in, matched, reversed, left) and every match, with a CSV export. Financial operations > Sponsorships has the same for every sponsorship.
Permissions
"See sponsorships, their money and their reports" and "Approve, decline, pause and end sponsorships". The finance officer can look; the compliance officer can do both.
16. Suggested cases
My giving > Suggested for you lists open cases picked from the supporter's own choices in My giving > Preferences (countries, debt types, applicant types, the most left to fund, the checks done at least, cases close to their deadline), their saved cases and past gifts. Each case says why it is there, for example "Because you chose Utility bills and United Kingdom".
- The rules are plain and work only with what the public case page shows. People are never ranked by how vulnerable they look.
- Cases already given to or saved are left out. The list mixes kinds of debt, and a case close to its deadline keeps a place. The giving overview shows the first ones.
- The weekly email of new suggestions is off until the supporter switches it on. It goes out on Mondays at 08:00 (
php artisan merit:suggestions), never sends the same case twice, and stops with one click.
17. Notifications, text messages and announcements
Notification choices
- Everyone has one Notifications page: My account > Notifications on the help side, My giving > Notifications, Organisation > My notifications in the portal, and the bell's settings link in the control centre. Each kind of notice can go by email, by text message and in the app.
- Required notices (security, legal, receipts, payment and settlement steps) are marked "Required" and cannot be switched off.
- Optional emails carry a signed link to stop them in one click, and List-Unsubscribe headers.
The bell
The help and giving areas, the organisation portal and the control centre have a bell with the number of unread notices. A notice can be marked read, or all at once. The bell refreshes on every page and once a minute while the page is open.
Text messages
- System > Text messages: choose the gateway, fill in its settings and send a test text to your own phone (at most five an hour). Twilio ships as an extension of the type "SMS"; its auth token is stored encrypted and never shown again. Merit talks to Twilio only over HTTPS, with time limits. The "Log" gateway writes texts to storage/logs instead of sending them, for a local copy only.
- People receive texts only after confirming their number with a six-digit code (a few codes per hour and day), and only for the notices where they switched texts on.
- Texts are short and in the reader's language. They never contain creditor references, evidence or other sensitive details; they point to the account instead.
Sending and the send log
Notifications are sent from the queue and tried again when a mail or text gateway fails. System > Send log lists what was sent, when, how and whether it worked, with live search. It never stores the content.
Announcements
System > Announcements: an administrator writes a title and a message for supporters, people asking for help, organisation members or staff, in the app and by email. Each person's choices are respected, only a few announcements can be sent per hour and day, and every one is in the audit log.
Permissions
"See the send log and the announcements sent" and "Set up text messages and send announcements". The administrator has both; the auditor can look.
18. Fraud rules
Risk and compliance > Fraud rules. Five rules look at gifts and the accounts that pay them. Like the rules on applications, they only raise a risk alert for a person to look at, with the usual innocent reasons written in it. No rule refuses, holds or refunds a gift.
| Rule | Looks at | Starts with |
|---|---|---|
| Many failed payments from one account | declined or expired payments per account | 5 within 60 minutes |
| Many gifts from one account in a short time | confirmed gifts per account | 10 within 24 hours |
| Refunds and lost disputes keep coming back | refunded gifts and lost disputes per account | 3 within 90 days |
| Large first gift from a new account | the first confirmed gift of an account younger than the window | 1,000 in the platform currency, accounts younger than 7 days |
| Gift from the same place as the person helped | the browser or network address a gift was paid from, against the ones the application was sent from | look back 30 days |
Each rule has a switch, its limit and its window. Changes are written in the audit log with the old and new values. Network addresses and browser marks are kept as keyed hashes only.
An alert about a gift links to the gift and the supporter for staff who may see them. Resolve it with a note, as any other alert.
The compliance officer and the administrator change the rules; the auditor can look.
19. Analytics
Reports > Analytics shows, for one currency and up to two years:
- confirmed gifts, money paid to creditors, refunded or taken back, supporters who gave, applications sent and approved, monthly gifts running, and the average days from a case's publication to the first money sent to its creditor;
- a monthly chart of confirmed gifts against money paid to creditors (hover for the figures, or switch to the table);
- money paid to creditors by kind of debt, confirmed gifts by country, and how far the applications of those months have come: approved, published, first payment to a creditor.
Every figure comes from confirmed records: a gift counts from the day its provider confirmed it, a payment from the day it was sent. Currencies are never added together. "Monthly figures (CSV)" downloads the monthly series. Finance, compliance, the auditor and the administrator can see it.
20. Accounting exports
Accounting and reconciliation > Accounting exports.
- Choose the books (the platform's, or one organisation's), the currency and the dates.
- Check the trial balance: debits and credits per Merit account up to the last day, with a check that they are equal.
- Pick a format and download it:
- Merit journal lines: every line with its journal number, date, type, memo, account, debit, credit and provider reference.
- Xero manual journals: import under Accounting > Manual journals > Import. Each journal's lines share one narration, debits are positive and credits negative.
- QuickBooks Online journal entries: import with the journal entry import (Journal No, Journal Date, Currency, Memo, Account, Debits, Credits, Description).
- Under "Your account codes", enter the code each Merit account takes in your own chart (for example 2100 Restricted contributions becomes your restricted funds account). Every case's restricted account becomes one line with your code; the case stays in the description. An empty code exports Merit's own code. Set the Xero tax rate name (default "No VAT").
Every download is written in the audit log. Text that looks like a spreadsheet formula is quoted so it never runs. Finance officers download and map codes; the auditor downloads and reads.
21. REST API and webhooks
API keys
System > API keys. Make one key per system, with only what it needs:
| Scope | Reads |
|---|---|
| cases:read | published public cases and their public figures |
| programmes:read | public programmes |
| contributions:read | gifts the provider confirmed, with refunds and disputes |
| settlements:read | payments to creditors and their confirmations, without bank details |
| ledger:read | ledger journals and their lines |
A key can be limited to one organisation and given an end date. The full key is shown once when it is made: copy it straight into the other system's secret store. Merit keeps only a fingerprint (SHA-256) of it. Revoke a key at any time; calls with it are refused from then on.
Calling the API
Send the key as Authorization: Bearer <key> to https://your-site/api/v1/.... Keys are never accepted in the address. A live site on HTTPS refuses plain HTTP. Each key may make 120 calls a minute.
| Endpoint | Returns |
|---|---|
GET /api/v1 | the key's name and scopes |
GET /api/v1/cases and /cases/{id} | public cases |
GET /api/v1/programmes | public programmes |
GET /api/v1/contributions | confirmed gifts |
GET /api/v1/settlements | payments sent to creditors |
GET /api/v1/ledger/journals | journals with their lines |
Lists are oldest first, 50 per page (per_page up to 100). Pass next_cursor back as cursor for the next page, and since (a date or ISO 8601 time) for records changed from then. Amounts come as minor (whole pence or cents), decimal and currency. The API never returns email addresses, postal addresses, creditor references or bank details, and a supporter's name only when they gave by name.
Webhooks
System > Webhooks. Add the HTTPS address of a system that should hear when money moves and choose the events:
contribution.confirmed,contribution.refunded,contribution.disputed,contribution.charged_backsettlement.confirmed(a creditor confirmed a payment;debt_clearedsays whether the debt is now at zero)
Each request is a JSON POST with the headers Merit-Event, Merit-Delivery and Merit-Signature: t=<unix time>,v1=<signature>. The signature is an HMAC-SHA256 of <unix time>.<body> with the endpoint's signing secret. Check it, refuse requests older than five minutes, and use the id in the body to ignore repeats.
The signing secret is shown once; "New secret" makes another and the old one stops at once. Only public HTTPS addresses are accepted, and the address is checked again before every call. Answer with a 2xx code within 10 seconds. Failed deliveries are tried again after 1, 5, 30, 120, 360, 720 and 1440 minutes; after 20 failed tries in a row the webhook is switched off and the audit log says why. The delivery log shows every try with the answer; "Send again" and "Send a test" are there too.
Only the administrator makes keys and webhooks; the auditor can look. The scheduler sends due deliveries every minute (php artisan merit:webhooks does it by hand).
22. Website pages, news and the home page
- Website > Pages: your own pages (about, partners, questions) written in Markdown, in every language the site offers (a tab per language). Publish from a date, and link a page from the header or the footer in the order you choose. Addresses Merit uses itself are refused.
- Website > News: posts with an optional cover picture (re-encoded on upload), listed on /news, in the sitemap and, when the section is on, on the home page.
- Text is shown safely: raw HTML is removed and unsafe links are dropped. A page that is not translated into the reader's language says so and shows the default language.
- System > Themes > Settings: per theme, switch the home page sections on or off, change their order, and set the accent colour. A colour that would leave button text or links hard to read (below 4.5:1 contrast) is refused.
Permissions: content.view, content.manage.
23. Case updates and thank-you notes
- People with a published case write short updates and thank-you notes under My account > Updates and thanks (20 to 1,000 characters; two waiting per case, three a day).
- Applications and cases > Notes to check: a reviewer publishes or declines each note with a reason. Links, email addresses and phone numbers are refused, and supporters cannot write back, so nobody can be pressured outside the platform.
- A published note shows on the case page; supporters with confirmed gifts to the case are told, and the writer hears the decision.
24. Partner referrals and invitations
Partner referrals
- An organisation's administrator or reviewer refers a person from the organisation portal (name, email, a note for reviewers, and a box confirming the person agreed). Up to 50 a day; one live referral per person.
- The person opens the invitation, reads what the partner will and will not see, and says yes. The referral follows their account to their first application. The partner sees the stage and the application's status only after that consent, never its content.
- Reviewers see "Referred by" with the partner's note on the application.
Invite by CSV
- Control centre (imports.manage) or the organisation portal (org.manage): upload a CSV with the columns email, name and language (comma or semicolon) to invite supporters, or applicants to one programme. Cases are never imported: every application goes through the checks.
- Every row is checked and shown before anything is sent, with a box confirming the people agreed to hear from you. Up to 500 rows a list and 2,000 invitations a day.
- Each person gets one email with a link of their own; nobody gets an account they did not create themselves. Addresses are stored encrypted and removed after 90 days.
25. Cashback
Cashback is a thank-you for supporters, paid from a budget of its own and never from a case's money. It is off until you switch it on.
- Recognition > Cashback: confirm you checked how cashback affects gift aid and tax relief, then choose the countries where it is on (the supporter's country on their profile), the budget's currency, a percentage of the gift or a fixed amount, the smallest gift that earns it, the most per gift and per supporter a month, and when credit expires (0 keeps it until used).
- "Add to the budget": money the operator or a sponsor sends to the platform's bank account, posted to the ledger as its own fund (2700 Cashback budget). Nothing is promised beyond the budget: when it runs out, cashback pauses by itself.
- Supporters see before paying how much they will receive and when. A confirmed gift that meets the rules is promised that amount; it is given only after the creditor confirms a payment made from that gift.
- How it is given: as credit for the next gifts (2710 Cashback credit), which the supporter gives to a marketplace case under My giving > Gift credit and which is never paid out as money; or paid back to the card through the payment provider (where the provider cannot, it is given as credit).
- A refund or chargeback of the gift cancels cashback not given yet. Credit that expires goes back to the budget.
Permissions: cashback.view, cashback.manage.
26. Security notes
- There are no default accounts, master passwords or back doors. The only account the installer makes is the administrator you create, and two-factor sign in is required for it.
- The installer asks for a code from a file on your server, so nobody else can set up a fresh copy, and it locks itself for good once Merit is installed.
- Every page is sent with a nonce-based Content Security Policy and the usual security headers.
- Secrets (payment keys, SMS credentials, webhook secrets), creditor references, payment details and identity numbers are stored encrypted. Keys and secrets are never shown again after saving.
- Evidence files are kept in private storage, encrypted, and every view is logged. Images are re-encoded; SVG files are refused everywhere.
- The ledger cannot be edited by anyone, the administrator included; mistakes are corrected with a reversal. Nobody approves their own case, payment or refund.
- Every sign in, code, form and change is rate limited. Staff actions are written in an audit log that cannot be edited.
- Outgoing calls go only to the payment and SMS providers you set up, to the European Central Bank feed when you switch it on, and to webhook addresses you add, always over HTTPS. Private network addresses are refused.
- Keep PHP and your server software up to date, use a strong database password, and keep a backup of the database and the
storagefolder.
Permissions reference
Every permission a role can hold, by module. Starter roles pick up the permissions of modules added later.
Accounting
| Permission | Allows |
|---|---|
accounting.view | See the trial balance and download accounting exports |
accounting.manage | Map ledger accounts to the accounting package's codes |
API and webhooks
| Permission | Allows |
|---|---|
api.view | See API keys, webhooks and their deliveries |
api.manage | Create and revoke API keys and manage webhooks |
Applications and cases
| Permission | Allows |
|---|---|
cases.view | See applications, debts and cases |
cases.review | Review evidence and decide on standard cases |
cases.verify | Check identity documents and business registrations |
cases.assign | Assign and reassign cases to reviewers |
cases.publish | Approve public summaries, publish and unpublish cases |
cases.override | Approve a case before all three checks are done, with a written reason |
Cashback
| Permission | Allows |
|---|---|
cashback.view | See the cashback rules, the budget and every award |
cashback.manage | Change the cashback rules and add money to the budget |
Country registry
| Permission | Allows |
|---|---|
countries.view | See the country registry and each country's rules and history |
countries.manage | Change a country's status and rules |
Currencies and exchange rates
| Permission | Allows |
|---|---|
currencies.view | See the currencies, the reporting currency and the exchange rates |
currencies.manage | Enter exchange rates, switch the central bank feed and change the reporting currency |
Financial operations
| Permission | Allows |
|---|---|
finance.view | See contributions, payments and the ledger |
finance.prepare | Start refunds, match bank transfers and prepare payments |
finance.approve | Approve payments, refunds and transfers, including second approvals |
finance.reconcile | Run reconciliation and resolve exceptions |
finance.providers | Set up payment providers and payment rules |
Notifications
| Permission | Allows |
|---|---|
notifications.view | See the send log and the announcements sent |
notifications.manage | Set up text messages and send announcements |
Organisations
| Permission | Allows |
|---|---|
organisations.view | See organisations, their checks, members and programmes |
organisations.review | Check organisations and approve or turn them down |
organisations.suspend | Suspend organisations and reinstate them |
Pages and news
| Permission | Allows |
|---|---|
content.view | See pages and news posts, drafts included |
content.manage | Write, publish and remove pages and news posts |
Platform and system
| Permission | Allows |
|---|---|
settings.manage | Change platform settings and mail |
security.manage | Change security settings and the admin address |
audit.view | Read the audit log |
system.view | See the Version page, modules, extensions and themes |
modules.manage | Switch modules, extensions and themes on and off |
Privacy and retention
| Permission | Allows |
|---|---|
privacy.view | See privacy requests, consent records and retention runs |
privacy.manage | Answer privacy requests, erase and restrict accounts, edit the privacy notice and the retention schedules |
Programmes
| Permission | Allows |
|---|---|
programmes.view | See every organisation's programmes and their figures |
Public site
| Permission | Allows |
|---|---|
site.messages | Read and handle messages sent through the contact form |
Recognition
| Permission | Allows |
|---|---|
badges.view | See the badges, who holds them and every award and revocation |
badges.manage | Create, edit, order and switch badges on or off |
badges.award | Award or take back a badge by hand, always with a reason |
Reports
| Permission | Allows |
|---|---|
analytics.view | See analytics across the platform |
Risk and compliance
| Permission | Allows |
|---|---|
compliance.view | See risk alerts and investigations |
compliance.manage | Handle fraud cases and escalations |
Sponsorships
| Permission | Allows |
|---|---|
sponsorships.view | See sponsorships, their money and their reports |
sponsorships.manage | Approve, decline, pause and end sponsorships |
Staff and roles
| Permission | Allows |
|---|---|
staff.view | See staff accounts |
staff.manage | Add, change and suspend staff |
roles.manage | Create and change roles |
Supporters
| Permission | Allows |
|---|---|
supporters.view | See supporter accounts, their checks and their contributions |
supporters.manage | Suspend and reinstate supporters and approve their public messages |
Users and accounts
| Permission | Allows |
|---|---|
imports.manage | Invite supporters and applicants from a CSV file |
27. Troubleshooting
The installer does not start, or shows "Merit needs PHP 8.3". Choose PHP 8.3 or newer for the domain in your hosting panel. The server check lists any missing PHP extension.
"The storage folder cannot be written." Give the web server write access to storage, bootstrap/cache and database (usually 755 for folders, or 775 when your host asks for it).
A blank page or "500" after moving the site. Clear the cached settings with php artisan optimize:clear, and check that storage/logs is writable. The reason is written in storage/logs/laravel.log.
Emails do not arrive. Check that the cron line runs every minute (mail goes out from the queue), then use "Send a test to me" under Settings > Mail. With "Log file" chosen, mail is only written to the log.
Gifts stay "waiting for the provider". The payment provider has not reached Merit. Copy the webhook address from System > Payment providers into the provider's dashboard again, check that the site is on HTTPS, and look at the provider's webhook log for the answer Merit gave.
A bank transfer does not match. Finance matches transfers from the statement import. The supporter must use the reference shown on their gift; a transfer without it can be matched by hand.
Monthly gifts, badges, retention or webhooks do not move. These run from the scheduler. Check the cron line, or run php artisan schedule:run once by hand to see what it says.
Text messages are not sent. A phone number must be confirmed with a code first. Check the gateway under System > Text messages and send a test.
A page shows in the wrong language. The language follows the picker, then the account, then the platform default. Use the picker at the top of the page.
I lost my authenticator app. Use one of your recovery codes. If you have none, another administrator can reset your two-factor sign in under Staff.
28. Credits
| Part | Used for | Licence |
|---|---|---|
| inertiajs/inertia-laravel | Server side | MIT |
| laravel/framework | Server side | MIT |
| laravel/tinker | Server side | MIT |
| @fontsource-variable/geist | Screens (built into public/build) | OFL-1.1 |
| @fontsource-variable/manrope | Screens (built into public/build) | OFL-1.1 |
| @fontsource/geist-mono | Screens (built into public/build) | OFL-1.1 |
| @inertiajs/vue3 | Screens (built into public/build) | MIT |
| @phosphor-icons/vue | Screens (built into public/build) | MIT |
| qrcode-generator | Screens (built into public/build) | MIT |
| vue | Screens (built into public/build) | MIT |
| Phosphor Icons | Icons | MIT |
| Manrope | Ledger theme font | OFL-1.1 |
| Geist and Geist Mono | Laurel theme, portals, control centre | OFL-1.1 |
- Laravel (MIT), Vue (MIT), Inertia (MIT), Tailwind CSS (MIT), Phosphor Icons (MIT), Geist and Geist Mono (OFL), Manrope (OFL).
29. Support
Merit is made by Twerple Ltd. For questions or help, reach us here:
- Our page on Codester, with our other items: codester.com/twerpleltd
- Email: support@twerple.com
- WhatsApp: +44 7428 508654