which auto_renew_status field I should use to identify user action?

I received a version 1 server notification.

auto_renew_status is true and another pending_renewal_info.auto_renew_status is 0. So did the user turn the subscription on or off?

What does this mean and which field I should use to identify user action?

Could anyone help me with that?

The contents are as follows:

{
     "environment": "PROD",
     "unified_receipt": {
          "status": 0,
          "environment": "Production",
          "latest_receipt_info": [
               {
                    "quantity": "1",
                    "product_id": "com.protect.adpatrol.weekly2",
                    "expires_date": "2023-03-19 18:12:56 Etc/GMT",
                    "purchase_date": "2023-03-12 18:12:56 Etc/GMT",
                    "transaction_id": "700001139057782",
                    "expires_date_ms": "1679249576000",
                    "is_trial_period": "false",
                    "expires_date_pst": "2023-03-19 11:12:56 America/Los_Angeles",
                    "purchase_date_ms": "1678644776000",
                    "purchase_date_pst": "2023-03-12 11:12:56 America/Los_Angeles",
                    "in_app_ownership_type": "PURCHASED",
                    "original_purchase_date": "2023-02-28 06:18:59 Etc/GMT",
                    "web_order_line_item_id": "700000519235393",
                    "original_transaction_id": "700001128802427",
                    "is_in_intro_offer_period": "false",
                    "original_purchase_date_ms": "1677565139000",
                    "original_purchase_date_pst": "2023-02-27 22:18:59 America/Los_Angeles",
                    "subscription_group_identifier": "20900376"
               },
               {
                    "quantity": "1",
                    "product_id": "com.protect.adpatrol.weekly2",
                    "expires_date": "2023-03-03 06:18:57 Etc/GMT",
                    "purchase_date": "2023-02-28 06:18:57 Etc/GMT",
                    "transaction_id": "700001128802427",
                    "expires_date_ms": "1677824337000",
                    "is_trial_period": "true",
                    "expires_date_pst": "2023-03-02 22:18:57 America/Los_Angeles",
                    "purchase_date_ms": "1677565137000",
                    "purchase_date_pst": "2023-02-27 22:18:57 America/Los_Angeles",
                    "in_app_ownership_type": "PURCHASED",
                    "original_purchase_date": "2023-02-28 06:18:59 Etc/GMT",
                    "web_order_line_item_id": "700000519235392",
                    "original_transaction_id": "700001128802427",
                    "is_in_intro_offer_period": "false",
                    "original_purchase_date_ms": "1677565139000",
                    "original_purchase_date_pst": "2023-02-27 22:18:59 America/Los_Angeles",
                    "subscription_group_identifier": "20900376"
               }
          ],
          "pending_renewal_info": [
               {
                    "product_id": "com.protect.adpatrol.weekly2",
                    "auto_renew_status": "0",
                    "auto_renew_product_id": "com.protect.adpatrol.weekly2",
                    "original_transaction_id": "700001128802427"
               }
          ]
     },
     "auto_renew_status": "true",
     "notification_type": "DID_CHANGE_RENEWAL_STATUS",
     "auto_renew_product_id": "com.protect.adpatrol.weekly2",
     "original_transaction_id": 700001128802427,
     "auto_renew_status_change_date": "2023-03-12 18:12:58 Etc/GMT",
     "auto_renew_status_change_date_ms": "1678644778000",
     "auto_renew_status_change_date_pst": "2023-03-12 11:12:58 America/Los_Angeles"
}

Replies

Hello, first we recommend App Store Server Notifications V2, as these have various improvements, including removing these similar fields with different meanings. Additionally, this notification is from over a year ago. Could you please share a more recent example where you've seen this behavior?