Google App Billing - Got Owned Purchases not working

(Cian) #1

I am having an issue with Google App Billing.

Purchases are obtained when the connection is initialized, however when I use the

image

A message popup says that the Purchases are being loaded, but nothing happens on this event. Can someone confirm if they are having issues?

(Pavitra Golchha) #2

It will load eventually

(Cian) #3

Eventually?

So when someone buys a product, or subscription how am I supposed to enable it?

I have never had this issue on other apps. Subscription purchase is made, then I have to do a get owned to confirm it was purchased.

Am I doing something wrong?

1 Like
(Pavitra Golchha) #4

It triggers only after a callback is received from Google servers which depends on the speed of the network connection.

(Cian) #5

I have a 100megabbit connection . Firebase works perfect. Are there any other known issues?

1 Like
(Cian) #6

Pavi,

This is not working. I dont get the purchases back consistently. It is very sporadic. I have deployed in alpha mode and am using test mode.

Any ideas on what is going on?

(Pavitra Golchha) #7

Are you using test product id when using test mode?

(Cian) #8

Testing subscriptions.

(Cian) #9

Ok, it responds ONLY on the first boot of the application.

I was able to make the purchases but I had to delete the application and install it for it to do a proper query

I also tried your original version of the AIX and get the exact same response.

(Cian) #10

If I can get the TOKEN that was issued at subscription time, I can do a web based query.

Have you have had a chance to look at this?

(Pavitra Golchha) #11

Do you want to verify the token on your own server? Currently, it is not possible. But I have plans to replace the Anjlab library (which we currently use for component) to the official Google Play Billing library. That should be stable as the Anjlab library has some known bugs.

1 Like
(Cian) #12

I checked his code, and the token is part of his library,

What type of bugs? The issue is, I am only getting the subscriptions on initial application start. Thats it.

Is this a known issue? Am I doing something wrong? Can you recreate it?

(Cian) #13

Pavi have you had a chance to take a look at this?

Why the Got Subscriptions only works on a fresh install?

(Pme) #14

Yes , if i will erase app data and reopen its work