Hi all,
I’ve implemented readyForPromotedProduct (former shouldPurchasePromoProduct) method of PurchasesDelegate so that the user can select a promoted subscription straight from the App Store and be redirected to in-app payment sheet.
I’m trying to test the implementation using the link as per the documentation:
itms-services://?action=purchaseIntent&bundleId=<BUNDLE_ID>&productIdentifier=<SKPRODUCT_ID>
The link redirects me to the app, but no payment sheet appears. The console shows me an error:
Tried to send purchase intent: <SKPRODUCT_ID> to delegate, delegate does not respond to method paymentQueue:shouldAddStorePayment:forProduct
By the way, Purchases.configure has already been called and Purchases.shared.delegate = self set before, I’m basically opening the link with the app already being active. Another method of PurchaseDelegate func purchases(_ purchases: Purchases, receivedUpdated purchaserInfo: RevenueCat.CustomerInfo) is working with no issues.
Any ideas what’s going on?
RevenueCat 4.12.1, iOS 16.0, testing on a physical device