Market Pay POS API C# v20
Public Member Functions
fr.marketpay.driver.ITransactionHandler Interface Reference

Public Member Functions

void onTransactionStarted (ITransactionRuntime runtime)
 
void onTransactionStatus (TransactionStatus status)
 
void onDualProcessing (IntermediateTransactionResult intermediateTransactionResult, MutableDualTransactionParams mutableDualTransactionParams)
 

Detailed Description

ECR must implement this interface to react to payment terminal events. Allows aborting the transaction by calling ITransactionRuntime#abort().

Since
0.0.1

Definition at line 9 of file ITransactionHandler.cs.

Member Function Documentation

◆ onDualProcessing()

void fr.marketpay.driver.ITransactionHandler.onDualProcessing ( IntermediateTransactionResult  intermediateTransactionResult,
MutableDualTransactionParams  mutableDualTransactionParams 
)

Called only when the transaction mode is TransactionMode#Dual and card has been read.

Parameters
intermediateTransactionResultCurrent transaction result based on read card data.
mutableDualTransactionParamsParams able to modify during dual processing.
See also
TransactionMode

◆ onTransactionStarted()

void fr.marketpay.driver.ITransactionHandler.onTransactionStarted ( ITransactionRuntime  runtime)

Notifies the ECR that the transaction has been initiated. Provides the ITransactionRuntime object which allow aborting the transaction.

Parameters
runtimeObject for cancelling the transaction. Valid as long as transaction is processed.

◆ onTransactionStatus()

void fr.marketpay.driver.ITransactionHandler.onTransactionStatus ( TransactionStatus  status)

Notifies the ECR about transaction events.

Parameters
statusTransaction status.

The documentation for this interface was generated from the following file: