Skip to content
Documentation menu

By EcoCash

SMS Notifications

What the customer receives when a sandbox transaction succeeds.

Overview

On successful completion of a sandbox transaction, an SMS is sent to the customer number in the request. No SMS is sent when a transaction fails, and none is sent for Transaction Lookup.

Each service uses the wording a customer would normally receive, wrapped in a sandbox prefix and suffix. The message reaches a real handset, so both are fixed and appear on every sandbox message.

Messages

Enterprise Cash-In

SANDBOX TEST: Cashin Confirmation: USD 1.00 received from <senderName>-Agent. Approval Code: CI260805.1632.T6333031. This is a test transaction.

Disburse Change

SANDBOX TEST: Change disbursement of USD 2.00 received from <merchantName>. Txn ID CI260807.1208.T6335239. This is a test transaction.

Merchant to Subscriber

SANDBOX TEST: Payment of USD 170.00 received from <senderName>. Txn ID CP260826.1752.T6347991. This is a test transaction.

Template variables

Where each part of a sandbox SMS comes from
VariableSource
Currency and amountcurrency and amount from the request
Sender nameThe agent, disburser or merchant name for that service. merchantName on Disburse Change
Approval Code / Txn IDtransactionId from the response
SANDBOX TEST prefixFixed. Applied to every sandbox message
This is a test transaction.Fixed. Applied to every sandbox message

Delivery

The message body follows the real EcoCash wording for each service, minus the closing balance, since the sandbox does not hold a customer balance.

Delivery uses EcoCash's existing SMS gateway, and the number must be whitelisted first.