anjlab / android-inapp-billing-v3

A lightweight implementation of Android In-app Billing Version 3
Other
2.19k stars 535 forks source link

onProductPurchased is not called for first time purchase+ updated library #506

Open Isratmity01 opened 2 years ago

Isratmity01 commented 2 years ago

I'm using latest library "com.anjlab.android.iab.v3:library:2.0.0'". User should be able to purchase same product multiple time and it should reflect it in his total coin value. So the dependent codes are within onProductPurchased.

But for the first time purchase, onProductPurchased isnt called. Purchases are done successfully though but I dont get the callback in anyway. What can be done to resolve this?

gianglv3 commented 2 years ago

I also have the same problem

auxhallnetwork commented 2 years ago

can anyone help on this?

sapindersandhu commented 2 years ago

i have same issue, please help, it is affecting my app's rating.

serggl commented 2 years ago

is this still an issue with v2.0.3 ?

sapindersandhu commented 2 years ago

it is working for me now. I was using wrong Public Key, Public key is different for all apps and i was using same for all app, that's effect my app. Now it works fine in latest version.

Mimisss commented 1 year ago

I believe the issue still exists in 2.0.3. I've made several purchases but onProductPurchased is never called. The requirement is simple: after the purchase I want to save some data in a database. It does NOT work with this library.