Skip to main content

Issue:

I have a sandbox subscription that expired over 6h ago, but it still returns in the active entitlements.

The expiration date in the customer info from flutter sdk is: expirationDate: 2024-09-28T14:07:31Z. The current date is 2024-09-29T06:00:00Z. However, isActive is still true. 

I guess possibly a caching issue, but 6h seems a bit long? On the revenuecat website when I search the user it shows the annual package expired as expected. The issue is just with the sdk result.

Any ideas on how to fix? Don’t want to push to live if some bug here. 

Json output:

Here is relevant part of the entitlements json: 

{entitlements: {all: {premium: {identifier: premium, isActive: true, willRenew: true, latestPurchaseDate: 2024-09-28T13:07:31Z, originalPurchaseDate: 2024-09-23T02:20:56Z, productIdentifier: vb_1y, isSandbox: true, ownershipType: PURCHASED, store: APP_STORE, periodType: NORMAL, expirationDate: 2024-09-28T14:07:31Z, unsubscribeDetectedAt: null, billingIssueDetectedAt: null, productPlanIdentifier: null, verification: NOT_REQUESTED}}, active: {premium: {identifier: premium, isActive: true, willRenew: true, latestPurchaseDate: 2024-09-28T13:07:31Z, originalPurchaseDate: 2024-09-23T02:20:56Z, productIdentifier: vb_1y, isSandbox: true, ownershipType: PURCHASED, store: APP_STORE, periodType: NORMAL, expirationDate: 2024-09-28T14:07:31Z, unsubscribeDetectedAt: null, billingIssueDetectedAt: null, productPlanIdentifier: null, verification: NOT_REQUESTED}}, verification: NOT_REQUESTED}, allPurchaseDates: {vb_1m: 2024-09-23T04:33:58Z, vb_1y: 2024-09-28T13:07:31Z}, activeSubscriptions: pvb_1y]

 

Thanks! 

Hi @alex-simpson-407c60,

It should not appear as active in the SDK after 6h for sure. Would you mind trying with a fresh test user and do the full flow?

Thanks!


Reply