Android Purchase subscription and introductory price

后端 未结 2 624
面向向阳花
面向向阳花 2021-02-05 23:04

Google came with with the idea of introductory price (https://support.google.com/googleplay/android-developer/answer/140504?hl=en).

My question is related to its API. I

2条回答
  •  借酒劲吻你
    2021-02-06 00:00

    I just found this recently at this link https://developer.android.com/google/play/billing/billing_reference.html#billing-codes

    Listed in the Billing Details API Reference section, there are extra fields in the response that only appear if there is an introductory price set. introductoryPrice for example gives a string like "$9.99". You can just check if that field is set, and if it is then there is an introductory rate available, you can also get things like the introductory price period and number of cycles it applies to.

提交回复
热议问题