I’m getting an issue when I request a receipt from Apple regarding subscriptions. The issue I’m having might only be related to testing in Apple’s sandbox, but I’d like to make sure of that before going live.I am currently handling the receipt on the user’s device. What I am trying to do is: request a receipt from Apple’s sandbox server, receive said receipt, verify that the current date is before the expiration date, if the current date is less, unlock premium features.This all works perfectly right after a subscription is purchased successfully, but only for the first few sandbox billing cycles (about 5-10 minutes). Then it reverts to an expiration date of 11-18-2016 on my device, while my coworker’s device reverts to 10-05-2016. The whole set of recent receipts show up from that date as appose to the current date which should be displayed. If the same subscription is again selected, an alert from the App Store server comes up to say that the subscription is currently subscribed, so it seems to be specifically an issue with the returned receipt or my request for receipts.Any help would be much appreciated.Example:After a successful purchase, this is the receipt I receive:{
"expires_date" = "2016-12-03 01:08:07 Etc/GMT";
"expires_date_ms" = 1480727287000;
"expires_date_pst" = "2016-12-02 17:08:07 America/Los_Angeles";
"is_trial_period" = false;
"original_purchase_date" = "2016-12-03 01:03:07 Etc/GMT";
"original_purchase_date_ms" = 1480726987000;
"original_purchase_date_pst" = "2016-12-02 17:03:07 America/Los_Angeles";
"original_transaction_id" = 1000000247286393;
"product_id" = "***.XXXXXX.XXXX";
"purchase_date" = "2016-12-03 01:03:07 Etc/GMT";
"purchase_date_ms" = 1480726987000;
"purchase_date_pst" = "2016-12-02 17:03:07 America/Los_Angeles";
quantity = 1;
"transaction_id" = 1000000255950331;
"web_order_line_item_id" = 1000000033811551;
}Then as I checked between renewals, before the previous receipt expired, I received this one:{
"expires_date" = "2016-11-18 19:41:13 Etc/GMT";
"expires_date_ms" = 1479498073000;
"expires_date_pst" = "2016-11-18 11:41:13 America/Los_Angeles";
"is_trial_period" = false;
"original_purchase_date" = "2016-11-18 19:35:22 Etc/GMT";
"original_purchase_date_ms" = 1479497722000;
"original_purchase_date_pst" = "2016-11-18 11:35:22 America/Los_Angeles";
"original_transaction_id" = 1000000251226114;
"product_id" = "***.XXXXXX.XXXX";
"purchase_date" = "2016-11-18 19:36:13 Etc/GMT";
"purchase_date_ms" = 1479497773000;
"purchase_date_pst" = "2016-11-18 11:36:13 America/Los_Angeles";
quantity = 1;
"transaction_id" = 1000000251999961;
"web_order_line_item_id" = 1000000033727556;
}