# TokenID for subscription with RevenueCat

**URL:** <https://community.thunkable.com/t/tokenid-for-subscription-with-revenuecat/2790347>\
**Category:** Questions about Thunkable X\
**Created:** [January 18, 2024, 5:58pm UTC](https://community.thunkable.com/t/tokenid-for-subscription-with-revenuecat/2790347 "2024-01-18T17:58:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![maurizio.polverini89](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/maurizio.polverini89/32/145191_2.png) [@maurizio.polverini89](https://community.thunkable.com/u/maurizio.polverini89)\
**Post date:** [January 18, 2024, 5:58pm UTC](https://community.thunkable.com/t/tokenid-for-subscription-with-revenuecat/2790347/1 "2024-01-18T17:58:44Z")

</div>

Hello everybody,

In the [docs here](https://docs.thunkable.com/blocks/app-features/in-app-purchase-blocks-with-revenuecat) 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:

```auto
"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:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/4/444db6276836d1e4b6aed96dea90058405259c8b.png)

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

```auto
{
  "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

```auto

{
  "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?

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [January 18, 2024, 10:22pm UTC](https://community.thunkable.com/t/tokenid-for-subscription-with-revenuecat/2790347/2 "2024-01-18T22:22:50Z")

</div>

Hello @maurizio.polverini89 👋  
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?

---

<div class="post-metadata">

**Author:** ![maurizio.polverini89](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/maurizio.polverini89/32/145191_2.png) [@maurizio.polverini89](https://community.thunkable.com/u/maurizio.polverini89)\
**Post date:** [January 19, 2024, 8:32am UTC](https://community.thunkable.com/t/tokenid-for-subscription-with-revenuecat/2790347/3 "2024-01-19T08:32:11Z")

</div>

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](https://community.revenuecat.com/general-questions-7/google-acknowledgments-3176).  
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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [April 18, 2024, 8:32am UTC](https://community.thunkable.com/t/tokenid-for-subscription-with-revenuecat/2790347/4 "2024-04-18T08:32:23Z")

</div>

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