Direct Payment Integrator V6 - Online Help
Direct Payment Integrator V6
Questions / Feedback?

DeactivateDevice Method

Deactivates a POS terminal.

Syntax

[VB.NET]
Public Sub DeactivateDevice()
[C#]
public void DeactivateDevice();

Remarks

DeactivateDevice is used to deactivate a previously activated terminal identified by GenKey.

The following Merchant fields are applicable when calling this method:

The following additional properties are also applicable:

After calling this method check Code and confirm it is "A3" to indicate the deactivation succeeded. The following Response fields are populated:

DeactivateDevice Example:

TSYSTerminalMgr1.Merchant.BankId = "999999";
TSYSTerminalMgr1.Merchant.CategoryCode = "9999";
TSYSTerminalMgr1.Merchant.Name = "TESTMERCHANT";
TSYSTerminalMgr1.Merchant.Number = "888000002447";
TSYSTerminalMgr1.Merchant.StoreNumber = "5999";
TSYSTerminalMgr1.Merchant.TerminalNumber = "1234";
TSYSTerminalMgr1.Merchant.Zip = "27516";
TSYSTerminalMgr1.Merchant.ServicePhone = "6023337807";
TSYSTerminalMgr1.TransactionNumber = 1234;
TSYSTerminalMgr1.GenKey = "MY_GEN_KEY";
TSYSTerminalMgr1.DeactivateDevice();

if (TSYSTerminalMgr1.Response.Code == "A3") //deactivated
  //...

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 6.0.6240.0