Code Monkey home page Code Monkey logo

Comments (3)

ophidian avatar ophidian commented on June 30, 2024

I have also noticed a lot of duplicate purchases. I believe they will be related to this issue.

from androidbillinglibrary.

dklimoff avatar dklimoff commented on June 30, 2024

It's easy to reproduce:
Buy non-managed item and don't send confirm notification for it. On next startPurchaseIntent there will be two IN_APP_NOTIFY messages for this item with the same notification id.
I include log for your convenience (-6923771709698328381 dublicate)

12-23 00:42:53.560: D/Billing(4997): Request -1 of type CHECK_BILLING_SUPPORTED sent
12-23 00:45:02.840: D/Billing(4997): Request 4796020480179225789 of type REQUEST_PURCHASE sent
12-23 00:45:04.510: D/Billing(4997): Received com.android.vending.billing.IN_APP_NOTIFY
12-23 00:45:04.510: D/Billing(4997): Notification -6923771709698328381 available
12-23 00:45:04.600: D/Billing(4997): Request 9147694845599562351 of type GET_PURCHASE_INFORMATION sent
12-23 00:45:04.600: D/Billing(4997): Received com.android.vending.billing.IN_APP_NOTIFY
12-23 00:45:04.600: D/Billing(4997): Notification -6923771709698328381 available
12-23 00:45:04.630: D/Billing(4997): Request 3568733104458770202 of type GET_PURCHASE_INFORMATION sent
12-23 00:45:06.690: D/Billing(4997): Received com.android.vending.billing.PURCHASE_STATE_CHANGED
12-23 00:45:06.690: D/Billing(4997): Purchase state changed
12-23 00:45:06.900: D/Billing(4997): Received com.android.vending.billing.RESPONSE_CODE
12-23 00:45:06.900: D/Billing(4997): Request 9147694845599562351 received response RESULT_OK
12-23 00:45:07.120: D/Billing(4997): Received com.android.vending.billing.PURCHASE_STATE_CHANGED
12-23 00:45:07.120: D/Billing(4997): Purchase state changed
12-23 00:45:07.200: D/Billing(4997): Received com.android.vending.billing.RESPONSE_CODE
12-23 00:45:07.200: D/Billing(4997): Request 3568733104458770202 received response RESULT_OK
12-23 00:46:30.390: D/Billing(4997): Received com.android.vending.billing.RESPONSE_CODE
12-23 00:46:30.390: D/Billing(4997): Request 4796020480179225789 received response RESULT_USER_CANCELED

from androidbillinglibrary.

ophidian avatar ophidian commented on June 30, 2024

Anyone have a fix or suggested fix?

from androidbillinglibrary.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.