Upon starting out a MOTO transaction, there will be one or more callback that requires additional user input depending on your config.
Below are the corresponding callbacks:
private byte[] manualEntrySelection()
private byte[] cvvEntry()
manualEntrySelection()
The first callback will ask the user for PAN Number and Expiration date.
cardNumber
= “PAN number to be entered by user”.
expirationDate
= “Expiration Date of the card to be entered by user”.
Code Block |
---|
private byte[] manualEntrySelection() {
TlvTree tlvTree = TlvTree.Empty();
tlvTree.AddAscii(ArkosManualEntryTags.cardNumber, cardNumber);
tlvTree.AddAscii(ArkosManualEntryTags.expirationDate, expirationDate );
return tlvTree.AsBytes();
} |
cvvEntry()
The Card Validation Digits is not necessary for a manual transaction. However, it can be configured if required and the following callback will be called to ask user for cvv input.
cvv
= “cvv to be entered by user”.
Code Block |
---|
private byte[] manualEntrySelection() {
TlvTree tlvTree = TlvTree.Empty();
tlvTree.AddAscii(ArkosManualEntryTags.cvv, cvv);
return tlvTree.AsBytes();
} |