Naalya Handbook

Connect a payment gateway

Connect your campus to a payment company such as SchoolPay or Pesapal so that families can pay fees.

Families cannot pay any fee until your campus has at least one payment gateway. A gateway is your campus's account with a payment company, such as SchoolPay or Pesapal, that takes mobile money and card payments. As the bursar, you connect a gateway once: choose the company, enter the account details that it gave you, and choose which gateway is the default.

Before you start

You need Bursary access. If you do not see Bursary in the sidebar, ask a school admin to give you access. Have your account details from the payment company ready. The codes and keys that you enter come from SchoolPay or Pesapal, not from the Hub.

Step 1: Open Payment Gateways

In the sidebar, under Bursary, select Payment Gateways. The page has two tabs:

  • Connected: the gateways that your campus already uses.
  • Store: the payment companies that you can connect.

If no gateway is connected yet, the Connected tab shows "No gateways connected yet" and a Browse the store button. Select it to go to the next step.

Step 2: Open the Store

On the Payment Gateways page, select the Store tab. Each payment company has a card with a short description. A card shows Available if your campus has not connected it, or Connected if it has.

Finding a payment company

To shorten the list, enter a name in the Search gateways box, or select All, Connected, or Available.

Step 3: Choose the payment company

In the Store tab, select the card for the company that you want, such as SchoolPay or Pesapal. A panel opens with the title Enable and the company's name.

Optional: To see that company's own setup instructions, select How to set up at the top of the panel. Some companies also include a link to their documentation.

Step 4: Enter the account details

In the panel, fill in the boxes. Each company asks for different details, so enter only the ones that you see.

  • SchoolPay asks for a School code and a Password. SchoolPay (ServiceCops) gives you both.
  • Pesapal asks for the following details:
    • Environment: choose Test (Sandbox) to try the connection without real money, or Live (Production) when families will pay real money.
    • Consumer key and Consumer secret: the two codes that Pesapal gives your school's account.
    • IPN ID: the code that Pesapal uses to tell the Hub that a payment is complete. IPN stands for instant payment notification.
    • Optional: Currency.

Pesapal: get the IPN ID from the Hub

If you do not have an IPN ID yet, first enter the Environment, Consumer key, and Consumer secret. Then select Register IPN. The Hub fills in the IPN ID for you.

Optional: In Label, enter a name that you will recognise, such as "Main MoMo account". A label helps you tell gateways apart when your campus has more than one.

Step 5: Choose the default gateway

In the panel, turn on Set as default if this gateway should take every payment that does not name a gateway. This gateway is then the default. Most campuses make their main account the default.

One default at a time

Only one gateway can be the default. When you make a new gateway the default, the previous one stops being the default.

Step 6: Save

At the end of the panel, select Enable (the button shows the company's name). The panel closes, and a message confirms that the gateway is enabled.

What happens next

  • Connected tab: the gateway appears with the status Enabled, and with Default if you chose that.
  • Changes later: open the gateway's card to edit its details. From the menu on the card, select Set default, Disable, Enable, or Remove.
  • Payments: your campus can now collect money. Payments for any payment item that you create go through this gateway.

Passwords and secret keys stay hidden

After you save, passwords and secret keys show only as hidden characters. When you edit a gateway, leave a password or key box empty to keep the saved value.

On this page