/// <summary> /// Aborts the transaction. /// </summary> public void AbortTransaction() { PinPadResults results = new PinPadResults( true, (int)OPOSPINPadConstants.PPAD_EFT_ABNORMAL, string.Empty, string.Empty); if (this.EntryCompleteEvent != null) { this.EntryCompleteEvent(this, results); } }
/// <summary> /// OPOS device data event handler. /// </summary> /// <param name="status">The status.</param> private void OnPinPadDataEvent(int status) { PinPadResults results = new PinPadResults( status != (int)OPOSPINPadConstants.PPAD_EFT_NORMAL, status, this.oposPinpad.EncryptedPIN, this.oposPinpad.AdditionalSecurityInformation); this.LastResult = results; if (this.EntryCompleteEvent != null) { this.EntryCompleteEvent(this, results); } }