In this article
A successful payment screen is not the same as a reconciled sale. The website has an order record, the gateway has payment events and the bank receives settlements that may combine transactions, fees and adjustments. When those records are treated as one thing, teams struggle to explain missing amounts, duplicate refunds or orders marked paid too early.
Build reconciliation as part of the commerce workflow. Keep stable references between records, model payment states explicitly and provide an exception queue that operations and finance can use. The accounting treatment should be agreed with the business’s finance owner; the software should make the underlying events traceable.
Separate order, payment and settlement states
An order describes what the customer requested. A payment record describes a financial operation and its current status. A settlement describes movement of funds according to the gateway’s payout arrangements. One order can have multiple payment attempts, partial refunds or adjustments.
Do not collapse these into one paid/unpaid flag without preserving the events behind it. A browser returning to a success URL is not authoritative payment confirmation. Use the provider’s documented server-side verification and event model, with appropriate authentication and duplicate handling.
Use references that survive the whole journey
Store the internal order identifier alongside provider references for payment attempts, captures, refunds and payouts where available. Keep external references in structured fields rather than relying on free-text notes. That makes it possible to investigate a discrepancy without searching through several dashboards manually.
A retry should not silently replace the history of the previous attempt. For illustration, a customer might abandon one attempt and complete another. The order should show which confirmed payment satisfies it while retaining enough history to understand the unsuccessful attempt.
| Record | Match against | Exception to investigate |
|---|---|---|
| Order | Confirmed payment and fulfilment state | Paid order with no valid payment reference |
| Refund | Approved request and provider result | Duplicate or unconfirmed refund |
| Gateway activity | Internal payment events | Provider event missing from the website |
| Payout | Provider reconciliation report and bank entry | Unexplained net difference |
Handle asynchronous events safely
Provider notifications can arrive after the browser journey ends, and repeated delivery must be expected according to the integration contract. Validate the event, record its identifier and apply business changes in a controlled transaction. Do not assume arrival order alone tells you the final payment state.
If an event cannot be processed, retain an appropriate record and alert the integration owner. A temporary database failure should not permanently lose the connection between the payment and order. The API delivery guide explains related retry and duplicate-prevention principles.
Make refund approval and execution distinct
Define who can request a refund, who approves it and which system executes it. Check the amount and currency against the remaining refundable balance. A customer-service note saying “refund approved” is not evidence that the provider completed it.
Record the result and surface unresolved cases. Partial refunds, cancelled orders and failed refund attempts need clear statuses. If a request times out, check the provider’s state before repeating a financial operation. The receiving API’s documented behaviour should determine the recovery approach.
Reconcile gross activity and net payouts
A payout may differ from gross sales because of timing, fees, refunds or other provider adjustments. Compare the appropriate report for the question being asked. Stripe, for example, distinguishes balance reporting from payout reconciliation; a period activity report is not necessarily a list of transactions belonging to one payout.
Keep currency and time boundaries explicit. A transaction date, settlement date and bank receipt date may fall in different reporting periods. Agree reporting time zones and cutoffs with finance, and retain the original provider references so differences can be traced.
Give staff a usable exception workflow
Show the affected order, amount, currency, references, reason and responsible owner. Group exceptions by action: missing event, mismatched amount, unsettled payment or refund needing confirmation. Avoid an unstructured export that requires staff to rediscover the same issue each morning.
Keep corrections auditable. Staff should not change a payment status merely to make a dashboard balance. Where a manual adjustment is authorised, record the reason and approval, then reconcile the resulting reports. Restrict access to sensitive customer and financial information.
Test beyond the happy path
Use the provider’s sandbox to test repeated callbacks, delayed confirmation, partial refunds, interrupted requests and different payment outcomes. Validate the order journey and finance reports together. A visually polished checkout is only one part of a dependable commerce system.
Gligx can plan payment workflows through custom software development and connect operational records through ERP and CRM integration. If older records also need importing, use the migration checklist to agree opening balances and exceptions before building reconciliation on top of them.
Sources and further reading
External references checked on 3 December 2026. Scenarios and calculations in this guide are illustrative, not reported client results.
Frequently Asked Questions
Is the browser success URL proof of payment?
No. Confirm through the payment provider’s documented server-side verification and event process.
Why can a payout differ from gross sales?
Timing, fees, refunds and other provider adjustments may affect the net amount. Reconcile using the appropriate report.
How should repeated payment notifications be handled?
Validate events, record their identifiers and apply business changes in a controlled way that prevents duplicate effects.
Who should approve accounting treatment?
The business’s finance owner should determine accounting treatment; the software should preserve traceable transaction evidence.