Interface ITransactionFinishedListener
-
public interface ITransactionFinishedListenerThis interface is used to receive notification of the result after calling methodChipDnaMobile.startTransaction(Parameters).Register listener using
ChipDnaMobile.addTransactionFinishedListener(ITransactionFinishedListener).- Author:
- Creditcall Ltd
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonTransactionFinishedListener(Parameters parameters)Invoked after transaction processing is finished.
-
-
-
Method Detail
-
onTransactionFinishedListener
void onTransactionFinishedListener(Parameters parameters)
Invoked after transaction processing is finished.- Parameters:
parameters-Parameterscollection which can contain:ParameterKeys.AcquirerResponseCodeThe acquirer response code.ParameterKeys.AmountAmount in minor units e.g. "123" for GBP1.23.ParameterKeys.AmountOnlineAuthorizedThe amount authorized online, in minor units e.g. "123" for GBP1.23.ParameterKeys.AuthCodeAlpha numeric authorization code, up to 12 characters.ParameterKeys.CardEaseReferenceUnique GUID generated for a transaction if the authorization was submitted online to the NMI payment platform.ParameterKeys.CardHashCollectionlist of tokens generated by NMI payment gateway and or payment device that can be used to identify a card without the PAN. Value in XML format representing List ofCardHash, deserialize into object usingChipDnaMobileSerializer.deserializeCardHashes(String).ParameterKeys.CardReferenceThe unique reference generated by the NMI payment gateway that can be used to identify a card without using the PAN.ParameterKeys.CardSchemeIdTheCardSchemeIdEnum.ParameterKeys.CurrencyThe 3-char currency code.ParameterKeys.MaskedPanMasked primary account number showing only the first 6 (if available) and last 4 digits.ParameterKeys.PaymentMethodThe payment method;ParameterValues.Card,ParameterValues.Cash, orParameterValues.Cheque.ParameterKeys.PreformattedCustomerReceiptPreformatted receipt text, customer copy.ParameterKeys.PreformattedMerchantReceiptPreformatted receipt text, merchant copy.ParameterKeys.ReceiptDataserialized receipt data in XML format. The data can be deserialized into an NSDictionary usingChipDnaMobileSerializer.deserializeReceiptData(String). The deserialized NSDictionary will have the stringChipDnaMobileSerializer.ReceiptItemTagas keys andReceiptFieldobjects as values.ParameterKeys.UserReferenceUnique reference of the transaction supplied by the integrating application.ParameterKeys.TransactionDateTimeLocal date and time of the transaction.ParameterKeys.TransactionDateTimeUtcUTC date and time of the transaction.ParameterKeys.DateTimeFormatFormat of the date and time inParameterKeys.TransactionDateTimeorParameterKeys.TransactionDateTimeUtc.ParameterKeys.TransactionResultThe result of the transaction authorization. Can beParameterValues.Approved,ParameterValues.PartiallyApprovedorParameterValues.Declined.ParameterKeys.TransactionStateTransaction state. Value can beParameterValues.Uncommitted,ParameterValues.Voidedor ,ParameterValues.UncommittedVoid.ParameterKeys.TransactionTypeThe transaction type.ParameterValues.Sale,ParameterValues.RefundorParameterValues.AccountVerification.ParameterKeys.MerchantNameMerchant name is returned for Cash and Cheque transactions.ParameterKeys.CustomerVaultIdThe identifier for the customer's vault.ParameterKeys.TransactionIdThe identifier for transactions using the payment gateway.ParameterKeys.ErrorsComma separated errors encountered during transaction processing.ParameterKeys.ParPayment Account Reference, alpha numeric reference that is 29 characters in length.ParameterKeys.EncodedRequestDelayed online processing payload returned as an encoded request.ParameterKeys.CardTokensList of card tokens generated by NMI payment gateway. Value in XML format representing a list ofCardToken, deserialize into object usingChipDnaMobileSerializer.deserializeCardTokens(String).
-
-