Blog Archive

VTU API Timed Out: Should You Send the Data Order Again?

  • BY:Yhommydata

A timeout means your application did not receive a usable response in time. It does not, by itself, prove that the data purchase failed. Keep the original order reference and check the provider's transaction record before submitting another purchase.

Separate the customer order from each connection attempt

Give the customer's purchase a stable internal order reference. Record the network, selected product, recipient, amount, submission time and any provider reference returned. A second connection attempt should not silently become a second customer order.

Keep credentials out of customer receipts and public screenshots. Your support team needs order identifiers and status information, not a customer's password or your API key.

Follow the provider's documented recovery route

Providers have different mechanisms. VTU Africa documents a transaction query using the original reference. VTU.ng documents idempotency and transaction status handling. These are examples of provider-specific capabilities, not evidence that every VTU service supports the same fields or behaviour.

Before implementing a retry, check the actual provider's documentation for reference lookup, retry rules and the lifetime of any idempotency protection. Never assume that adding an arbitrary header will prevent a duplicate debit.

Use this decision checklist

  • Confirmed completed — Reconcile the existing order and notify the customer; do not create a replacement purchase.
  • Still processing — Retain the original reference and use the documented status-check process.
  • Confirmed failed or refunded — Reconcile any debit and reversal before deciding whether to create a new order.
  • Reference not found or status unclear — Check lookup timing and reference format, then escalate; absence from one response is not proof of failure.

Example: the customer taps twice after a slow response

Imagine a customer submits a data order, sees a loading screen and taps again. Your application should recognise the same unresolved customer order and display its current status. If each tap creates a fresh purchase with a fresh reference, both could be delivered.

Disabling a button can improve the interface, but the server also needs to handle repeated submissions. Ask your developer to test duplicate taps, a connection drop after submission, and a delayed status update in the provider's supported test environment. Do not test by intentionally creating duplicate live customer charges.

What should the customer see?

Use an honest message: “We are checking order [reference]. Please wait for the confirmed result before placing the same purchase again.” Avoid marking an unresolved order as failed simply because the request timed out. Update the customer when the provider's confirmed outcome is available.

A support message that is easy to investigate

“Please check original order [reference], submitted [time], for [network/product]. Our request timed out. The latest status check returned [result]. Please confirm whether it completed and provide the provider transaction reference.” Share recipient details only through the appropriate private channel.

Next step for YHOMMYDATA resellers

Before repeating an unclear purchase, open its existing transaction record and contact the support channel displayed in your YHOMMYDATA account with the reference. Developers should confirm which recovery features their actual integration supports before changing retry behaviour.

You may also like