I'm implementing subscription functionality for the first time in my Flutter app using the in_app_purchase package. After completing development, I'm unable to test the subscription.
What I've done:
- Created a subscription product (premium_monthly) in App Store Connect
- Set up the subscription with proper Product ID, pricing, and details
- Submitted the app for review (as I read that subscriptions need to be submitted with the app for testing)
- The subscription status is currently "Waiting for Review" in App Store Connect
The Problem:
When testing on my device (both TestFlight and local build via flutter run --release), the subscription product is not found. The app throws a storekit_no_response error.
Error Details:
Error fetching products: StoreKit: Failed to get response from platform.Error code: storekit_no_responseProduct IDs not found: [premium_monthly]
Code Implementation:
// SubscriptionService.fetchProducts();
final ProductDetailsResponse response = await _inAppPurchase.queryProductDetails({'premium_monthly'});
// Response:// - productDetails count: 0// - notFoundIDs: [premium_monthly]// - error: StoreKit: Failed to get response from platform.
Are there any additional configuration steps I might be missing? (I also have setup Sandbox account)
