What this article covers

A customer returning to the merchant page after payment only proves that the browser redirected. The business system must verify the order result under the selected provider's rules before fulfilment. This is a draft awaiting review; check specific fields and signature verification rules against the official documentation.

Give each order a clear identity

  • Assign a unique identifier to each business order.
  • Store the related order identifier on the provider's side.
  • Match the merchant, amount and currency in the notification.

Handle repeated and delayed notifications

Suppose the network disconnects after the first notification and the provider sends the same event again. Record the unique event already processed, confirm state within a database transaction, and ensure that the same order is not fulfilled twice.

Test before launch

Test signature verification, duplicate events, out-of-order arrivals, customers closing their browser and query-based recovery. Do not treat this general explanation as code suitable for every provider. Add the relevant product documentation and actual test results.

Sources

Technical information only; not payment access, investment or legal advice. Check the selected provider’s official documentation and eligibility requirements.