Date problem….
The date/time here in the UK is currently 04/06/13:02.
Here is the json for a subscriber that is reporting an issue:
"entitlements": {
"TPBDCore": {
"expires_date": "2022-05-06T18:06:16Z",
"grace_period_expires_date": null,
"product_identifier": "TPBDInNoMonthly",
"purchase_date": "2022-04-06T18:06:16Z"
},
"tpbdinad": {
"expires_date": "2022-05-06T10:26:58Z",
"grace_period_expires_date": null,
"product_identifier": “TPBDInAdMonthly",
"purchase_date": "2022-04-06T10:26:58Z"
},
"tpbdinno": {
"expires_date": "2022-05-06T18:06:16Z",
"grace_period_expires_date": null,
"product_identifier": “TPBDInNoMonthly",
"purchase_date": "2022-04-06T18:06:16Z"
}
},
As you can see, the TPBDInNoMonthly subscription is showing a purchase date in the future. As a consequence it is incorrectly overriding the TPBDInAdMonthly subscription the customer moved to this morning.
The customer has checked on their iTunes account and only the TPBDInAdMonthly is showing as active, as far as Apple is concerned the TPBDInNoMonthly subscription was cancelled automatically when the customer upgraded to TPBDInAdMonthly (correctly), but RevenueCat has TPBDInNoMonthly as still active because it’s got the purchase and expiry time set incorrectly.
Restore subscriptions doesn’t resolve the issue - as far as I can tell lApple is sending RevenueCat the correct information but RevenueCat is setting the time wrongly.