My company has an Android application with integrated In-app billing. When customer purchases an order, the application recieves the order id. After that, the app sends this data to the server, and the server checks this order id for existence, via Notification History API.
Before November 9, this order id always was a format known as Google Order Number (for example 56260349814XXXX). After November 9, we began recieving order ids as a format known as Merchant Order Number (for example 1299976316905470XXXX.137189007792XXXX).
How can our sever check orders by Merchant Order Number?
Or, how can we convert Merchant Order Number to Google Order Number?
Sounds like you have a “mixed” account – an account that handles both “legacy” and newer Wallet APIs?
AFAIK,
Notification History APIis still a “legacy” Google Checkout API – even it does work for newer APIs. So if for example you do anotification-history-requestby time period, you will get orders from “all” of them (at least it does for me in my “mixed” sandbox account):google-order-numberA newer API (e.g. Wallet for Digital) has both
google-order-numberandmerchant-order-numberWhile you do get the
merchant-order-numberin the API you are using, I don’t believe you can “tie” it togoogle-order-numberfor the purposes of querying it viaNotification History API(unless it’s a “general” query – like time period for example,or perhaps after you receive– Oops, actually don’t think you get this because again, this is a “legacy” Google Checkout API – re: Notification API).new-order-notificationwhich contains bothHth….