The Live toggle activates the real USSD dial code on the public website. It must only be enabled after Africa's Talking allocates a shortcode and the callback URL is confirmed to be working. The browser demo simulator remains available for presentations regardless of this setting.
Complete these steps inside your Africa's Talking account before enabling Live mode. These URLs must be pasted exactly as shown into the AT USSD service settings.
This is the HTTPS endpoint on your Node.js backend server.
Receives session-end events to clean up sessions and log usage.
These values are stored in the backend process memory and update the public website display. Changes persist until the server restarts. For permanent persistence, copy values to .env.
Run these tests against the browser demo simulator (always available) and against the live AT integration once a shortcode is allocated. Mark results manually or click Run All Tests to simulate demo-mode checks.
| # | Test Case | Input Sequence | Expected Outcome | Demo Result | Live Result |
|---|
| Control | Implementation | Status |
|---|---|---|
| National ID in demo | Removed from all demo screens — phone number used instead | ✓ DONE |
| National ID in live USSD | Not collected via USSD — policy ref + phone only | ✓ DONE |
| Consent capture | Explicit consent step (Step 5 of 5) before policy creation | ✓ DONE |
| Policy cross-access | lookupPolicy() verifies caller phone matches policy holder | ✓ DONE |
| Payout guarantees | No UGX amounts or "48 hours" promises in live USSD flow | ✓ DONE |
| Demo/Live separation | Demo simulator labelled ⚠ SIMULATION ONLY; no real records created | ✓ DONE |
| Public exposure of admin config | AT credentials, callback secret, admin API key only in server .env | ✓ DONE |
| Session security | Sessions keyed by AT sessionId + phone; TTL 90s; purged on END | ✓ DONE |
| Gate | Rule | Status |
|---|---|---|
| "Check My Policy" | Returns policy only if record genuinely exists in store; null → "not found" message | ✓ GATED |
| "Request Payout Guidance" | Shows verified claim instructions only — no payout promise or fixed amount | ✓ GATED |
| UGX 6,500 / "48 hours" | Not shown in USSD live flow — only in informational help screen as satellite mechanism description | ✓ GATED |
| Policy status check before payout guidance | Inactive/Pending/Completed policies shown with status — no guidance issued | ✓ GATED |
AgriGuard Uganda — Designed by Atine Labs™