Developers
Payments

Callbacks

This page shows how each gateway tells OfficeUG a payment finished, and whether you have anything to set up in the gateway's dashboard.

Gateway How payments are confirmed Setup needed
MTN MoMo OfficeUG checks the payment status with MTN. None
Airtel OfficeUG checks the payment status with Airtel. None
Yo! Uganda Yo! sends a notification to OfficeUG. None. Save your Yo! Public Key.
Flutterwave The customer returns to OfficeUG, which verifies the payment with Flutterwave. None
Pesapal Pesapal sends a notification to OfficeUG. None. OfficeUG registers the URL for you.
Stripe The customer returns to OfficeUG, which checks the payment with Stripe. None
PayPal The customer returns to OfficeUG, which checks the payment with PayPal. None

Notification URLs

You don't normally type these anywhere. They're listed so you can recognise them in a gateway's logs or allow them through your own tools.

Gateway Method URL
Yo! Uganda, successful payment POST https://officeug.com/youganda/ipn
Yo! Uganda, failed payment POST https://officeug.com/youganda/failure
Pesapal GET https://officeug.com/pesapal/ipn

A notification doesn't confirm a payment on its own. OfficeUG checks each one against the payment it started, and Yo! notifications must also carry a valid signature, which is why the Yo! Public Key is required.

If a payment stays pending

  1. Check the transaction in the gateway's own dashboard first.
  2. Confirm the keys in OfficeUG are for the same environment (test or live) as the payment.
  3. For Yo! Uganda, confirm the Yo! Public Key is the current one.
  4. If the gateway shows success and OfficeUG doesn't, contact support with the gateway's transaction reference.