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?