Hello RevenueCat Team,
I am currently working on integrating the RevenueCat REST API v2 into our backend systems. During testing in the sandbox environment, I’ve encountered an issue where the /subscriptions endpoint returns an empty items array, even customer object has valid entitlements in Sandbox. This behavior is not limited to subscriptions integrated via Stripe like the post “REST v2 subscriptions empty in sandbox”; it also occurs with subscriptions made through StoreKit.
This issue has been previously discussed in the community before. However, the problem persists and significantly impacts our development workflow.
The inability to retrieve sandbox subscription data via the v2 API hinders our ability to manage and verify user subscription statuses during testing. Consequently, we are compelled to rely on the deprecated v1 API for this functionality, which is not ideal for maintaining a modern and efficient codebase.
We kindly request that the RevenueCat team consider extending support for sandbox subscription data in the v2 API’s /subscriptions endpoint. This enhancement would greatly facilitate testing and development processes, ensuring consistency across environments and reducing dependency on outdated API versions.
Additionally, if there are any current workarounds or best practices to retrieve sandbox subscription data using the v2 API, we would greatly appreciate it if you could share them. This information would be invaluable in helping us navigate this issue until a permanent solution is implemented.
Thank you for your attention to this matter. We look forward to your response and any updates regarding this feature request.
Best regards,
Haya