谷歌支付Purchases验证中的purchaseType

自己的锅,没仔细看文档……

The type of purchase of the inapp product. This field is only set if this purchase was not made using the standard in-app billing flow. Possible values are:

  1. Test (i.e. purchased from a license testing account)
  2. Promo (i.e. purchased using a promo code)

只有在使用 测试环境 / 促销码 的订单 会有 purchaseType 这个值 ……

普通订单是没有这个属性的……

 

posted @ 2018-03-06 15:54  卡拉迦迪斯  阅读(540)  评论(0编辑  收藏  举报