FILTER BY TAG

Sale

Use this information to process a sale transaction. This transaction combines an authorization and a capture into a single transaction.
When an internet connection is not available, you can use the Store and Forward feature to process offline sale and stand-alone credit transactions.
  1. Create a
    ChargeParameters
    object and call
    startChargeTransaction(with:)
    .
    // Throws MposUIReaderError.notActivated if device is not activated let online = try await reader.mposUIOnline() let chargeParameters = ChargeParameters(amount: Decimal(1.00), currency: .USD, customIdentifier: "yourReferenceForTheTransaction") let charge = await online.startChargeTransaction(with: chargeParameters) switch charge { case .success(let transaction): print("Transaction successful: \(transaction.identifier)") case .failure(let error): print("Transaction failed: \(error)") @unknown default: break }