I'm sending a sandbox receipt to https://sandbox.itunes.apple.com/verifyReceipt and the response I'm getting back has the expires_date in milliseconds.
My request is a POST with body:
{
"receipt-data": "...",
"exclude-old-transactions": true,
"password": "..."
}
And the response includes:
"receipt": {
...
"expires_date_formatted":"2019-05-08 18:37:12 Etc/GMT",
"expires_date_formatted_pst":"2019-05-08 11:37:12 America/Los_Angeles",
"expires_date":"1557340632000",
"transaction_id":"1000000526017377",
"is_in_billing_retry_period":"0"
...
}
The expires_date property is documented as RFC 3339 (here).
What should I do for parsing this? I've seen other receipts that have a proper RFC 3339 date so I don't know if I need to be able to handle both or if this is a temporary problem?
Thanks
-- Steve