russell-archer / StoreHelper

Implementing In-App Purchases with StoreKit2 in Xcode 13 - 15 using SwiftUI, Swift 5.7 - 5.9, iOS 15 - 17 and macOS 12 - 14. Also supports tvOS and visionOS.
MIT License
410 stars 48 forks source link

Log clashes for different transactions due to missing transactionID in TransactionLog #60

Closed smartinrub closed 1 month ago

smartinrub commented 1 year ago

I think the transactionID should be included in the the TransactionLog, otherwise a particular event for a particular product only logs the first transaction.

Here is where the TransactionLog is created: let t = TransactionLog(notification: event, productId: productId)

This can be easily reproduced on Xcode with a short renewal rate.

russell-archer commented 9 months ago

Will add as an enhancement!

russell-archer commented 1 month ago

Will not make these changes as I'm developing a more modern, lightweight StoreKit helper that is based around StoreKit Views. Details to follow.