confirm

fun confirm(confirmation: SDKConfirmationJson)


fun confirm(confirmation: SDKConfirmation.Sale)

Deprecated

This method will be removed in the future

Replace with

confirm(SDKConfirmationJson)

Parameters

confirmation

: To confirm going online an SDKSaleConfirmation must be provided with the following information merchant: data of merchant doing the transaction establishment: data of establishment where transaction is taking place ticketNumber: Tiket number, must be a string "number" between '0000' and '9999' terminalId transaction's TerminalId fallbackEnabled defines if fallback is enabled for this transaction refNumber: Transaction ID. Must be UNIQUE additionalCardData: Additional card data (Brand, Type, and CVV) taxes: taxes for this sale installments: number of installments of this sale. Optional, if none is passed, will use 1 as default paymentPlan: playmentPlan code identifier. Option. If none is passed, will use "0" as default accountType: Optional, only for colombian market

After calling this method, it won't be possible to abort the transaction

Throws

is called after transaction is aborted

if called more than once