Syntax
final void
preAuthorise
(
final TransactionData
txnData
,
final PaymentMode
paymentMode
) throws UnsupportedOperationException, PaymentHandlerException
Parameters
-
txnData –
the transaction data
-
paymentMode –
the payment mode
Exceptions
-
UnsupportedOperationException –
if pre-authorization is not supported. The payment broker will interpret this as a successful pre-authorization
-
PaymentHandlerException –
if anything went wrong and the transaction failed.
Usage
Performs a non-committal pre-authorization for the specified transaction.