I have spent almost two days working on in-app billing for Android. Everything works fine but at the end I am not getting orderId
in the JSON response and this is freaking my mind out. I don’t know what I am missing. Any help is appreciated. This is the JSON response I get in purchaseFinishListener
:
jsonPurchaseInfo: {"packageName":"com.app.mikedevice","productId":"monthly","purchaseTime":1429697010648,"purchaseState":0,"purchaseToken":"adbidjaciiidgknlglflebfb.AO-J1OxdrgGs2kFS-xf6Qo7j3eKabw4-Rto9xli4XqpPua_WtJVLNJSIpd3Oxwq7s_Uja4bVywEFf-iUP1g1dByizN984WHYi12ekQZ8T7X6oiitr5uiX2c","autoRenewing":true}
You're probably using your Google account as tester - check it in Google Play dashboard.
Make sure on the device you are testing there is only one Google account which is not a tester (I created a new account). It works for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With