Skip to main content
Question

Error 2: there was a problem with the app store

  • December 19, 2024
  • 1 reply
  • 113 views

Forum|alt.badge.img

I'm working with flutter, using an apple sandbox account. According to the logs, everything seems to be working fine.

PROBLEM - 1
But after clicking the paywall and logging in the sandbox credentials, I get this error 2: there was a problem with the app store

How do I resolve this?

PROBLEM - 2
In the iPhone emulator, after clicking on paywall, the Apple login modal works, but when I create a build for TestFligh on my iPhone, after clicking on paywall, nothing happens. What could be causing this?

PROBLEMA - 3
After clicking on the paywall to purchase a plan, shouldn't the package purchase mode automatically open in the simulator? All that appears to me is a modal to log in with apple credentials.
 

flutter: 🏠 DEBUG: Starting HomeScreen
flutter: πŸ›οΈ DEBUG: Checking premium access
flutter: πŸ›οΈ DEBUG: Checking if RevenueCat is configured...
flutter: πŸ›οΈ DEBUG: Do you have premium access? false
flutter: πŸ›οΈ DEBUG: Entitlements active: {}
flutter: πŸ›οΈ DEBUG: All entitlements: {}
flutter: πŸ›οΈ DEBUG: Searching for available offers...
flutter: πŸ›οΈ DEBUG: Packages found: 2
flutter: πŸ›οΈ DEBUG: Package details:
flutter: πŸ›οΈ DEBUG: - Package ID: $rc_weekly
flutter: πŸ›οΈ DEBUG: - Product ID: 01
flutter: πŸ›οΈ DEBUG: - Title: Weekly Plan
flutter: πŸ›οΈ DEBUG: - Description: Exclusive access for 7 days
flutter: πŸ›οΈ DEBUG: - Price: $3.99
flutter: πŸ›οΈ DEBUG: - Type: PackageType.weekly
flutter: πŸ›οΈ DEBUG: - Package ID: $rc_monthly
flutter: πŸ›οΈ DEBUG: - Product ID: 02
flutter: πŸ›οΈ DEBUG: - Title: Monthly Plan
flutter: πŸ›οΈ DEBUG: - Description: Exclusive access for 30 days
flutter: πŸ›οΈ DEBUG: - Price: $12.99
flutter: πŸ›οΈ DEBUG: - Type: PackageType.monthly
flutter: πŸ›οΈ DEBUG: Trying to show paywall...

This post has been closed for comments

1 reply

jeffrey_bunn
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 277 replies
  • December 23, 2024

Hi ​@maikelgalvao! We’ve compiled the typical reasons you might experience error 2 here - it indicates there was a problem connecting to the App Store. It sounds like you’re mainly testing in Simulator - have you tested the purchase flow in the Sandbox? Doing so (before uploading to TestFlight) will give you additional debug logs that should give a hint as to the cause of this issue. We also generally recommend testing in the Sandbox vs the Simulator, so if you can give it a try and share any additional errors, that would be helpful.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings