Skip to main content

Order Reference Uniqueness

Order reference validation

Updated over a month ago

Order Reference Parameter

The primary purpose of the order_reference parameter is to link a payment in the gateway system to the corresponding order in the merchant’s e-shop.

By default, the order_reference value must be unique. Enforcing uniqueness helps ensure that each payment is associated with a single order and provides an additional layer of security by protecting against tampering or duplicate payment attempts.

Disabling Uniqueness Validation

If necessary, the uniqueness validation for order_reference can be disabled. When this validation is turned off:

  • Multiple payment attempts are allowed for the same order reference

  • Payments can be retried until a successful transaction is completed

This option is typically used in scenarios where merchants want to support repeated payment attempts for a single order without generating a new order reference.

Did this answer your question?