在Google Play上启用Android订阅的免费试用
我很难获得免费的trail来进行应用内订阅。订阅工作正在工作,但是每次我测试(即使使用新设备/Google帐户)显示为“从今天开始”(请参见下图,文本都在瑞典语中)。
我认为您不需要任何代码,并且可以在Google Play游戏机中设置所有内容。
我拥有的结构是我的应用程序>产品>订阅:
- Base subscription (Per month, renewed automatically)
- Offer - Every month (renews automatically)
Phases:
- Free trial (duration = 1 month)
要约页面看起来像这样:
“>
翻译“frånOchMed Idag” =>英语“从今天开始”。
我在做什么错?查看Stackoverflow帖子所有帖子都与如何在编程中获取自由审判可用性状态有关,我对此不感兴趣。我假设本机Google对话框直接从Google Play Server中获取了此操作。
I am having trouble getting Free trail for In-app subscription working. The subscription is working but every time I test (even with new devices/google account) it shows as "Starting today" (see image below, the texts are in Swedish).
I assume you do not need any code for this and everything can be setup in Google Play Console.
The structure I have is like this under My app > Products > Subscriptions:
- Base subscription (Per month, renewed automatically)
- Offer - Every month (renews automatically)
Phases:
- Free trial (duration = 1 month)
The offer page looks like this:
and the Phases contains only one item which is this:
Image when testing on a brand new device:
Translating "Från och med idag" => "Starting today" in English.
What am I doing wrong? Looking at Stackoverflow post all post relate to how to programatically fetch the free-trial availability status, which I'm not interested in. I assume the native Google dialog fetches this directly from Google Play servers.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
事实证明,Google刚刚宣布了一项新的订阅计划。
我要“迁移”免费试用要约,以使其向后兼容。单击“要约行”上的三个点,然后“迁移”以使其与旧的旧方法一起使用。
Turns out Google just last month announced a new scheme for subscriptions.
I hade to "migrate" the Free Trial offer to make it backward compatable. Click on the three dots on the offer row and then "migrate" to make it work with the old legacy method.
我不确定这是否有帮助。如果您查看Google订阅API的响应,则可能在基本订阅中有多个优惠。一个报价是免费的试用期,一个优惠是针对没有免费层的基本订阅。我认为您需要在应用程序中使用正确的一个。它不同于App Store,您不必在应用程序中处理此操作,因为免费试用的订阅计划仅添加了免费试用。
至少这就是我的理解,我自己只是在研究类似问题。
I am not sure if this helps but. If you look on the response from the Google subscriptions api, you may have multiple offers within the base subscription. One offer is for the free trial period and one offer is for the base subscription without free tier. I think that you need to use the right one in the app. It differs from App Store where you don't have to handle this within the app since the free trial is just added on the same subscription plan.
This is how I understand it at least, I am just working on a similar issue myself.