Hi, what you could do is passing a variable with the value of the orderID. The variable is:
1) for REST APIs, "custom" that must be passed inside the transaction object
2) for classic NVP APIs, "PAYMENTREQUEST_n_CUSTOM", to pass into the SetExpressCheckout API call
Once you pass this variable you will have the value available in your integration.
... View more