-
Notifications
You must be signed in to change notification settings - Fork 305
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
Unable to test with StoreKitConfiguration file OR TestFlight after 4.14.0 #3040
Comments
👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out! |
Hello @nkanetka! The first thing I would recommend if you're using StoreKit config files is re-uploading the Public Certificate to RevenueCat as it might have become obsolete. Additionally, if you've been testing with the same Sandbox account on multiple devices, I'd recommend creating a new Sandbox account and trying again. This will rule out some of the most typical issues, let me know if it works! |
What @MarkVillacampa said ⬆️
We're also working on improving these "invalid receipt" errors from the backend to include additional context so it's more obvious what needs to be done to fix them. Let us know if that works! |
Thanks for the fast reply! I just tried that again (re-generating the Public Certificate and uploading it to the dashboard) and it doesn't look like that changes anything. The certificate has no changes (in the I haven't been using a sandbox account myself (as I've been testing with the simulator) but I just tried with a fresh sandbox account with a fresh install from TestFlight and it still isn't working as intended... |
@NachoSoto @MarkVillacampa Any updates/thoughts? It's been 4 days now without any reply. Your suggestions DO NOT ❌ fix the issues that we have... |
Hello @nkanetka We're still checking for possible issues when using StoreKit config files. Will report back once we have news. Regarding using Sandbox accounts, there is a subtle caveat: Testflight builds do not use the Sandbox account you have configured in the App Store, instead they use your real Apple ID but no real purchases are performed. Unfortunately, there is no way to reset purchase history for Testflight purchases. The way to use a Sandbox account when testing purchases is to run your app directly from Xcode, or use a local debug build. You will notice the purchase alert says [Environment: Sandbox]. Can you test using a Sandox account this way? ![]() |
Unfortunately we're unable to test locally without a StoreKit config file or on a device because we have different bundle ID's for our apps (for development and testing). When using the TestFlight build I am able to make a "sandbox" purchase, however no one on our team has been able to get out free trial banner to appear and looking at the free trial check, it's always returning So I guess to summarize the issues:
|
We recently ran into an issue where we were rejected on the AppStore for a receipt validation issue. I knew our StoreKitConfiguration file wasn't working so I've been investigating for a few weeks and ended up looking at the receipt thats generated. It looks the issue in Xcode is that we were using a different bundle ID than the one in the Revenue Cat dashboard. Any suggestions for how to deal with different bundle ID's? We have a few (one for development, staging and production) and it would be nice to not have to manually change the bundle ID every time we need to test the app. Also regarding the AppStore rejection, any thoughts? My current theory is that tester hit the 100 receipt limit but I have no way of verifying that... |
For us this issue ( |
Describe the bug
A weird bug started appearing for us after we upgraded the RC iOS SDK from 4.6.1. Initially we noticed we were unable to test sandbox purchases with TestFlight builds. We figured this was just a bug on Apple's end and tried testing with our StoreKitConfiguration file that we have. We have an introductory offer in the StoreKitConfiguration file and that isn't appearing. Additionally, when you make a purchase with the configuration file it gives you an error that,
We are unable to process your subscription at this time. Please try again later!"
. I went through the different SDK versions and determined that the configuration file last works with 4.14.0 (though we have another issue seemingly related to the SDK where CI breaks with that build when running unit tests).usesStoreKit2IfAvailable(true)
)Purchases.logLevel = .verbose
will help us debug this issue.Other information (e.g. stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc.)
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: