Amadis

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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”.

    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 are not necessary for a manual transaction. However, it can be configured if required and the following callback will be called to ask the user for CVV input.

How to configure cvv?

Ensure that in tag, Application Profile Settings (DF27), byte 2 bit 6 is set to 1.

cvv = “cvv to be entered by user”.

    private byte[] manualEntrySelection() {
        TlvTree tlvTree = TlvTree.Empty();
        tlvTree.AddAscii(ArkosManualEntryTags.cvv, cvv);
        return tlvTree.AsBytes();
    }

  • No labels