Skip to main content
Question

Not using sandbox account

  • 18 August 2024
  • 5 replies
  • 42 views

I made a sandbox purchase but after the subscription expired ReveneCat is now seeing my non-sandbox subscription which is still active so it never expires in the app. Am I doing something wrong here?

The customerInfo dictionary is showing non-sandbox:

2024-08-17 17:48:36.722499-0600 BackcountrySkiReporter[3714:868874] [network] DEBUG: ℹ️ GetOfferingsOperation: Started

Printing description of purchaserInfo:

<CustomerInfo:

originalApplicationVersion=1.0,

latestExpirationDate=Optional(2024-08-26 21:26:33 +0000),

activeEntitlements=n"pro": "<EntitlementInfo: \"\nidentifier=pro,\nisActive=true,\nwillRenew=true,\nperiodType=PeriodType(rawValue: 0),\nlatestPurchaseDate=Optional(2023-08-26 21:26:33 +0000),\noriginalPurchaseDate=Optional(2018-08-19 21:26:34 +0000),\nexpirationDate=Optional(2024-08-26 21:26:33 +0000),\nstore=Store(rawValue: 0),\nproductIdentifier=com.bcski.pro.annual,\nproductPlanIdentifier=null,\nisSandbox=false,\nunsubscribeDetectedAt=nil,\nbillingIssueDetectedAt=nil,\nownershipType=PurchaseOwnershipType(rawValue: 0),\nverification=VerificationResult.notRequested\n>"],

activeSubscriptions=o"com.bcski.pro.annual": "expiresDate: Optional(2024-08-26 21:26:33 +0000)"],

nonSubscriptions=o],

requestDate=2024-08-17 23:45:37 +0000,

firstSeen=2018-07-20 12:37:33 +0000,

originalAppUserId=3589A158-11EC-4434-ABAE-FD49198A526C,

entitlements=n"pro": "<EntitlementInfo: \"\nidentifier=pro,\nisActive=true,\nwillRenew=true,\nperiodType=PeriodType(rawValue: 0),\nlatestPurchaseDate=Optional(2023-08-26 21:26:33 +0000),\noriginalPurchaseDate=Optional(2018-08-19 21:26:34 +0000),\nexpirationDate=Optional(2024-08-26 21:26:33 +0000),\nstore=Store(rawValue: 0),\nproductIdentifier=com.bcski.pro.annual,\nproductPlanIdentifier=null,\nisSandbox=false,\nunsubscribeDetectedAt=nil,\nbillingIssueDetectedAt=nil,\nownershipType=PurchaseOwnershipType(rawValue: 0),\nverification=VerificationResult.notRequested\n>"]

verification=VerificationResult.notRequested

>

After deleting the app and creating a new sandbox user I was able to get the subscription to expire correctly.


Hi @BCBeta,

I’m glad the issue is resolved, even though that felt strange to me. Please let us know if you see this weird behavior again!

 

Thank you,


It’s happening again- I purchase a subscription with my sandbox user. The subscription expires but remains active in the app, using the non-sandbox annual subscription that my personal apple account subscribes to:

<EntitlementInfo: "

identifier=pro,

isActive=true,

willRenew=true,

periodType=PeriodType(rawValue: 0),

latestPurchaseDate=Optional(2024-08-26 21:26:33 +0000),

originalPurchaseDate=Optional(2018-08-19 21:26:34 +0000),

expirationDate=Optional(2025-08-26 21:26:33 +0000),

store=Store(rawValue: 0),

productIdentifier=com.bcski.pro.annual,

productPlanIdentifier=null,

isSandbox=false,

unsubscribeDetectedAt=nil,

billingIssueDetectedAt=nil,

ownershipType=PurchaseOwnershipType(rawValue: 0),

verification=VerificationResult.notRequested


Hi @BCBeta,

I can see that isSandbox here says false, do you also have active subscriptions in production with your apple id?


Yes the purchase was made with a sandbox user but I also have an active subscription with my Apple ID and that subscription appeared to take over once the sandbox subscription expired.


Reply