IAP Server Notifications Fields Missing Data

Good day,

I have set up to receive server notifications when a subscription is purchased. I am currently working with the v2 response body. I have decoded the payload portion of the body and have a good amount of data. The problem is, I am unsure what part of the data I am supposed to send to the verify receipt endpoint. It would be great if you could help me out in this situation. Thank you for your help.

Answered by App Store Commerce Engineer in 698658022

App Store Server notification provides you with all the applicable entitlement information so that you do not have to call App Store Server API or verify receipt again. You can use the information available in server notification to get updated information about customer entitlement.

To authenticate App Store Server Notification v1 you can use the field password and ensure it matches your shared secret for App Store Server Notification v2 you can authenticate using the JWS.

Please see these links for more information: App Store Server Notification v2: https://developer.apple.com/documentation/appstoreservernotifications/responsebodyv2

Get All Subscription Statuses: https://developer.apple.com/documentation/appstoreserverapi/get_all_subscription_statuses

Get transaction history: https://developer.apple.com/documentation/appstoreserverapi/get_transaction_history

Accepted Answer

App Store Server notification provides you with all the applicable entitlement information so that you do not have to call App Store Server API or verify receipt again. You can use the information available in server notification to get updated information about customer entitlement.

To authenticate App Store Server Notification v1 you can use the field password and ensure it matches your shared secret for App Store Server Notification v2 you can authenticate using the JWS.

Please see these links for more information: App Store Server Notification v2: https://developer.apple.com/documentation/appstoreservernotifications/responsebodyv2

Get All Subscription Statuses: https://developer.apple.com/documentation/appstoreserverapi/get_all_subscription_statuses

Get transaction history: https://developer.apple.com/documentation/appstoreserverapi/get_transaction_history

IAP Server Notifications Fields Missing Data
 
 
Q