android-inapp-billing-v3
android-inapp-billing-v3 copied to clipboard
Question: How can I get subscription detailed json when purchase completed?
{
"kind": "androidpublisher#subscriptionPurchase",
"startTimeMillis": long,
"expiryTimeMillis": long,
"autoResumeTimeMillis": long,
"autoRenewing": boolean,
"priceCurrencyCode": string,
"priceAmountMicros": long,
"introductoryPriceInfo": {
"introductoryPriceCurrencyCode": string,
"introductoryPriceAmountMicros": long,
"introductoryPricePeriod": string,
"introductoryPriceCycles": integer
},
"countryCode": string,
"developerPayload": string,
"paymentState": integer,
"cancelReason": integer,
"userCancellationTimeMillis": long,
"cancelSurveyResult": {
"cancelSurveyReason": integer,
"userInputCancelReason": string
},
"orderId": string,
"linkedPurchaseToken": string,
"purchaseType": integer,
"priceChange": {
"newPrice": {
"priceMicros": string,
"currency": string
},
"state": integer
},
"profileName": string,
"emailAddress": string,
"givenName": string,
"familyName": string,
"profileId": string,
"acknowledgementState": integer
}
I want to get this json on subscription purchase completed, what should I do?
Edit: Actually this is rawJson of TransactionDetail how can I get it?
did you find any solution ?