piconnect.dll 3.4.0

PIConnect DLL is a small, fast an accurate collection of methods and functions required to utilize semi-integration technology in PAX devices.

Install-Package piconnect.dll -Version 3.4.0
dotnet add package piconnect.dll --version 3.4.0
<PackageReference Include="piconnect.dll" Version="3.4.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add piconnect.dll --version 3.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

How to use PIConnect DLL:

Important:

Please visit PI Technologies website and request a free developer account number. You may use 1502122693 to start your work:

http://paymentinnovators.com/test-account-request/

PIConnect DLL page below is also a great source of additional information

http://paymentinnovators.com/merchants-2/pi-connect-dll/

1- Start by adding a reference to piconnect.dll in your project.

2- Create an instance of PiPay() class in your code:

    PiPay myClass = new PiPay();

3- Create an instance of PaymentResponse() class:

    PaymentResponse myResp = newPaymentResponse();

4- and finally an instance of DeviceSettings();

    DeviceSettings myDevice = newDeviceSettings();

5- Initialize your instance of DeviceSettings class:

    myDevice.DeviceIp = ip; // IP Address of your PAX device

    myDevice.PortNo = paxPort; // Port number of your PAX device, usually 10009

    myDevice.Timeout = paxTimeout; // A timeout in microseconds. e.g: 30000 (30 seconds)

    myDevice.DeviceSn = sn; // Serial number of your device. You will this on the device.

    myDevice.AccNumber = paxAccount; //your PI Technology account number. Test account number: 1502122693

6- Now, you are ready to make transaction calls. For example, look at the following CreditSale call:

    myClass.DeviceSetting = myDevice;

    myResp = myClass.CreditSale(amount, ticket, signature, notes,token, expdate,cardtype );

    jsonData = JsonConvert.SerializeObject(myResp);

PIConnect DLL supports the following transaction types:

  • CreditSale(double amount, string ticket, Int16 signature = 0, string notes = null, string token=null, string expdate=null, string card=null)
  • CreditVoid(string RefId, string TransNumber, string notes = null)
  • CreditReturn(string RefId, string TransNumber, double amount, string notes = null, string token = null, string expdate = null, string card = null)
  • CreditAdjust(string RefId, string TransNumber, double amount, string notes = null)
  • CreditAuth(double amount, string ticket, string notes = null)
  • CreditCapture(string authCode, string RefId, string TransNumber, double forcedAmount)
  • DebitSale(double amount, string ticket, string notes = null)
  • DebitVoid(string RefId, string TransNumber, string notes = null)
  • DebitReturn(string RefId, string TransNumber, double amount, string notes = null)
  • CloseBatch()
  • ClearBatch()
  • InitializePinPad()
  • LastBatch()
  • PurgeBatch()
  • ForceBatchClose()
  • TotalReport(string edcType = &quot;00&quot;)
  • FailedReport()
  • DetailsReport(string tranactionNo, string authCode)
  • GetCardInfo()
  • EbtSale(double amount, string ticket, string notes = null)
  • EbtReturn(string RefId, string TransNumber, double amount, string notes = null)

More examples:

CloseBatch:

PiPay myClass = newPiPay();

BatchResponse myResp = newBatchResponse();

DeviceSettings myDevice = newDeviceSettings();

myClass.DeviceSetting = myDevice;

myResp = myClass.CloseBatch();

jsonData = JsonConvert.SerializeObject(myResp);

How to use PIConnect DLL:

Important:

Please visit PI Technologies website and request a free developer account number. You may use 1502122693 to start your work:

http://paymentinnovators.com/test-account-request/

PIConnect DLL page below is also a great source of additional information

http://paymentinnovators.com/merchants-2/pi-connect-dll/

1- Start by adding a reference to piconnect.dll in your project.

2- Create an instance of PiPay() class in your code:

    PiPay myClass = new PiPay();

3- Create an instance of PaymentResponse() class:

    PaymentResponse myResp = newPaymentResponse();

4- and finally an instance of DeviceSettings();

    DeviceSettings myDevice = newDeviceSettings();

5- Initialize your instance of DeviceSettings class:

    myDevice.DeviceIp = ip; // IP Address of your PAX device

    myDevice.PortNo = paxPort; // Port number of your PAX device, usually 10009

    myDevice.Timeout = paxTimeout; // A timeout in microseconds. e.g: 30000 (30 seconds)

    myDevice.DeviceSn = sn; // Serial number of your device. You will this on the device.

    myDevice.AccNumber = paxAccount; //your PI Technology account number. Test account number: 1502122693

6- Now, you are ready to make transaction calls. For example, look at the following CreditSale call:

    myClass.DeviceSetting = myDevice;

    myResp = myClass.CreditSale(amount, ticket, signature, notes,token, expdate,cardtype );

    jsonData = JsonConvert.SerializeObject(myResp);

PIConnect DLL supports the following transaction types:

  • CreditSale(double amount, string ticket, Int16 signature = 0, string notes = null, string token=null, string expdate=null, string card=null)
  • CreditVoid(string RefId, string TransNumber, string notes = null)
  • CreditReturn(string RefId, string TransNumber, double amount, string notes = null, string token = null, string expdate = null, string card = null)
  • CreditAdjust(string RefId, string TransNumber, double amount, string notes = null)
  • CreditAuth(double amount, string ticket, string notes = null)
  • CreditCapture(string authCode, string RefId, string TransNumber, double forcedAmount)
  • DebitSale(double amount, string ticket, string notes = null)
  • DebitVoid(string RefId, string TransNumber, string notes = null)
  • DebitReturn(string RefId, string TransNumber, double amount, string notes = null)
  • CloseBatch()
  • ClearBatch()
  • InitializePinPad()
  • LastBatch()
  • PurgeBatch()
  • ForceBatchClose()
  • TotalReport(string edcType = &quot;00&quot;)
  • FailedReport()
  • DetailsReport(string tranactionNo, string authCode)
  • GetCardInfo()
  • EbtSale(double amount, string ticket, string notes = null)
  • EbtReturn(string RefId, string TransNumber, double amount, string notes = null)

More examples:

CloseBatch:

PiPay myClass = newPiPay();

BatchResponse myResp = newBatchResponse();

DeviceSettings myDevice = newDeviceSettings();

myClass.DeviceSetting = myDevice;

myResp = myClass.CloseBatch();

jsonData = JsonConvert.SerializeObject(myResp);

Release Notes

This release includes more transaction type, improved features and bug fixes.

Dependencies

This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
3.4.0 319 2/8/2018
3.2.0 408 12/17/2017