Test mode and use cases
You can begin using your MeSomb account in test mode as soon as you create it. In test mode, you can simulate using all of MeSomb’s features without moving real money. After you activate your account, you can accept payments, create additional applications, start a team, and set up a custom email domain.
Test mode
In test mode, you can charge test mobile account as well as create products. You can also use test mode to simulate transactions to make sure that your integration works correctly. This feature helps to identify any bugs or errors in your MeSomb implementation before you go live with actual payments.
Transactions in test mode are not created and processed by the mobile network and no money is moved. The test mode will cease to work when you submit your account for verification.
Test mode versus live mode
All MeSomb API requests occur in either test mode or live mode.
Type | When to use | How to use | Considerations |
---|---|---|---|
sandboxes | Use a sandbox as you build your integration. In a sandbox, mobile numbers and payment providers don’t process payments. | Use test accounts. You can’t accept real payment methods or work with real accounts. | MeSomb doesn’t perform any verification checks and don’t return sensitive fields. |
live mode | Use live mode when you’re ready to launch your integration and accept real money. In live mode, mobile account and payment providers do process payments. | Accept real mobile account and work with customer accounts. You can accept actual payment authorizations, charges, and captures for accounts. | Some payment methods have a more nuanced flow and require more steps. |
The Test mode toggle in the Dashboard doesn’t affect your integration code.
Test phone numbers
MeSomb provides a set of test phone numbers that you can use to simulate various payment scenarios. You can use these test phone numbers to create simulated payments in test mode without processing actual payments or charges.
Test phone numbers are only valid in test mode. Don’t use them for real payments.
Use the following test phone numbers to simulate different payment scenarios:
- For success payments, use
237400001019
,237400001020
and237670000000
. - For failed payments, use
237400001021
.
Delete test data
To delete all of your test data from your MeSomb account, complete the following steps:
- Log in to the Dashboard using your existing MeSomb account.
- While in test mode, click On your Email > Developer.
- Under Test data, click Review test data. The dialog gives you a list of all of your existing test data objects.
- Click Delete test data to initiate the deletion process. You can’t undo the deletion of your test data.