anjlab / android-inapp-billing-v3

A lightweight implementation of Android In-app Billing Version 3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

consumePurchase() not working

hammamziadeh12 opened this issue · comments

Do you want to request a feature or report a bug?

What is the current behavior?

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem or a code snippet.
Don't forget to mention:

  • which version of library you use 1.0.44
  • was it working in previous versions? Not sure
  • do you use fragments or not yes
  • how do you instanciate BillingProcessor (singleton or not)
  • which device/OS version do you use for testing (or its an emulator) Samsung s9 android 7.0
  • have you uploaded it to Google Play or not (if yes, when which channel: Prod/Beta/Alpha) yes - internal testing
  • do you test with real products, or with a testing onces (e.g. android.test.purchased) real products

The more details you provide - the faster you'll get an answer from community

I tried to use consumePurchase() but it's not working:

I first use purchase and then consumePurchase:
comsumePurchase always returns False

bp.purchase(...)
bp.consumePurchase(...)

Any ideas?

If you have a general question, please flag it in the title: "Question: how do I ..."