Showing wrong expire date in sandbox in app purchase

I have set 1 week subscription in portal, when i request for receipt validation it's showing 3 min difference rather than 1 week
i have shown the json responce of validation receipt bellow

{

"expires_date" = "2019-10-31 06:04:35 Etc/GMT";

"expires_date_ms" = 1572501875000;

"expires_date_pst" = "2019-10-30 23:04:35 America/Los_Angeles";

"is_in_intro_offer_period" = false;

"is_trial_period" = false;

"original_purchase_date" = "2019-10-31 06:01:35 Etc/GMT";

"original_purchase_date_ms" = 1572501695000;

"original_purchase_date_pst" = "2019-10-30 23:01:35 America/Los_Angeles";

"original_transaction_id" = 1000000583023242;

"product_id" = "com.brotecs.PhoRing.subscription_tier1";

"purchase_date" = "2019-10-31 06:01:35 Etc/GMT";

"purchase_date_ms" = 1572501695000;

"purchase_date_pst" = "2019-10-30 23:01:35 America/Los_Angeles";

quantity = 1;

"transaction_id" = 1000000586351814;

"web_order_line_item_id" = 1000000047841083;

}

Replies

Subscription times in the sandbox are shortened

https://help.apple.com/app-store-connect/#/dev7e89e149d

thanks

one month subscription would expire in 5 minutes when you test it in sandbox environment. if you want to write/test some code around this, try to do within 5 mins.
     1 week = 3 minutes
     1 month = 5 minutes
     2 months = 10 minutes
     3 months = 15 minutes
     6 months = 30 minutes
     1 year = 1 hour