I have done my app backend server to listen to server subscription notification, but in somewhere in the apple documentations I read that you have to verify receipt for every notification received to my server, if I didn't the notification will be send many times in specific times .
is verify receipt mandatory for subscription notifications ?
If you are using App Store Server notifications V2, it sends you signed data. Each of the signed JWS representations, signedPayload
, signedTransactionInfo
, and signedRenewalInfo
, have a JWS signature that you can validate on your server. Use the algorithm specified in the header’s alg
parameter to validate the signature. There's no need to additionally verify it with another call to Apple servers.
For more information see: