When processing a callback from a WorldPay transaction, what is the best way to retrieve the original transactionId that was passed to Omnipay?
This would be needed to update the appropriate database record with the result of the transaction, for instance.
I can see that there is a getTransactionReference() method available on the response, but not a getTransactionId() method (which would presumably access the 'cartId' value returned by WorldPay).
I'm guessing that the cartId value could be accessed directly, but is there a gateway-agnostic way to do this?