Amadis

Entry Callbacks

merchantManualEntry()

cardNumber = “PAN number to be entered by user”, a String.

expirationDate = “Expiration Date of the card to be entered by user”, a String (YYMM).

public byte[] merchantManualEntry() { TlvTree tlvTree = TlvTree.Empty(); tlvTree.AddAscii(ArkosManualEntryTags.cardNumber, "45301918312986731"); tlvTree.AddAscii(ArkosManualEntryTags.expirationDate, "2212" ); return tlvTree.AsBytes(); }

 

merchantCVDEntry()

cvv = “cvv to be entered by user”, a String.

public byte[] merchantCVDEntry() { TlvTree tlvTree = TlvTree.Empty(); tlvTree.AddAscii(ArkosManualEntryTags.cvv, "232"); return tlvTree.AsBytes(); }

 

merchantConfirmPartiallyApprovedTransaction()

As explained in the previous document, , if you need to access the transaction context and the required amounts, you can do the same as before, i.e,

 

@Override public boolean merchantConfirmPartiallyApprovedTransaction(DisplayParams displayParams, byte[] bytes) { //get the amount as provided in the snippet below. //display them //return true or false depending on the choice confirmation return true/false; }