-
Notifications
You must be signed in to change notification settings - Fork 316
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
StoreKit 2 - Promotional Offers - .invalidOfferSignature error. Can't purchase any offer. #2114
Comments
👀 SDKONCALL-182 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out! |
Thanks for the report! |
Fixes [SDKONCALL-160], [SDKONCALL-182], #2114, and RevenueCat/react-native-purchases#455. Depends on #2118 and https://github.com/RevenueCat/khepri/pull/4843 / https://github.com/RevenueCat/khepri/pull/4852. ## Changes: - Base64decode `signature` - Fixed signature on backend for SK2: https://github.com/RevenueCat/khepri/pull/4843 / https://github.com/RevenueCat/khepri/pull/4852 - Added tests - Added specific error if signature can't be decoded: > [Purchases] - ERROR: 😿‼️ The information associated with this PromotionalOffer is not valid. See https://rev.cat/ios-subscription-offers for more info. The signature generated by RevenueCat could not be decoded: signature 914 [SDKONCALL-160]: https://revenuecats.atlassian.net/browse/SDKONCALL-160?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ [SDKONCALL-182]: https://revenuecats.atlassian.net/browse/SDKONCALL-182?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
The fix for this is out on the latest release 🎉 |
This issue has been automatically locked due to no recent activity after it was closed. Please open a new issue for related reports. |
Describe the bug
Our RevenueCat SDK is configured like this and
usesStoreKit2IfAvailable
is set tofalse
Then we did implemented Promotional Offers feature following steps described in RC: iOS Subscription Offers
Basically:
All worked fine, we have this in production app and all is good there. But, we want to move to StoreKit 2 and by just changing our SDK configuration code to:
That is setting
usesStoreKit2IfAvailable
totrue
- we can't purchase ANY promotional offer, always getting the same error:useStoreKit2IfEnabled(false)
) (Y/N): YThe text was updated successfully, but these errors were encountered: