- Create a free account at https://maainvest.co.ke and sign in.
- Open Merchant Gateway → Developer sandbox → Create test credentials. You get a test Merchant ID and secret instantly.
- Make your server post a signed form to
/pay/start.phpwith the test Merchant ID. You land on a TEST MODE checkout. - Pick a test number (for example
0708 000 001for success). Within a few seconds the checkout shows a test receipt and yournotify_urlreceives the webhook. - Try the failure numbers too, and use Resend webhook on the Merchant Gateway page while you debug your handler.
- When everything works, follow the go-live checklist.
Developing on your laptop? Your
notify_url must be a public HTTPS address. Use a tunnel such as ngrok or Cloudflare Tunnel and give us the tunnel URL. return_url and cancel_url can be http://localhost….
MAA INVEST Pay Docs