You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think Receipt#initialize is parsing expires_date as milliseconds, but Apple's validator returns it as three fields (date, date_ms, and date_pst), similar to how it returns purchase_date. Snippet of a raw response from the validator:
Value used to be return as milliseconds, now it's returned as a formatted date
string (with extra fields for milliseconds and PST-formatted date).
Closesnov#17
When I verify receipts for auto-renewable subscriptions, the value for
expires_date
is wrong:I think
Receipt#initialize
is parsingexpires_date
as milliseconds, but Apple's validator returns it as three fields (date, date_ms, and date_pst), similar to how it returnspurchase_date
. Snippet of a raw response from the validator:It looks like at some point Apple standardized how they return their date fields, but
expires_date
is being parsed as ms instead of a date string.The text was updated successfully, but these errors were encountered: