Google Play - Error “subscriptionNotOwnedByUser” when acknowledging purchase token of a subscription

浪子不回头ぞ 提交于 2020-05-26 08:16:20

问题


Keep receiving error "subscriptionNotOwnedByUser" from Google's when acknowledging a subscription upgrade/downgrade using Google's developer API for server-side subscription verification.

The purchase token was extracted directly from the notification received from Google's real-time developer notification. Tried searching this error but no luck.

Thanks for any help.

Error message:

{
  "error": {
    "errors": [
      {
        "domain": "androidpublisher",
        "reason": "subscriptionNotOwnedByUser",
        "message": "The subscription purchase not is owned by the user.",
      }
    ],
    "code": 400,
    "message": "The subscription purchase not is owned by the user."
  }
}

回答1:


While subscription auto renewal you need not do acknowledge once again. Because the same purchase token was already acknowledged at the time of Subscription Purchase. So when you acknowledge the already acknowledged Subscription you'll get this error.

I faced the same exact error in my case so I remove the acknowledging part while subscription renewal.



来源:https://stackoverflow.com/questions/57919134/google-play-error-subscriptionnotownedbyuser-when-acknowledging-purchase-tok

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!