【问题标题】:How to get "paymentState" from in-app subscription or subscription is free trail or not?如何从应用内订阅或订阅中获取“paymentState”是否免费?
【发布时间】:2019-11-11 07:06:58
【问题描述】:

根据google document a paymentState -> (return integer) 订阅的支付状态。可能的值是:

  1. 付款待处理 -> 0
  2. 收到付款 -> 1
  3. 免费试用 -> 2
  4. 等待延迟升级/降级 -> 3

谁能帮我通过编码获得这个“paymentState”字段?

【问题讨论】:

    标签: android in-app-purchase in-app-subscription


    【解决方案1】:

    您可以使用 Google Play Developer API Purchases.subscriptons get 获取此字段。更多信息和代码示例学习example projects

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-09-19
      • 1970-01-01
      • 1970-01-01
      • 2012-08-27
      • 1970-01-01
      • 2018-10-17
      • 2022-01-19
      • 2013-03-11
      相关资源
      最近更新 更多