FILTER BY TAG

Incremental Authorization

Use this information to process an incremental authorization. This transaction can be applied to a pre-authorization request to increase the authorized amount before it is captured.
Follow these steps to process an incremental authorization.
  1. Use the
    incrementTransaction
    method to initiate the transaction flow.
    let increment = await mposUi.incrementTransaction(withID: "transactionIdentifier", withAmount: (Decimal(1.00), .USD))
  2. After the transaction is completed, get the results of the transaction.
    switch increment { case .success(let transaction): print("Transaction with id: %@ completed with state: %@", transaction.identifier, transaction.status) case .cancelledByUser: print("Transaction canceled.") case .error(let developerInfo): print("Transaction failed. Info: %@", developerInfo) }
  3. To get complete transaction details, access the
    transaction
    object.