Contents

purchase(compactJWS:options:)

Processes a purchase for the product.

Declaration

@MainActor func purchase(compactJWS: String, options: Set<AdvancedCommerceProduct.PurchaseOption> = []) async throws -> AdvancedCommerceProduct.PurchaseResult

Parameters

  • compactJWS:

    The compact JSON Web Signature (JWS) string for the operation.

  • options:

    A set of purchase options.

Return Value

The result of the purchase.

Discussion

See Also

Initiating purchases