Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
breakoutModewide
languagecpp
typedef struct {
tOutCome mOutCome;

tStartingPoint mStartingPoint;
tOnlineResponseData mOnlineResponseData;
tCVM mCVM;
tBoolean mUIReqOnOutcomePresent; // If bTRUE, found in DataExchange
tBoolean mUIReqOnRestartPresent; // If bTRUE, found in DataExchange
tBoolean mReceipt;
tBoolean mDRPresent;	// Data record. If present, found in DataExchange
tBoolean mDDPresent;	// Discretionary Data. If present, found in DataExchange
tAlternateInterfacePreference mAlternateInterfacePreference;
tWord mFieldOffReq;
tWord mRemovalTimeout;

} tOutComeParameter;

Primitives

Names

Comments

Initialization

pmwGetPaymentMiddlewareVersionNumber

Get AgnosMW version

pmwGetKernelVersion

Get EMV core engine version

pmwInitializePaymentContext

Shall be called before any new transaction

pmwIntializeOutComeParameter

Shall be called before any new transaction

dtmInitializeFromFile

Agnos uses three files to persit the data model:

  • TERMINAL

  • PROCESSING

  • ENTRY_POINT

Use this primitive ahead any transaction flow in order to initialize the transient data model.

Data Model

dtmSetTransactionalContext

dtmSetData

  • TERMINAL_CTX

  • CONTACT_PROCESSING_CTX

  • CONTACTLESS_PROCESSING_CTX

  • ENTRY_POINT

dtmGetData

  • TERMINAL_CTX

  • CONTACT_PROCESSING_CTX

  • CONTACTLESS_PROCESSING_CTX

  • ENTRY_POINT

EMV Selection

pmwProceedToUniversalFinalSelection

Proceed to standard final selection following EMVCo specs. This function call can be overloaded in CT and hooked in contactless in order to implement specific selection logic (US, Canada, France)

Others

dtmSelectCTKernel

pmwSetEMVResult

Set EMV parameters after a transaction (see tPaymentContext)within tPaymentContext based on Agnos status

pmwCloseSession

Close Agnos session