On this page
Messages at a glance
| Message | Who gets it |
|---|---|
| Admin success notification | Sent to active accounts staff and administrators on every successful payment |
| Payer confirmation | Sent to the M-Pesa number that made the payment (the parent or guardian) |
| Student / parent balance alert | Sent to the phone number registered on the student's profile |
| Account not found - parent notice | Sent to the parent who paid when the account number cannot be matched |
| Account not found - admin alert | Sent to active admin contacts when a payment cannot be matched |
Need more help?
How it works
How the payment pipeline works
Understanding the flow helps you pinpoint where a problem occurred.
- Parent pays on M-Pesa Paybill
- System looks up the account number entered by the parent (beneficiary_account)
- If found: student account balance is updated and SMS alerts are dispatched
- If not found: an "Account Not Found" alert is sent to admins and the parent; the transaction is logged as FAILED for manual resolution
Important: Every incoming payment is logged regardless of outcome. No money is ever lost - unmatched payments sit in log and can be resolved at any time.
Admin notification settings
Which staff receive alerts is controlled by the DEPOSIT_ALERTS system parameter in Scedar SMIS. Contact your Scedar account manager to update the contact list.
- ADMIN_SUCCESS_NOTIFICATION - sent to accounts staff on every successful payment; includes student grade/class
- NOT_FOUND_NOTIFICATION - sent to designated admins when a payment cannot be matched to an account
- Contacts are filtered by institution code so each branch only receives its own alerts
- Each contact can be set to ACTIVE or INACTIVE without removing them from the list
Tip: To add or remove a notification contact, raise a request with Scedar support and provide the phone number, name, role, and branch code.
SMS notifications
The system automatically sends SMS messages to different people depending on the outcome of each payment. Below are all the message formats you may encounter.
Admin success notification
Admin: Sent to active accounts staff and administrators on every successful payment
[M-PESA] payment of KES [AMOUNT] received for A/C [ACCOUNT] - [STUDENT NAME] - [GRADE] on [DATE]. [BALANCE STATUS] Ref: [SYSTEM REF] M-PESA Ref: [MPESA REF]
| [AMOUNT] | Amount credited to the student account |
|---|---|
| [ACCOUNT] | Student's account number |
| [STUDENT NAME] | Full name and account type e.g. "Jane Doe (Main A/C)" |
| [GRADE] | Student's class/grade code e.g. Grade 7A |
| [BALANCE STATUS] | "Balance is KES X" = still owing | "Balance is KES 0.00 (Cleared)" = fully paid | "Overpayment is KES X" = excess paid |
| [SYSTEM REF] | Internal Scedar transaction reference for audit trail |
| [MPESA REF] | Safaricom's originator transaction ID |
Payer confirmation
Payer: Sent to the M-Pesa number that made the payment (the parent or guardian)
[M-PESA] payment of KES [AMOUNT] received for A/C [ACCOUNT] - [FIRST NAME] on [DATE]. Ref: [SYSTEM REF] M-PESA Ref: [MPESA REF] Pay via School PayBill: [PAYBILL] and student A/C provided. For queries, call: [CONTACT]
| [FIRST NAME] | Student's first name only (not full name, for brevity) |
|---|---|
| [PAYBILL] | Institution Paybill number |
| [CONTACT] | Branch query contact number |
Student / parent balance alert
Student / parent: Sent to the phone number registered on the student's profile
[M-PESA] payment of KES [AMOUNT] received for A/C [ACCOUNT] - [STUDENT NAME] on [DATE]. [BALANCE STATUS] Ref: [SYSTEM REF] M-PESA Ref: [MPESA REF] Pay via School PayBill: [PAYBILL]. For queries, call: [CONTACT]
| Note | If the payer and the student contact are the same number, only one message is sent - the student balance alert (which contains more detail). |
|---|
Account not found - parent notice
Error alert: Sent to the parent who paid when the account number cannot be matched
A/C '[TYPED ACCOUNT]' NOT Found for payment of KES [AMOUNT] made on [DATE] M-PESA Ref: [MPESA REF] Pay via School PayBill: [PAYBILL] and student A/C provided. For queries, call: [CONTACT]
| [TYPED ACCOUNT] | Exactly what the parent entered as the account reference |
|---|
Account not found - admin alert
Error alert: Sent to active admin contacts when a payment cannot be matched
A/C '[TYPED ACCOUNT]' NOT Found for payment of KES [AMOUNT] made on [DATE] by [PAYER NAME] : [PAYER NUMBER]. M-PESA Ref: [MPESA REF]
| [PAYER NAME] | Name as returned by Safaricom |
|---|---|
| [PAYER NUMBER] | Full international number of the payer |
| Action required | Use the M-Pesa ref and payer details to identify the student, then use the Resolve Payment function in Scedar SMIS to post the payment to the correct account. |
Resolving payment issues
Resolving an unmatched payment
- Identify the transaction in SMIS → Payments → Unresolved Transactions
- Cross-reference the M-Pesa reference with the parent to confirm which student it is for
- Note the correct student account number
- Use the Resolve Payment action, enter the correct account number, and confirm
- The system will post the payment, update the balance, and send the normal success SMS to the parent
Correcting a payment posted to the wrong account
- Go to SMIS → Payments → Transaction Journal and locate the original transaction by M-Pesa reference
- Use the Correct Mistaken Credit action and enter the correct account number
- The system will automatically reverse the original posting and re-credit the correct account
- An SMS is sent to the originally-credited student notifying them of the reversal
- Both the reversal and correction references are logged for audit purposes
Frequently asked questions
Why did the admin receive no SMS for a payment?
Check that the admin contact is set to STATUS="ACTIVE" in the DEPOSIT_ALERTS system parameter and that the INSTITUTION code on the contact matches the branch the payment came in on. Contact Scedar support to review the configuration.
A parent says they paid but we see nothing in the system
Ask for their M-Pesa confirmation message. Check SMIS → Payments → All Transactions and search by the M-Pesa reference code. If it appears with status FAILED or PROCESS_FAILED, the payment arrived but could not be matched. Use the Resolve Payment function to post it.
Can we change which phone numbers receive admin alerts?
Yes. Raise a request with Scedar support providing the phone numbers, names, roles, branch codes, and whether each should be ACTIVE or INACTIVE. Changes are applied to the DEPOSIT_ALERTS system parameter.
What is the difference between the System Ref and the M-Pesa Ref?
The M-Pesa Ref (e.g. QS34DR54K) is Safaricom's transaction code - it proves the money left the sender's account. The System Ref is Scedar's internal tracking number generated when the payment is processed - it links the payment to the student account journal entry. Always quote both when logging a support ticket.
Can a reversed transaction be reversed again?
No. Once a journal entry is marked REVERSED, the system blocks further reversals on that reference. If you need to undo a correction, contact Scedar support.
What does "Overpayment" mean and how should it be handled?
Overpayment means the student's account balance has gone positive - more was paid than was owed. The excess is held in the account and will automatically offset future charges. If a refund is required, process it manually and record it as an adjustment in SMIS.