doAuthorisation(final Long, final List< IKeyValue >, final List< IKeyValue >, final Long) method

Syntax

boolean doAuthorisation ( final Long authId , final List< IKeyValue > unstructuredDataRequest , final List< IKeyValue > unstructuredDataResponse , final Long actorId ) throws MobiliserServiceException, DataAccessException, TransactionException

Parameters

Returns

true if this authorization should be auto captured

Exceptions

Usage

Perform the actual authorization for the given authorization sub-transaction.

Notes on transactional semantics:

If a business logic exception occurs, a

MobiliserServiceException

will be thrown and the database transaction committed. If the the cause stems from the underlying payment handler, both the main

Transaction

and the

Authorisation

transaction will be failed. Any other exception will trigger a rollback of the database transaction followed by a fresh transaction inside of which the

Authorisation

transaction will be marked with an error code.

true if this authorization should be auto captured