-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS simulator checkoutl #887
Comments
👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out! |
Hey @TimmyHung, unfortunately in sandbox mode it's expected that it may take several seconds to see the Apple system payment dialog. When calling It seems like you are having another issue where you aren't seeing callbacks after the purchase completes - unfortunately, we'll need debug logs to investigate further. I'd recommend following our guide to getting debug logs enabled, and please send over the logs from app launch through when you've made the purchase: https://docs.revenuecat.com/docs/debugging |
Hmm it kinda weird. I can receive callbacks after the purchase complete in real device(TestFlight not sandbox). |
any news? Purchases.purchasePackage(package) compileted successfully in my case, but not returning anything. repeating payment screen again and again |
@TimmyHung can you try running the app from Xcode directly to see logs? @Lazizbek97 it sounds like you might be experiencing a different issue. I'd recommend opening a support ticket instead of here: https://www.revenuecat.com/docs/support-first-steps |
@codykerns sure! here is the debug logs from Xcode directly(https://streamable.com/ze6xkk). |
Are you using a StoreKit config file on the simulator? Note that this is required. You can read more in our docs: https://www.revenuecat.com/docs/apple-app-store |
I'm having the exact same issue. Did you find a fix yet? @TimmyHung |
I'm having the exact same issue as well. |
Do not remove any of the steps from the template below. If a step is not applicable to your issue, please leave that step empty.
There are a lot of things that can contribute to things not working. Having a very basic understanding of your environment will help us understand your issue faster!
Environment
flutter doctor
Version of
purchases-flutter
6.4.0
Testing device version e.g.: iOS 15.5, Android API 30, etc.
iOS 17.0
How often the issue occurs- every one of your customers is impacted? Only in dev?
Debug logs that reproduce the issue
Steps to reproduce, with a description of expected vs. actual behavior
Other information (e.g. stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc.)
Describe the bug
I have follow the weather change example to create my own paywall.In Android Simulator everything works fine without any issue, but in iOS Simulator when I tried to call out
customerInfo = await Purchases.purchasePackage(widget.offering.availablePackages[_selectedIndex]);
I have to wait roughly 5 seconds to see checkout screen. And after I successfully send the payment in sandbox environment my code stucked, and another checkout screen appeared.So it is imposible to check if a user has checkout successfully.I have record a video (https://streamable.com/q4vhpm).
Additional context ##=
The text was updated successfully, but these errors were encountered: