简体   繁体   English

如何判断 Android IAP/订阅是否已退款?

[英]How to tell if a Android IAP/Subscription has been refunded?

I am integrating with the Google Play Developer API for IAP.我正在与 Google Play Developer API 进行 IAP 集成。 How can my server know if the subscription/product has been refunded?我的服务器如何知道订阅/产品是否已退款? All I can tell is its cancelled.我只能说它被取消了。 I am looking at https://developers.google.com/android-publisher/api-ref/purchases/subscriptions#resource but cannot find information on whether something is refunded and isit partial/full.我正在查看https://developers.google.com/android-publisher/api-ref/purchases/subscriptions#resource但无法找到有关是否已退款以及是否部分/全部退款的信息。

I think you are looking for SUBSCRIPTION_REVOKED RTDN, it also shifts the expire date in validation response when the purchase is refunded/revoked我认为您正在寻找SUBSCRIPTION_REVOKED RTDN,它还会在购买退款/撤销时更改验证响应中的过期日期

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM