【发布时间】:2016-10-15 01:57:29
【问题描述】:
对于应用内订阅,我正在使用此代码(在 Kotlin 中)
iabHelper.launchSubscriptionPurchaseFlow(act, "month", 1001, this@SubscriptionActivity, extraKey)
在此之后,我向服务器发出购买验证请求。为了在服务器上进行验证,我正在使用此代码(在 Go 中)
result, err := androidpublisher.Purchases.Subscriptions.Get(packageName, product, token).Do()
success := err == nil
如何获取我在应用程序中传递的extraKey?我需要它知道,哪个用户购买了
【问题讨论】:
标签: android google-play-developer-api