Selling through a blackout.

SaaSInfrastructureVenezuela

If your sales system stops when the connection drops, every blackout turns into hours with no record. It can be designed not to.

In Maracaibo, power cuts averaged five to six hours a day in August, and traders in the city centre said that without power there were no sales (Finanzas Digital, in Spanish). On 15 September, people in at least eight states reported voltage drops and cuts during the evening, and the same day brought reports of rationing of up to six hours a day in Carabobo and Lara, affecting shops, industry and schools (El Diario, in Spanish).

5 to 6 hours
a day: the average length of power cuts in Maracaibo in August 2026. Finanzas Digital, 4 August 2026

Software does not generate electricity. But it decides what happens during those hours: whether the business keeps recording what it sells, or writes each sale in a notebook to type in later, with all the mistakes that brings. The same report notes that generators are out of reach for many traders because of their cost; a system that runs on a phone or tablet battery may not be.

Decide what has to work offline

Not everything. Start with a short list of what the business must be able to do with no power or internet, and what can wait. For a shop, the essentials usually are:

  • Record a sale: products, quantities, price and payment method.
  • Look up the price and stock the system knew before the cut.
  • Hand over a receipt, following whatever contingency procedure applies to invoicing.
  • Record the payment when it cannot be verified on the spot: method, reference and amount, marked as pending.

What can wait: reports, bank reconciliation, syncing with the website's catalogue. That split decides the whole architecture.

What is an offline-first system?

A system that saves each operation first on the device where it happens, a tablet or a phone, and sends it to the server when there is a connection. Until then, the business keeps recording sales with the data it already had; when the connection returns, the system syncs, detects conflicts and puts whatever needs review in plain view.

Device first, server second

The core piece is a local queue. Each sale is saved on the device with an identifier the device itself generates, and the queue is sent to the server as soon as there is a connection. That identifier is what prevents duplicates: if the upload breaks halfway and is repeated, the server recognises the sale and does not count it twice. It is the same principle as in the automation that sends twice.

A web application can do this: a service worker serves the app without a network and the browser stores the data locally. Ask the browser for persistent storage and test that the data survives a restart, because a browser may free up space when it runs short. For high-volume tills or peripherals such as receipt printers, an installed app is sometimes the better choice.

Sale V-2201 (example)
Created on: till 2 tablet, 14:32
State: saved on device, not sent
Payment: mobile payment, reference noted, awaiting verification
When the connection returns: send, verify payment, deduct stock

Conflicts are decided in advance

Two offline tills can sell the last unit of the same product. When they sync, the system finds it sold something it did not have. There is no universal rule, but one has to be written down before the first blackout:

  • Accept and flag: stock goes negative and someone reviews it. Works when restocking is easy.
  • Split in advance: each till gets a share of the stock of scarce products. Works when you cannot sell what you do not have.
  • Require confirmation: certain products are not sold offline. Works for anything expensive or one of a kind.

What does not work is letting the system resolve it quietly on its own and someone discovering the gap in the inventory a month later.

Payments verified afterwards

A bank card terminal and a mobile payment both need a connection to be confirmed. During a cut, the system cannot know whether a payment arrived; the honest thing is to record it as pending, with its reference, and verify it when the network returns. What must never happen is the system accepting it because someone showed a screenshot: see a screenshot is not a payment.

Invoicing works the same way. If the business invoices digitally, contingencies have their own procedure, covered in invoicing in Venezuela after the 2026 SENIAT rulings.

Let the team see what is still to sync

The worst feeling during a cut is not knowing whether what you recorded has been lost. A visible counter, "12 sales saved on this device, not sent", reassures more than any explanation. When the connection returns, the counter goes down, and anything that could not sync goes into a list to review, not hidden in a technical log.

Time matters too. A device that runs out of battery can come back with the wrong clock. The system stores both the device's time and the time the server received each sale, and uses the second for anything that depends on order.

Test it by switching things off

  1. Cut the network in the middle of a sale and check that it is saved.
  2. Record thirty sales offline, restart the device and check they are still there.
  3. Sell the same last unit on two disconnected devices and see what the conflict rule does.
  4. Cut the connection in the middle of a sync and repeat it: the server must not end up with duplicates.
  5. Change the device's clock and check that the reports do not fall out of order.

And if the problem is not the power but the country's link to the wider internet, what suffers is your customers' access to your website: that is the subject of your website when the international link goes down.

Does your sales system stop with every power cut? Tell us how you sell and we will work out what has to keep running offline.

FAQ

Can a web application work without internet?

Yes, if it is designed for it: a service worker serves the app without a network and the data is kept in the browser until the connection returns. Ask for persistent storage and test it thoroughly, because a browser may free up space when it runs short.

How do I avoid selling the same product twice while offline?

By deciding a conflict rule in advance: accept and review, split scarce stock between tills, or keep certain products off offline sale. What matters is that the rule is written down and conflicts are shown when the devices sync.

What happens to payments during a blackout?

Payments that need a connection to be confirmed are recorded as pending, with their reference, and verified when the network returns. The system should not treat them as paid until the bank confirms them.

How do I know nothing was lost after a cut?

The system should show how many operations each device still has to send and a list of anything that could not sync. When that counter reaches zero and the list is empty, everything is on the server.

More insights