简体   繁体   中英

Transaction ID and Original Transaction ID in google play billing library subscription

I am trying to implement subscription in application using google play billing library. But in api "GET https://www.googleapis.com/androidpublisher/v3/applications/packageName/purchases/subscriptions/subscriptionId/tokens/token " response how can i find transaction id and original transaction id.Is there anything that i am missing.

Thank you

You can use the field orderId for the first purchase the id will look like this GPA.123-123 after it is renewed it will be update to GPA.123-123..0, GPA.123-123..1 and so on so you can take GPA.123-123 as the original_transaction_id, and orderId as transaction_id

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM