Skip to main content
Question

expiration_at_ms is always 0 ?

  • February 16, 2025
  • 2 replies
  • 60 views

Forum|alt.badge.img

Hi there, i am newbie and it is my first time when i do putchase based stuff, please excuse me if i ask dummy questions, so i testing webhooks and i dont understand why expiration_at_ms is always todays date ? It should not be the final day of expiration date ( in this case 12 march ) ? Products has 1 month duration.  And why my purchased_at_ms also shows 1 day before, actually i purchased 3-4 days ago. Is it all because SANDBOX env. or i do something wrong ? I am getting this response ( ss attached ) on my backend and related to this values i do some stuff.  

 

 

This post has been closed for comments

2 replies

Forum|alt.badge.img
  • Author
  • New Member
  • February 16, 2025
{
"api_version": "1.0",
"event": {
"aliases": [
"66ffe5e929e84af79a89dde8"
],
"app_id": "---",
"app_user_id": "66ffe5e929e84af79a89dde8",
"commission_percentage": 0.2542,
"country_code": "AZ",
"currency": "USD",
"entitlement_id": null,
"entitlement_ids": [
"Gold Package"
],
"environment": "SANDBOX",
"event_timestamp_ms": 1739622699795,
"expiration_at_ms": 1739707770000,
"id": "---",
"is_family_share": false,
"is_trial_conversion": false,
"metadata": null,
"offer_code": null,
"original_app_user_id": "66ffe5e929e84af79a89dde8",
"original_transaction_id": "2000000588809814",
"period_type": "NORMAL",
"presented_offering_id": "Gold Package",
"price": 4.99,
"price_in_purchased_currency": 4.99,
"product_id": "64112cb3c884449847eba112",
"purchased_at_ms": 1739621370000,
"renewal_number": 20,
"store": "APP_STORE",
"subscriber_attributes": {
"$attConsentStatus": {
"updated_at_ms": 1730729869456,
"value": "notDetermined"
}
},
"takehome_percentage": 0.7,
"tax_percentage": 0.1525,
"transaction_id": "2000000856207435",
"type": "RENEWAL"
}
}

 


Ryan Glanz
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • February 21, 2025

This is a default sandbox behavior—subscriptions are accelerated for ease of testing

 

You can reconfigure this in Xcode if you’d like to test with full subscription durations (rare)