Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-77378

QAndroidInAppTransaction should expose purchaseToken

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.12.4
    • Purchasing
    • None
    • Android

    Description

      Since the existing API doesn't provide a way, to figure out if a previous purchase was refunded, one way however is to use the Google Play Developer API.

      The way to look up a purchase is by purchaseToken and not the orderId, that is currently exposed:

      https://developers.google.com/android-publisher/api-ref/purchases/products/get

      It appears that the token is actually propagated all the way back to, and assigned, in the transaction instance, being used when finalising. It's just not exposed.

      Aside from orderId, I propose to expose purchaseToken as well, in order to be able to get query purchase status via the developer api.

      Either that, or provide the same functionality in Purchasing.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              jani-korteniemi Jani Korteniemi
              rhardih René Hansen
              Veli-Pekka Heinonen Veli-Pekka Heinonen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes