event.orderId

Type String
Event microtransactionAuthorization
Revision Release 2022.3683
Keywords steam, steamworks, IAP, in-app purchases, microtransaction, microtransactionAuthorization, orderId
See also microtransactionAuthorization
steamworks.*

Overview

The unique order ID in string form that was assigned to the microtransaction. This order ID is assigned by the app developer when issuing a microtransaction request via Steam's web APIs. It is up to the app developer to manage order IDs.

Gotchas

This ID is a 64-bit unsigned integer stored as a string in Lua. You should not convert this to a number in Lua because number stores values as a double-precision float which can only have 15 digits of precision. A 64-bit unsigned integer can have 20 digits, so converting this to a number can cause the trailing digits to be lost.