PixelBilling
About PixelBilling

How PixelBilling Handles M-Pesa Payments Securely

By The PixelBilling team · · 2 min read

Payments are where mistakes are most expensive, so PixelBilling treats every M-Pesa result with suspicion until it is verified.

Your credentials, encrypted

Each ISP connects its own paybill or till. The consumer key, secret and passkey are stored encrypted and are never shown again once saved.

A secret callback address

Every ISP has its own callback URL containing a private token. A message sent with the wrong token is ignored.

Only requests we issued

A result is accepted only for a payment prompt the system created. The amount must match what was asked, and the provider is asked to confirm the outcome.

Replays and review

A receipt code can be recorded once, so repeats change nothing. Anything that does not add up goes to a review queue for a person to check instead of being confirmed.

Checks a result passes before it counts

  • The callback address has the right secret token
  • The request is one the system issued and is still waiting
  • The amount matches what was requested
  • The provider confirms success
  • The receipt code has not been recorded before

How PixelBilling helps

These are all built in. Payments that fail any check are held for review instead of being confirmed, and staff can see every request and its status.

Common questions

Where are my M-Pesa keys stored?

Encrypted in the database. They are never displayed after you save them.

What if Safaricom changes something?

Integrations may need updates when providers change their APIs. Keep your system current and test in the sandbox.

Can I use sandbox and production?

Yes. Choose the environment in your M-Pesa settings and test credentials before switching to production.

See PixelBilling with your own data

Start a free trial, import your customers and watch a payment turn into a connection. Or send us your questions.

Get Started Contact us