Created
January 29, 2024 10:59
-
-
Save yccheok/cb4caa2320ceb3f20db5332e7b7e330b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A user cancelled his subscription on order id "GPA.3383-0878-7727-50427..8" on 17 December 2023 | |
Then same user subscribed again on order id "GPA.3359-8897-6679-16612" on 11 January 2024 | |
I believe he is using same product_id "cloud" and same purchase token "npmlplegcoomopcgiigbhkne.AO-J1Oz2kDBGXjy0Q0aLYyCfq4XZouWBHtQHQdbBtxIdxxBZCV1RxSoCo9AH72AosddxEmPbeJFQszl2kvJ1tAI9BxD-wqqCog" (Such a purchase token is copied from Copy purchase token button at Google Play Console) | |
When I make query using | |
androidpublisher.purchases().subscriptions().get( | |
packageName = "...", | |
subscriptionId = "npmlplegcoomopcgiigbhkne.AO-J1Oz2kDBGXjy0Q0aLYyCfq4XZouWBHtQHQdbBtxIdxxBZCV1RxSoCo9AH72AosddxEmPbeJFQszl2kvJ1tAI9BxD-wqqCog", | |
token = token | |
).execute() | |
I am getting | |
{ | |
"startTimeMillis": "1671251270328", | |
"expiryTimeMillis": "1702742785479", | |
"autoRenewing": false, | |
"priceCurrencyCode": "USD", | |
"priceAmountMicros": "4990000", | |
"countryCode": "US", | |
"developerPayload": "", | |
"cancelReason": 0, | |
"userCancellationTimeMillis": "1702742783940", | |
"orderId": "GPA.3383-0878-7727-50427..8", | |
"acknowledgementState": 1, | |
"kind": "androidpublisher#subscriptionPurchase" | |
} | |
I am getting his cancelled subscription on 17 December 2023, but not the latest active subscription on 11 January 2024. | |
I wish to know the latest subscription status of that user. | |
May I know is this a bug? Or, I have missed out something? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment