Skip to main content
Question

Not using sandbox account


Forum|alt.badge.img+4

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=["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=["com.bcski.pro.annual": "expiresDate: Optional(2024-08-26 21:26:33 +0000)"],

nonSubscriptions=[],

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

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

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

entitlements=["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

>

This post has been closed for comments

5 replies

Forum|alt.badge.img+4
  • Author
  • New Member
  • 3 replies
  • August 19, 2024

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


joan-cardona
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 187 replies
  • August 21, 2024

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,


Forum|alt.badge.img+4
  • Author
  • New Member
  • 3 replies
  • September 2, 2024

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


joan-cardona
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 187 replies
  • September 9, 2024

Hi @BCBeta,

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


Forum|alt.badge.img+4
  • Author
  • New Member
  • 3 replies
  • September 10, 2024

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.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings