When using the Omnipay PHP library (or any other payment processing framework/library), is there a convention that covers when to use transactionId instead of transactionReference?
A couple of possibilities that I've considered:
- "Id" is reserved for numeric references, and "Reference" for alpha-numeric references.
- "Id" is our own reference to the transaction, sent in the initial request to the gateway, while "Reference" is the gateway's own reference returned in the callback/response.