Construct 3 r350

You're viewing a single comment in a conversation. View all the comments
  • 3 Comments

  • Order by
  • Build r350 has upgraded Android export but has removed MobileIAP.TRansaction. This is a deprecation which affects my complete game developement as we save the purchase receipt received on purchase-success event. Such incompatible upgrads are not expected from mature builds.

      • [-] [+]
      • 1
      • Ashley's avatar
      • Ashley
      • Construct Team Founder
      • 1 points
      • (1 child)

      We highlighted that change in the r348 release notes over 3 months ago now. The upgrade to the Google Play Billing Library meant using a completely new and rewritten version of cordova-plugin-purchase, and that expression was too difficult to port over to the new libraries. If you need access to a specific piece of data we could possibly implement that, but exposing chunks of raw JSON is difficult to keep backwards compatible and so probably wasn't a good design to begin with.

      • Thanks for the Quick response. We need the transaction ID from Apple and Google at the moment when purchase is successful.

        Similar for Restore success, when Restore is successful.

        For android the ID looks like - 33NN-94NN-44NN-41xxx

        Similar for iOS without the "-"

        Currently we have the JSON returned and we pick up this ID as a reference so that in case there is any issue on payment or subscription we can rectify with the purchase reference.

        Appreciate if this can be brought back.

        We upgraded the new build and these stopped working.

        Currently, on pourchase success we are using the following:

        Parse JSON string MobileIAP.Transaction

        Set TransactionID to JSON_Transaction.Get(“id”)

        Thnks a lot in advance.