Chapter 7 · Fees
  1. How fees work
  2. Set the fee structure and bill the term
  3. Charge for services students take
  4. Record a payment and give a receipt
  5. Student accounts, statements and balances
  6. Fix a payment or a balance that is wrong
  7. SchoolPay payments
  8. Online payments with Pesapal
  9. Give a bursary
  10. Promises to pay
  11. Payment plans
  12. Requirements students bring
  13. Import balances and service charges from a spreadsheet
  14. Pocket money
  15. Sell at the canteen
  16. Match the bank statement to fees receipts
  17. Reminders and demand notices
  18. All chapters
Chapter 7 · Lesson 8

Online payments with Pesapal

Let parents pay fees online through the school's own Pesapal account, follow each payment to the student's account, and send a parent a pay link.

For: Bursar School administrator 5 min read Checked 11 Nov 2026

Chapter PDF

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.

  1. Open Settings › Online payment settings.
  2. Press Enter Pesapal keys.
  3. Under These keys are for, choose Sandbox (testing). Paste the Consumer key and the Consumer secret, then press Save keys.
  4. Press Test the connection. A message says whether Pesapal accepted the keys.
  5. 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.
  6. Press Change keys, choose Live, paste the live key and secret, and press Save keys.
  7. Press Test the connection again.
  8. 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.
  1. On Online payments, press Pay link for a student.
  2. Search for the student by name, reg no. or SchoolPay code, and choose them.
  3. 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.

Questions

Does the money pass through School Dynamics?

No. Parents pay into the school's own Pesapal merchant account. School Dynamics only records each payment on the student's account once Pesapal confirms it.

A parent says they paid, but the balance has not moved. What do I do?

Find the payment under Fees & finance › Fees › Online payments. If it says Waiting for Pesapal, open it and press Ask Pesapal. If Pesapal now says it is paid, it is recorded on the student's account at once.

Can I see the Pesapal keys again?

No. They are kept encrypted; only the end of the consumer key is shown. To use other keys, press Change keys. Online payment then stays off until the new keys are tested.

What happens to pay links when online payment is off?

The link still opens, but the page tells the parent to pay through SchoolPay or at the school.

Your feedback

WhatsApp us