In Safaricom Daraja sandbox runs from September 18–23, 2026, I found that a repeated AccountReference did not prevent two accepted STK Push submissions, query error 500.001.1001 did not reliably mean a reference was unknown, and failed callbacks were not redelivered during the periods I observed. These are bounded observations—not guarantees about production or Daraja 3.0.
I ran the tests with shortcode 174379, test MSISDN 254708374149, and amount 1. The sandbox payer never answered the prompt, so I did not observe a successful payment or its callback. Safaricom describes M-Pesa Express as the prompt API for Buy Goods or Pay Bill payments; the official Daraja developer portal describes Daraja 3.0 as its platform for Safaricom and M-PESA APIs. My results below apply only to the setup and dates stated here.
1. The STK Push password is encoded, not hashed
The request password is formed as base64(BusinessShortCode + Passkey + Timestamp). Base64 is reversible encoding, not encryption or hashing. In practical terms, a captured request body can expose the passkey material used to construct that value.
Treat STK Push request bodies as secret-bearing data: avoid logging them, and redact them before they reach application logs, tracing systems, or support exports. This is a security implication of the described request format; it does not establish Safaricom’s current credential rotation or revocation procedures.
Do these 3 things before closing this tab:
1Scan for outdated or missing drivers - takes under a minute2Clear out junk files and repair common Windows errors3Fix the driver behind crashes, sound loss and screen glitches#1 Best Overall
- YOUR CONTENT, SUPER SMOOTH: The ultra-clear 6.7" FHD+ Super AMOLED display of Galaxy A17 5G helps bring your content to life, whether you're scrolling through recipes or video chatting with loved ones.¹
- LIVE FAST. CHARGE FASTER: Focus more on the moment and less on your battery percentage with Galaxy A17 5G. Super Fast Charging powers up your battery so you can get back to life sooner.²
- MEMORIES MADE PICTURE PERFECT: Capture every angle in stunning clarity, from wide family photos to close-ups of friends, with the triple-lens camera on Galaxy A17 5G.
- NEED MORE STORAGE? WE HAVE YOU COVERED: With an improved 2TB of expandable storage, Galaxy A17 5G makes it easy to keep cherished photos, videos and important files readily accessible whenever you need them.³
- BUILT TO LAST: With an improved IP54 rating, Galaxy A17 5G is even more durable than before.⁴ It’s built to resist splashes and dust and comes with a stronger yet slimmer Gorilla Glass Victus front and Glass Fiber Reinforced Polymer back.
2. A query error did not tell me whether a reference existed
In my sandbox queries, error 500.001.1001 appeared for an unknown reference and also for a reference that I knew existed. For the known reference, four of nineteen queries returned HTTP 500 with that error; other queries seconds apart returned HTTP 200.
For this observed setup, treat that response as an unknown status rather than proof that no transaction exists. Preserve a pending or indeterminate state and query again according to your reconciliation process; do not turn this one sandbox result into a universal Safaricom error contract.
3. Reusing AccountReference did not stop duplicate submissions
I submitted two requests with the same AccountReference. Both were accepted and received different CheckoutRequestID and MerchantRequestID values. In these tests, the reference was not an idempotency key.
Rank #2
- Carrier: This phone is locked to Tracfone, which means this device can only be used on the Tracfone wireless network. Tracfone plan required, activating is easy, just 3 steps.
- DISPLAY: Immersive viewing on a 6.7-inch super-bright 120Hz display with powerful stereo speakers and Bass Boost for cinematic entertainment.
- CAMERA SYSTEM: Advanced 50MP Quad Pixel camera captures sharp, detailed photos and videos in any lighting condition
- PERFORMANCE: Lightning-fast 5G connectivity paired with a powerful processor and RAM Boost for smooth multitasking.
- BATTERY LIFE: Long-lasting 5000mAh battery with TurboPower charging technology delivers hours of power in minutes.
Make duplicate protection an application responsibility before calling Daraja. Associate a unique merchant-side operation or order with a single initiation attempt, and handle a repeated client action against that record instead of blindly submitting another payment request. This observation does not rule out other Safaricom mechanisms that were not tested.
Recommended Free Tools
4. The immediate response omitted AccountReference
The initiation response I observed included MerchantRequestID, CheckoutRequestID, ResponseCode, ResponseDescription, and CustomerMessage, but not the caller’s AccountReference.
Persist the relationship between your order or payment attempt and the Safaricom request identifiers when you submit the request. Do not depend on the immediate response to return your own reference for later matching.
Rank #3
- YOUR CONTENT, SUPER SMOOTH: The ultra-clear 6.7" FHD+ Super AMOLED display of Galaxy A17 5G helps bring your content to life, whether you're scrolling through recipes or video chatting with loved ones.¹
- LIVE FAST. CHARGE FASTER: Focus more on the moment and less on your battery percentage with Galaxy A17 5G. Super Fast Charging powers up your battery so you can get back to life sooner.²
- MEMORIES MADE PICTURE PERFECT: Capture every angle in stunning clarity, from wide family photos to close-ups of friends, with the triple-lens camera on Galaxy A17 5G.
- NEED MORE STORAGE? WE HAVE YOU COVERED: With an improved 2TB of expandable storage, Galaxy A17 5G makes it easy to keep cherished photos, videos and important files readily accessible whenever you need them.³
- BUILT TO LAST: With an improved IP54 rating, Galaxy A17 5G is even more durable than before.⁴ It’s built to resist splashes and dust and comes with a stronger yet slimmer Gorilla Glass Victus front and Glass Fiber Reinforced Polymer back.
5. One CheckoutRequestID looked like Nairobi local time
One identifier was ws_CO_180920261803512708374149. My recorder associated it with 15:03 UTC; the apparent embedded time, 18:03:51, is three hours ahead, consistent with UTC+3.
That is one sample, not evidence of a stable encoding contract. Treat CheckoutRequestID as an opaque identifier; do not parse its apparent date or time to establish when a transaction occurred.
The Tool Desk
Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →Outbyte Driver Updater FREEScan for outdated or missing drivers - takes under a minuteDriver Scan →6. Safaricom’s example used different JSON types for similar values
In the request example I examined, BusinessShortCode was a JSON number, while Amount and PartyB were strings. PartyB and BusinessShortCode carried the same value, but not the same JSON type.
Rank #4
- PRIVACY DISPLAY: Automatically hide your screen from those beside you. The built-in privacy display can be preset¹ to turn on when receiving notifications, typing passwords, or using specific apps
- TYPE IT IN. TRANSFORM IT FAST: Enhance any shot in seconds on your smartphone by using Photo Assist² with Galaxy AI.³ Add objects, restore details, or apply new styles by simply typing or tapping
- NIGHTS, CAPTURED CLEARLY: From gigs to city lights, record and capture moments after dark with clarity using Nightography so your photos and videos stay crisp and clear on your Samsung Galaxy
- MAKE IT. EDIT IT. SHARE IT: Turn everyday moments into something personal with creative tools built right into your mobile phone, whether it’s a special contact photo, custom wallpaper, an invitation or more⁴
- HELP THAT KEEPS UP: Stay in the moment while Now Nudge with Galaxy AI helps you respond faster and stay organized with smart suggestions⁵ that appear exactly when you need them on your phone
Match the documented field types rather than assuming that equal numeric meaning makes a number and a string interchangeable. The example alone does not establish whether sending a different type causes a request to be rejected.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.7. I did not observe callback redelivery after two delivery failures
After I returned HTTP 500 from the callback receiver, I saw no further delivery for 31 minutes. When the receiver was unreachable, I saw no further delivery for 44 minutes. Those are observation windows in my sandbox run, not proof that delivery can never be retried under other conditions.
Safaricom’s integration document says failed callbacks are not repeated and directs integrators to confirm a request through Transaction Status Query or the M-PESA organization portal when callback delivery fails. The practical design implication is to build a reconciliation path rather than depend solely on callback delivery.
Free tools Windows power users keep installed
One-click scans. No signup required.
Best Value
- Carrier: This phone is locked to Tracfone, which means this device can only be used on the Tracfone wireless network. Activating is easy, just 3 steps.
- ACTIVATION Promotion: Includes 1500 min, 1500 texts & 1500 MB Data + add more as you need it
- CAMERA SYSTEM: 50MP Quad Pixel camera. Capture sharper, more vibrant photos day or night with 4x the light sensitivity.
- PERFORMANCE: Blazing-fast Qualcomm performance. Get the speed you need for great entertainment with a Snapdragon 680 processor and 4GB of RAM.
- 64GB built-in storage. Get plenty of room for photos, movies, songs, and apps. Made for US
8. ResultCode was more consistent than ResultDesc in my observations
Code 1037 appeared across several observations while the accompanying description text varied. I also saw code 4999 once with a description indicating that processing was still underway.
In this limited sandbox report, the code was a more consistent branching signal than the prose description. Use code-based handling for the cases you have explicitly mapped, and preserve an unknown or pending path for values you have not mapped. These observations are not an exhaustive result-code specification.
Quick Recap
What these tests cannot establish
- Successful payment behavior: the sandbox payer never answered the prompt. I have never seen a successful payment in these runs, so the successful callback metadata, receipt number, and payer-MSISDN shape are not established here. Any modeled simulator success path is not an observed payment.
- Production behavior: no production shortcode was tested, so these results should not be used as production guarantees.
- Daraja 3.0 behavior: I have not rechecked these observations against Daraja 3.0.
- Full error coverage: other result codes and the behavior for unknown codes remain outside these observations.
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

