问题
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