Generating a Transaction Token for Manual card Entry

Follow these steps to generate a transaction token for manual card entry:

1

Add an object to implement the ManualEntry interface.

2

Implement the HasManualTokenizingSupport interface.

The following methods now include:

//Returns a successful transaction token
void successfulTransactionToken(TransactionToken transactionToken);

//Handle errors related to the card.
void handleCardProcessingResponse(CardProcessingResponse cardProcessingResponse);

//Handle errors related to the manual entry request.
void handleManualEntryError(String message);
3

Add the ManualCardTokenizer object.

manualCardTokenizer = new ManualCardTokenizerImpl(this);
4

Call the createTransactionToken method including your card object.

manualCardTokenizer.createTransactionToken(manualEntry);

Last updated