← All work
Case studyClient: Confidential business application

Making Accounting Sync Visible and Recoverable

Background invoice sync with visible progress, failure reporting and matching back to operational orders.

▲ SHIFT UP
Context

An accounting integration needs to explain what happened when it runs. Expired credentials, interrupted requests and unmatched invoices need a visible state.

The challenge
  • //Avoiding overlapping synchronisation runs.
  • //Distinguishing completed work from failed requests.
  • //Matching paid invoices to the operational records they belong to.
The work
  • Implemented queued invoice synchronisation with a unique job lock.
  • Added running, completed and failed states, timestamps and processing summaries.
  • Handled API authentication and recorded request failures, with retry settings for job exceptions.
  • Matched paid invoices to orders and removed stale awaiting-payment duplicates when a paid record already exists.
Result

Supportable integration behaviour, with payment information matched back to orders and failed runs visible for investigation.

Stack
Laravel queuesREST APIsOAuthLogging
Related service
API & Systems Integration →

The requirement

A failed authentication or request can leave staff uncertain whether information was actually updated.

What the implementation supports

The integration has an inspectable status and a record of its work; failures are reported explicitly.

My role

Accounting integration and background job development

Checks built into the work

  • Unique job locking prevents overlapping runs.
  • Explicit failure states and processing summaries make a run inspectable.

An anonymous account of implemented work. Client identities, private screens and business records are withheld under NDA.

Team Radio

Have a Laravel or WooCommerce problem?

Tell me what's happening. I'll tell you honestly whether I can help and what I'd look at first.

Adam Dawson is the developer behind DawsonyWeb. Client and agency work can also be delivered through the studio.