I’m migrating iap other SDK to Revenuekit.
i know that there is no way to check refund status of consumable purchase.
but in non-cosumable case, which user can purchase only one time,
func getRefundCheck() {
Purchases.shared.restorePurchases { customerInfo, error in
if error == nil {
if self.isPremiumActive {
if customerInfo?.entitlementsm"Premium"]?.isActive == false {
self.isPremiumActive = false
}
}
}
}
Is this the right function for me to find refund users?