urgent, in-app purchases not working?
On the latest build 284.10 in-app purchases can no longer get the purchased items.
This is extremely bad timing, because just a few days ago google decided to change the in-app purchases order id format.
Before it was "merchantid.orderid" and now it's just "GPA.orderid".
I was comparing with my merchantid as a way to verify the purchases (about 95% of purchases in my app are scam-attempts).
So now nobody can buy anything, and they get an error in my game.
I spent all day yesterday and today figuring out the google api oath authentication, and i have finally managed to create a php script that will communicate with it, and i can verify purchases with google directly.
Now what i really don't need is a bug in the in-app object to mess up the critical emergency update that i want to release ASAP.
i loop through the inventory and all the items in the store are listed fine, but it does not retrieve the purchased items:
08-02 21:39:30.276: I/MMFRuntime(8291): Querying owned items, item type: subs
08-02 21:39:30.276: I/MMFRuntime(8291): Package name: com.gameyey.flapping
08-02 21:39:30.276: I/MMFRuntime(8291): Calling getPurchases with continuation token: null
08-02 21:39:30.280: I/MMFRuntime(8291): Owned items response: 0
08-02 21:39:30.280: I/MMFRuntime(8291): Continuation token: null
08-02 21:39:30.280: I/MMFRuntime(8291): Querying SKU details.
08-02 21:39:30.288: I/MMFRuntime(8291): Ending async operation: refresh inventory
08-02 21:39:30.288: I/MMFRuntime(8291): Query inventory finished.
So when i buy an item nothing happens, and when i try to buy it again, we get this:
08-02 21:42:11.362: I/MMFRuntime(8291): Constructing buy intent for flapping.gema, item type: inapp
08-02 21:42:11.370: I/MMFRuntime(8291): Unable to buy item, Error response: 7:Item Already Owned
08-02 21:42:11.370: I/MMFRuntime(8291): Ending async operation: startPurchaseProcess
08-02 21:42:11.370: I/MMFRuntime(8291): Purchase finished: Result: Unable to buy item (Response: 7:Item Already Owned), purchase: null, iD: 11