Implement an authorization call to the payment card processor interface.
Syntax
abstract void
authorise
(
final Customer
cardHolder
,
final Card
card
,
final Transaction
mainTxn
,
final SubTransaction
subTxn
,
final long
amount
) throws PaymentHandlerException
Parameters
-
cardHolder –
the card holder of this card
-
card –
the clear text card data
-
mainTxn –
the current transaction
-
subTxn –
the current subtransaction, remember setting a payer reference if applicable
-
amount –
the amount that should be charged
Exceptions
-
PaymentHandlerException –
if the payment processor call fails