IAP Ios subscription check from server.

Hi, i havent have made any ios purchases so please pardon my noobness, I wish to have
Automatically Renewable Subscriptions. I have read that its a better thing to check subscription details of a user from server rather than app it self so. So once the purchase has been completed what details shall be used to query apple for subscriptions(we have multiple here) and what details shall be sent to my server so i can check for user subscriptions.

You can send the App receipt, which Unity IAP will give you, and send it to your server. From there you can submit it to Apple’s receipt verification API.

2 Likes

hi @Banderous thanks for the reply i read post i think it was from you to use payload to query apple server i get response that contains a lot of deatils like http://pastebin.com/pwLvtwpe. Does that looks correct

Apple document the receipt format here - you can use that information to analyse the response from Apple’s API and decide if the user owns a valid subscription.

1 Like