Abdul Karim
Abdul Karim

Reputation: 4533

Enable server notifications for auto-renewable subscriptions

As per this documentation

A server URL to receive update notifications (JSON object posts) for key subscription events. This is applicable only for apps containing auto-renewable subscriptions. It is recommended to use these notifications in conjunction with Receipt Validation to validate users' current subscription status and provide them with service

enter image description here

We have added the URL but while checking the server log the link is not pinged,
Q1 - Is there any additional setup I need to do to test it in the sandbox?
Q2 - Is it only work for real purchase made by the user on production?
Q3 - Should I need to push an update to app store to make the Subscription URL work?

Any suggestion will be helpfull

Upvotes: 4

Views: 12801

Answers (1)

Ben Mekpongsatorn
Ben Mekpongsatorn

Reputation: 66

1) Have you setup the required ATS protocols on your server? https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/CocoaKeys.html#//apple_ref/doc/uid/TP40009251-SW57

2) It looks like it works for both sandbox and production according to the possible responses from their documentation: https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/StoreKitGuide/Chapters/Subscriptions.html#//apple_ref/doc/uid/TP40008267-CH7-SW13

3) You shouldn't need to push an update to app store for it work.

Upvotes: 5

Related Questions