Parents can pay school fees online, with mobile money or a card, through the school's own Pesapal account. The money goes straight to the school's account. School Dynamics checks each payment with Pesapal, then records it once on the student's account as a payment, with a receipt the parent can download at once.
Two pages do this:
- Settings › Online payment settings connects the school's Pesapal account and switches online payment on for parents.
- Fees & finance › Fees › Online payments lists every payment parents started, and gives you a pay link for any student.
Before you start#
- The school needs a Pesapal merchant account in its own name, with two pairs of keys from Pesapal: a sandbox (testing) consumer key and secret, and a live one.
- School Dynamics must also allow online payment for the school. Until it does, the settings page says Online payment is not switched on yet: you can save the keys, but nothing is sent to Pesapal.
- Who can do what. The bursar, the school administrator and the school's owner can connect the account. The head teacher, deputy, bursar, finance officer and school administrator can see the payments; only the bursar, finance officer and school administrator can press Ask Pesapal.
Connect the school's Pesapal account#
You test with sandbox keys first, then with live keys, and only then switch on.
- Open Settings › Online payment settings.
- Press Enter Pesapal keys.
- Under These keys are for, choose Sandbox (testing). Paste the Consumer key and the Consumer secret, then press Save keys.
- Press Test the connection. A message says whether Pesapal accepted the keys.
- If you want to see a whole payment without real money, press Try a test payment. It opens Pesapal's sandbox page. Test payments are listed under Test payments and never reach a student's account.
- Press Change keys, choose Live, paste the live key and secret, and press Save keys.
- Press Test the connection again.
- Press Switch on for parents.
The card The school's Pesapal account then shows Parents can pay online: Yes, which keys are saved, when they were tested, when the sandbox test passed, and the last problem Pesapal reported, if any.
Switch on for parents refuses until everything is ready, and says what is missing:
- Test the connection with your Pesapal sandbox keys first.
- These are sandbox keys. Enter your live Pesapal keys, test them, then switch on.
- Test the connection with these live keys first.
To stop online payment, press Switch off and confirm. Pay links then tell parents to pay through SchoolPay or at the school. Payments already started are still followed up.
How a parent pays#
The parent opens the student's pay link: from the parents' app, the parents' pages, or a link you send. They type the amount and their name, and pay on Pesapal's page. The parent's side is in Paying fees online.
School Dynamics never trusts the parent's return or Pesapal's notice alone: it asks Pesapal for the payment's status. Only when Pesapal says it is completed, in shillings, is the payment recorded on the student's account: once, for the amount Pesapal confirms, in the active term. What the student owes falls straight away (see balance).
Follow the payments#
Online payments shows three tiles: Paid online this month, Waiting for Pesapal and Need a look. Search by student, payer or reference, and filter by status. Each row shows when the payment started, the student, the payer, the amount, the status and, once it is added to the account, its receipt number. Click the number to open the receipt. Sandbox test payments show as Test payment with a Test badge.
| Status | Means |
|---|---|
| Started | The parent began, but Pesapal has not accepted the order yet. |
| Waiting for Pesapal | Pesapal has the order; the parent may not have finished paying. |
| Paid | Pesapal confirmed it, and it is on the student's account. |
| Failed | Pesapal said it failed, or it could not be started. |
| Not completed | A day later, Pesapal still says it was not completed. |
| Reversed | Pesapal reversed it. If it was already recorded, it is reversed on the student's account too, once. |
Click a student's name, or the eye, to see the payment: the amount asked and the amount Confirmed by Pesapal, who paid and how, Pesapal's confirmation and order numbers, when Pesapal was last asked, and the line it became.
Ask Pesapal (in the row, or in the details) asks Pesapal again about a payment that is not recorded yet. If Pesapal now says it is paid, it is recorded at once. A payment Pesapal never accepted cannot be asked about.
A payment marked Need a look has a note that says why, for example:
- Pesapal confirmed less than the amount asked: the confirmed amount was recorded.
- Pesapal confirmed an amount in another currency: nothing was recorded. Check it in the Pesapal account and record it by hand (Record a payment).
- The school changed its Pesapal keys after the payment started: check it in the Pesapal account it was made with.
Send a parent a pay link#
- On Online payments, press Pay link for a student.
- Search for the student by name, reg no. or SchoolPay code, and choose them.
- Press Copy, then paste the link into a text or a WhatsApp message to the parent.
The dialog says how many days the link works. A link cannot be changed to open another student. While online payment is off, the link still opens, but tells the parent to pay through SchoolPay or at the school.
Good to know#
- Each payment is recorded once, even when Pesapal's notice, the parent's return and your Ask Pesapal arrive together.
- Online payments show on the Payments list and on the student's account like any other payment. If one needs correcting, see Fixing mistakes.