6 Replies
      Latest reply on Jun 12, 2018 2:40 PM by rich
      wyates Level 1 Level 1 (0 points)

        We have setup the Status Update Notifications for server to server notifcations for auto renew products.  We are getting the INITIAL_BUY and DID_CHANGE_RENEWAL_PREFERENCE notification types from sandbox, but we are not getting the RENEWAL notifications. 

         

        Is there something we need to do to get those notificaiton types?

        • Re: statusUpdateNotification not getting renewal notification type
          replman Level 1 Level 1 (0 points)

          I observe the same in production environment.

            • Re: statusUpdateNotification not getting renewal notification type
              rich Apple Staff Apple Staff (215 points)

              If you read the description of the RENEWAL event, you will note - "Automatic renewal was successful for an expired subscription. Check Subscription Expiration Date to determine the next renewal date and time." In general, iTunes will attempt to charge the user account a day before an auto-renewing subscription is scheduled to expire. If the renewal is successful, there is no server-to server notification because the auto-renewing subscription did not enter into an expired state. However, in the few cases that iTunes is unable to renew the subscription (generally there was a connection problem with the credit card server) and the auto-renewing subscription is not renewed before the expiration_date passes, the auto-renewing subscription is technically considered “expired”. However, iTunes will still continue to attempt to renew the subscription. It iTunes is successful, then the “RENEWAL” event is sent. for this reason, the advice is presented - “Check Subscription Expiration Date to determine the next renewal date and time.”

               

              To verify whether the auto-renewing subscription In-App Purchase is current, validate the appStoreReceipt with the verifyReceipt server. Assuming that there is an auto-renewing subscription item in the in_app array, then review the latest_receipt_info records and find the subscription record which has an expires_date later than the current date, one without the cancellation_date field set.

               

              rich kubota - rkubota@apple.com

              developer technical support CoreOS/Hardware/MFI

                • Re: statusUpdateNotification not getting renewal notification type
                  bwhyte Level 1 Level 1 (0 points)

                  Hi Rich,

                   

                  We are having a similar issue with rollovers around not knowing if someone has auto-renewed or if they have elected to cancel future rollovers through their subscription settings.

                   

                  From your notes, it sounds like RENEWAL is not the one to be looking at. CANCEL is noted as only applying for when Apple Customer Support cancel the subscription and we have not received any DID_CHANGE_RENEWAL_PREF notifications either.

                   

                  What notification type should be referred to, to flag if a user has auto-renewed / elected not to rollover.

                  Thanks,
                  Ben

                    • Re: statusUpdateNotification not getting renewal notification type
                      rich Apple Staff Apple Staff (215 points)

                      Ben,

                       

                      There is no status notification to determine that the renewal has re-occurred normally. As mentioned previously, it's best to validate the appStoreReceipt starting a day or 2 prior to the expires_date for the current subscription. in the validated JSON payload, you can review the "pending_renewal_info" section and look for the "auto_renew_status" to get an idea as to whether an attempt will be made to renew the subscription. To determine whether the renewal actually occurred, you will need to validate the receipt on the expires_date and check if there is a more recent entry in the "latest_receipt_info" section.

                       

                      rich kubota - rkubota@apple.com

                      developer technical support CoreOS/Hardware/MFI