TokenID for subscription with RevenueCat

Hello everybody,

In the docs here there is everything we need to know for implementing RevenueCat in our apps, i just have a question.

While using the In App Purchase Customer Info block, in the docs there’s this value:

"nonSubscriptionTransactions": [
    {
      "purchaseDateMillis": 1692150014000,
      "productidentifier": "clicker_0.99_chef_skin",
      "transactionldentifier": "78da6c4bfa",
      "productld": "clicker_0.99_chef_skin",
      "purchaseDate": "2023-08-16T01:40:14Z",
      "revenueCatld": "78da6c4bfa"
    }

In this case, i’m refering to “transactionIdentifier” and the "revenueCatId, that appear to be the same.

When 'i’m getting the same info in my app after testing the purchase of a subscription the object “nonSubscriptionTransactions” results empty (i guess because it’s a subscription and not a single purchase).
I get more info but i can’t find anything that brings me to the transaction identifier or token ID that i would like to store for the future (and try to acknowledge the purchases by myself).

I also tried to use different blocks:

but neither the value “purchase” or “customer info” appear to have anything like the transaction token.
Here the code i got:

{
  "customerInfo": {
    "nonSubscriptionTransactions": [],
    "originalPurchaseDate": "2024-01-18T17:40:57.000Z",
    "allPurchaseDatesMillis": {"abbonamento:p1y": 17*****657243},
    "managementURL": "https://play.google.com/store/account/subscriptions",
    "allPurchaseDates": {"abbonamento:p1y": "2024-01-18T17:40:57.243Z"},
    "originalAppUserId": "$RCAnonymousID:*****************",
    "allExpirationDates": {"abbonamento:p1y": "2024-01-19T17:41:12.214Z"},
    "firstSeen": "2024-01-18T17:41:12.214Z",
    "originalPurchaseDateMillis": 1705599657000,
    "allExpirationDatesMillis": {"abbonamento:p1y": 1705686072214},
    "requestDateMillis": 1705599672214,
    "latestExpirationDate": "2024-01-19T17:41:12.214Z",
    "firstSeenMillis": 1705599672214,
    "allPurchasedProductIdentifiers": ["abbonamento:p1y"],
    "requestDate": "2024-01-18T17:41:12.214Z",
    "latestExpirationDateMillis": 1705686072214,
    "originalApplicationVersion": null,
    "activeSubscriptions": ["abbonamento:p1y"],
    "entitlements": {
      "active": {
        "Pro Access": {
          "billingIssueDetectedAtMillis": null,
          "billingIssueDetectedAt": null,
          "unsubscribeDetectedAtMillis": null,
          "productIdentifier": "abbonamento",
          "unsubscribeDetectedAt": null,
          "productPlanIdentifier": "p1y",
          "identifier": "Pro Access",
          "isActive": true,
          "periodType": "NORMAL",
          "store": "PLAY_STORE",
          "expirationDateMillis": 1705686072214,
          "originalPurchaseDateMillis": 1705599657243,
          "ownershipType": "UNKNOWN",
          "willRenew": true,
          "latestPurchaseDate": "2024-01-18T17:40:57.243Z",
          "expirationDate": "2024-01-19T17:41:12.214Z",
          "originalPurchaseDate": "2024-01-18T17:40:57.243Z",
          "isSandbox": false,
          "latestPurchaseDateMillis": 1705599657243
        }
      },
      "all": {
        "Pro Access": {
          "billingIssueDetectedAtMillis": null,
          "billingIssueDetectedAt": null,
          "unsubscribeDetectedAtMillis": null,
          "productIdentifier": "abbonamento",
          "unsubscribeDetectedAt": null,
          "productPlanIdentifier": "p1y",
          "identifier": "Pro Access",
          "isActive": true,
          "periodType": "NORMAL",
          "store": "PLAY_STORE",
          "expirationDateMillis": 1705686072214,
          "originalPurchaseDateMillis": 1705599657243,
          "ownershipType": "UNKNOWN",
          "willRenew": true,
          "latestPurchaseDate": "2024-01-18T17:40:57.243Z",
          "expirationDate": "2024-01-19T17:41:12.214Z",
          "originalPurchaseDate": "2024-01-18T17:40:57.243Z",
          "isSandbox": false,
          "latestPurchaseDateMillis": 1705599657243
        }
      }
    },
    "productIdentifier": "abbonamento"
  }
}

and


{
  "nonSubscriptionTransactions": [],
  "originalPurchaseDate": "2024-01-18T17:40:57.000Z",
  "allPurchaseDatesMillis": {"abbonamento:p1y": 1705******7243},
  "managementURL": "https://play.google.com/store/account/subscriptions",
  "allPurchaseDates": {"abbonamento:p1y": "2024-01-18T17:40:57.243Z"},
  "originalAppUserId": "$RCAnonymousID:*******",
  "allExpirationDates": {"abbonamento:p1y": "2024-01-19T17:41:12.214Z"},
  "firstSeen": "2024-01-18T17:41:12.214Z",
  "originalPurchaseDateMillis": 170559*****7000,
  "allExpirationDatesMillis": {"abbonamento:p1y": 1705686072214},
  "requestDateMillis": 1705599672214,
  "latestExpirationDate": "2024-01-19T17:41:12.214Z",
  "firstSeenMillis": 1705599672214,
  "allPurchasedProductIdentifiers": ["abbonamento:p1y"],
  "requestDate": "2024-01-18T17:41:12.214Z",
  "latestExpirationDateMillis": 1705686072214,
  "originalApplicationVersion": null,
  "activeSubscriptions": ["abbonamento:p1y"],
  "entitlements": {
    "active": {
      "Pro Access": {
        "billingIssueDetectedAtMillis": null,
        "billingIssueDetectedAt": null,
        "unsubscribeDetectedAtMillis": null,
        "productIdentifier": "abbonamento",
        "unsubscribeDetectedAt": null,
        "productPlanIdentifier": "p1y",
        "identifier": "Pro Access",
        "isActive": true,
        "periodType": "NORMAL",
        "store": "PLAY_STORE",
        "expirationDateMillis": 1705686072214,
        "originalPurchaseDateMillis": 1705599657243,
        "ownershipType": "UNKNOWN",
        "willRenew": true,
        "latestPurchaseDate": "2024-01-18T17:40:57.243Z",
        "expirationDate": "2024-01-19T17:41:12.214Z",
        "originalPurchaseDate": "2024-01-18T17:40:57.243Z",
        "isSandbox": false,
        "latestPurchaseDateMillis": 1705599657243
      }
    },
    "all": {
      "Pro Access": {
        "billingIssueDetectedAtMillis": null,
        "billingIssueDetectedAt": null,
        "unsubscribeDetectedAtMillis": null,
        "productIdentifier": "abbonamento",
        "unsubscribeDetectedAt": null,
        "product

Did someone ever notice it or have a walkaround to get the token ID?

Hello @maurizio.polverini89 :wave:
Thank you for sharing a brief description and screenshot.
I am not sure if it is possible to retrieve the TokenID but I will do some research and ask if someone else on the team knows more about this.
Something that is not clear to me is why you need the TokenID.
What are you trying to do?

Hello,

Don’t worry Ioannis, it’s ok it’s not urgent and it was just a quick one.
If it was visible or available already, it would have been nice but don’t worry

I read RevenueCat community and they say they have a “kind of acknowledgment” but it’s always good, they say, to be self sufficient, or this is what i read.
Since i was playing with IAP blocks, i thought it could be useful for me in the future to know.

Thank you anyway for your kind answer

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.