Contextual closure type '@MainActor @Sendable (CustomerInfo) -> Void' expects 1 argument, but 2 were used in closure body
.onPurchaseCompleted { customerInfo, storeTransaction in
print("Purchase Completed: \(customerInfo.entitlements)")
I’m trying to get the original transaction ID from an ios subscription purchase using consumerInfo in revenue Cat but consumer info is found in the package. Need the original transaction ID to match to my backend. Any ideas on how to this?
Thanks!