Hi,
I am integrating RevenueCat in my app and currently testing monthly subscriptions using the Test Store.
I tried using the REST V2 api to get the customer’s active entitlements on my backend server. It gives proper response most of the time but during the process of renewal, for about a minute, I get an empty response for active entitlements.
“items”: []
So let’s say I made a purchase at 10:00AM, here is the series of observations:
First purchase → 10:00AM to about 10:04AM - active entitlements present
At around 10:04AM → Set for renewal → Active entitlements empty
~10:05AM → Renewal → active entitlements present
This repeats until the subscription is cancelled automatically after 5 times.
I am using this endpoint:
https://api.revenuecat.com/v2/projects/{project_id}/customers/{customer_id}/active_entitlements
Is this an expected behaviour? If yes, then, is the REST api a reliable source of active entitlements?
Thanks,
Abhi
Question
Test store renewals - API returns empty entitlements momentarily in between renewals
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
