RevenueCat / purchases-ios

In-app purchases and subscriptions made easy. Support for iOS, watchOS, tvOS, macOS, and visionOS.
https://www.revenuecat.com/
MIT License
2.2k stars 294 forks source link

No access to transaction when using paywall UI #4007

Open Jeehut opened 5 days ago

Jeehut commented 5 days ago

Describe the bug I'd like to report successful purchases to an analytics service but it seems I have no access to the successful StoreKit.Transaction when I use the paywall UI features. When using my own paywall UI I get the transaction wrapped into a RevenueCat type which also has access to sk2Transaction to get the native StoreKit type. But the purchaseCompleted closure on paywall UI's does not contain a transaction. Please add one, it's lacking. Thank you!

RCGitBot commented 5 days ago

👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!

nyeu commented 1 day ago

Hi @Jeehut,

Thank you so much for your suggestion. It makes sense to match the closures so we've added it to our backlog. I can't provide you with an ETA but I'll let you know when it's released.

Best,