Post

Replies

Boosts

Views

Activity

Reply to Determine InApp Owned/Renew Subscription from Transactions
Example of the full details I have available for "Basic" .. and similar for "Standard" and "Premium" (I have modified some of the property values): { "id": "basic", "alias": "basic", "type": "paid subscription", "group": "1111111111, "state": "owned", "title": "Basic", "description": "A subscription.", "priceMicros": 7990000, "price": "$7.99", "currency": "USD", "countryCode": "US", "loaded": true, "canPurchase": false, "owned": true, "introPrice": null, "introPriceMicros": null, "introPricePeriod": null, "introPricePeriodUnit": null, "introPricePaymentMode": null, "ineligibleForIntroPrice": false, "discounts": [], "downloading": false, "downloaded": false, "additionalData": { "oldPurchasedSkus": [ "standard", "premium" ], "applicationUsername": "aaa" }, "transaction": { "type": "ios-appstore", "id": "10000002222222222", "appStoreReceipt": null, "original_transaction_id": "10000001111111111", "quantity": "1", "product_id": "premium", "transaction_id": "10000002222222222", "purchase_date": "2021-03-04 00:29:42 Etc/GMT", "purchase_date_ms": "1614817782000", "purchase_date_pst": "2021-03-03 16:29:42 America/Los_Angeles", "original_purchase_date": "2021-03-04 00:29:45 Etc/GMT", "original_purchase_date_ms": "1614817785000", "original_purchase_date_pst": "2021-03-03 16:29:45 America/Los_Angeles", "expires_date": "2021-03-04 00:34:42 Etc/GMT", "expires_date_ms": "1614818082000", "expires_date_pst": "2021-03-03 16:34:42 America/Los_Angeles", "web_order_line_item_id": "100000003333333333, "is_trial_period": "false", "is_in_intro_offer_period": "false", "subscription_group_identifier": "1111111111" }, "billingPeriod": 1, "billingPeriodUnit": "Month", "valid": true, "transactions": [], "isTrialPeriod": false, "isIntroPeriod": false, "renewalIntent": "Renew", "expired": false, "isExpired": false, "lastRenewalDate": "2021-03-04T00:29:42.000Z", "purchaseDate": "2021-03-04T00:25:28.000Z", "expiryDate": "2021-03-04T00:34:42.000Z" }
Mar ’21