Hi, I am testing auto-renew subscriptin in the sandbox. If I purchase a subscription to Level 2, it renews every few minutes and I get notification in BE. All good. But if, before it expires I do a downgrade to Level 1 in my app, the following happens.
The Level 2 subscription continues until it expires. the latest receipt is saying the original subscription has expired. It does include the new subscription in the "auto_renew_product_id" field, but in that field the "auto_renew_status" is set to 0, expiration_intent is set to 0, and not data for Level 1 subscription in field latest_receipt_info, And my app is show this account is no plan with it. I'm make sure I don't cancel any subscription manually.
"environment": "Sandbox", "receipt": { "receipt_type": "ProductionSandbox", "adam_id": 0, "app_item_id": 0, "bundle_id": "xxxxxxxxxx", "application_version": "6", "download_id": 0, "version_external_identifier": 0, "receipt_creation_date": "2023-09-28 06:22:18 Etc/GMT", "receipt_creation_date_ms": "1695882138000", "receipt_creation_date_pst": "2023-09-27 23:22:18 America/Los_Angeles", "request_date": "2023-09-28 06:22:44 Etc/GMT", "request_date_ms": "1695882164902", "request_date_pst": "2023-09-27 23:22:44 America/Los_Angeles", "original_purchase_date": "2013-08-01 07:00:00 Etc/GMT", "original_purchase_date_ms": "1375340400000", "original_purchase_date_pst": "2013-08-01 00:00:00 America/Los_Angeles", "original_application_version": "1.0", "in_app": [ { "quantity": "1", "product_id": "level2", "transaction_id": "2000000422878353", "original_transaction_id": "2000000421925037", "purchase_date": "2023-09-27 04:35:19 Etc/GMT", "purchase_date_ms": "1695789319000", "purchase_date_pst": "2023-09-26 21:35:19 America/Los_Angeles", "original_purchase_date": "2023-09-26 06:17:05 Etc/GMT", "original_purchase_date_ms": "1695709025000", "original_purchase_date_pst": "2023-09-25 23:17:05 America/Los_Angeles", "expires_date": "2023-09-27 05:11:19 Etc/GMT", "expires_date_ms": "1695791479000", "expires_date_pst": "2023-09-26 22:11:19 America/Los_Angeles", "web_order_line_item_id": "2000000037933985", "is_trial_period": "false", "is_in_intro_offer_period": "false", "in_app_ownership_type": "PURCHASED" }], "latest_receipt_info": [ { "quantity": "1", "product_id": "level2", "transaction_id": "2000000423805961", "original_transaction_id": "2000000421925037", "purchase_date": "2023-09-28 04:21:58 Etc/GMT", "purchase_date_ms": "1695874918000", "purchase_date_pst": "2023-09-27 21:21:58 America/Los_Angeles", "original_purchase_date": "2023-09-26 06:17:05 Etc/GMT", "original_purchase_date_ms": "1695709025000", "original_purchase_date_pst": "2023-09-25 23:17:05 America/Los_Angeles", "expires_date": "2023-09-28 04:57:58 Etc/GMT", "expires_date_ms": "1695877078000", "expires_date_pst": "2023-09-27 21:57:58 America/Los_Angeles", "web_order_line_item_id": "2000000038038221", "is_trial_period": "false", "is_in_intro_offer_period": "false", "in_app_ownership_type": "PURCHASED", "subscription_group_identifier": "20412672", "app_account_token": "664bf8a5-3586-4e81-9a48-d31dd096e0eb" }], "latest_receipt": "xxxxxxx", "pending_renewal_info": [ { "expiration_intent": "1", "auto_renew_product_id": "level1", "is_in_billing_retry_period": "0", "product_id": "level2", "original_transaction_id": "2000000421925037", "auto_renew_status": "0" } ], "status": 0