Centipid only supports one active payment gateway at a time. When you switch to AZAMPAY, all new online payments use AzamPay until another gateway is saved.
Credentials you need
Contact the AzamPay team at support@azampay.com to receive sandbox and production credentials. In Settings → Payments → Payment Gateway = AZAMPAY you must provide:- App Name – the AzamPay application identifier.
- Client ID & Client Secret – generated in the AzamPay portal.
- Environment – Sandbox for testing, Production for live traffic.
- Authenticator Base URL – defaults to
https://authenticator-sandbox.azampay.co.tz(update with the production URL when going live). - Checkout Base URL – defaults to
https://sandbox.azampay.co.tz(update for production). - Callback Password – AzamPay sends this value in every callback to prove authenticity.
- Callback URL – Centipid shows this URL in the form. Provide it to AzamPay so that
POST /api/azampay/callbackreceives transaction updates.
Setup steps
- Request sandbox credentials from AzamPay if you don’t already have them.
- In Centipid, go to Settings → Payments and select AZAMPAY.
- Enter the credentials, pick the environment, and confirm the base URLs (sandbox values are pre-filled).
- Copy the callback URL shown in the form (
https://your-domain.centipidtechnologies.com/api/azampay/callback) and register it inside the AzamPay dashboard together with the same callback password. - Save the settings in Centipid.
Testing the integration
- Leave the environment on Sandbox, use the sandbox URLs, and pay with a test MSISDN provided by AzamPay.
- Purchase a low-cost test package from your captive portal:
- Enter a Tanzanian number.
- Select the correct provider.
- Approve the push notification on the test device.
- Confirm that Centipid marks the payment as completed and activates the package.
