Skip to main content
Question

Error 2: there was a problem with the app store

  • December 19, 2024
  • 1 reply
  • 158 views

Forum|alt.badge.img+1

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
  • 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.