     purchases.purchase(product: skp, discount: paymentDiscount) { _, _, _, _  in }
     purchases.purchase(package: pack, discount: paymentDiscount) { _, _, _, _  in }
     purchases.invalidateCustomerInfoCache()
-
-    if #available(iOS 13.0, tvOS 13.0, macOS 10.15, watchOS 6.0, *) {
-        Task.init {
-            let (_, _, _): (SKPaymentTransaction, CustomerInfo, Bool) =
-            try await purchases.purchase(product: skp, discount: paymentDiscount)
-            let (_, _, _): (SKPaymentTransaction, CustomerInfo, Bool) =
-            try await purchases.purchase(package: pack, discount: paymentDiscount)
-            let _: [String: IntroEligibility] = await purchases.checkTrialOrIntroductoryPriceEligibility([String]())
-            let _: SKPaymentDiscount = try await purchases.paymentDiscount(forProductDiscount: productDiscount,
-                                                                           product: skp)
-        }
-    }
 
 #if os(iOS) || targetEnvironment(macCatalyst)
     let beginRefundRequestCompletion: (RefundRequestStatus, Error?) -> Void = { _, _ in }

          forceUniversalAppStore, simulatesAskToBuyInSandbox, sharedPurchases, isPurchasesConfigured)
}

// swiftlint:disable:next function_body_length
private func checkPurchasesPurchasingAPI(purchases: Purchases) {
    purchases.getCustomerInfo { _, _ in }
    purchases.getOfferings { _, _ in }
    purchases.getProducts([String]()) { _ in }

    if #available(iOS 13.0, tvOS 13.0, macOS 10.15, watchOS 6.0, *) {
        Task.init {
            let _: CustomerInfo = try await purchases.customerInfo()
            let _: [SKProduct] = await purchases.products([String]())
            let _: Offerings = try await purchases.offerings()
        }
    }

    let skp: SKProduct = SKProduct()
    let productDiscount: SKProductDiscount = SKProductDiscount()
    let paymentDiscount: SKPaymentDiscount = SKPaymentDiscount()

    checkPurchasesSubscriberAttributesAPI(purchases: purch)
    checkPurchasesPurchasingAPI(purchases: purch)
    checkPurchasesSupportAPI(purchases: purch)

    if #available(iOS 13.0, tvOS 13.0, macOS 10.15, watchOS 6.0, *) {
        _ = Task.init {
            await checkAsyncMethods(purchases: purch)
        }
    }
}

var periodType: PeriodType!
