In app purchase doesn't work on Android, what's wrong?

Hi guys,
 

For some reason, I just can’t get my IAP code to work on android. Here’s the breakdown :

  1. I used both “android.test.purchased” and my app IAP id for test

  2. My device is still on Android 2.2 as a minimum benchmark and I’m using a test account on that phone 

I checked everything, my IAP id, app id, my build is not on debug.keystore but real keystore.
 

  1. Everything went smooth, when I click purchase every pop ups shown perfectly and the process are valid (at least I think so) until it said : items are purchased by google
     

  2. Except that I never get my transaction callback. Not even once…

PS : I’ve spent two days working on this (the iOS part works perfectly for me) and have been googling this forum for many discussions. It doesn’t seem that resolved cause most of the time someone just said :" oh it’s working now"

Halp pls… I’m losing sleep over this and stuck :frowning:

Thanks
 

Hi,

I am facing the same problem, were you able to make it work ?

Thanks

try to make sure your product is active in Google Developer Console. Check the name of the product in the console and your code.

If everything is correct sometimes it takes Google 24 hours to make the transaction callback work. Wait for the callback some minutes after purchasing! Google can take a while to respond! If it still isn’t responding after 3 to 5 minutes your should just wait some more hours (not for the callback, but before trying again) and try again. If it takes days there is a chance you did something wrong in coding the purchase part.

Hi,

I am facing the same problem, were you able to make it work ?

Thanks

try to make sure your product is active in Google Developer Console. Check the name of the product in the console and your code.

If everything is correct sometimes it takes Google 24 hours to make the transaction callback work. Wait for the callback some minutes after purchasing! Google can take a while to respond! If it still isn’t responding after 3 to 5 minutes your should just wait some more hours (not for the callback, but before trying again) and try again. If it takes days there is a chance you did something wrong in coding the purchase part.