piconnect.dll 3.2.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package piconnect.dll --version 3.2.0                
NuGet\Install-Package piconnect.dll -Version 3.2.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="piconnect.dll" Version="3.2.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add piconnect.dll --version 3.2.0                
#r "nuget: piconnect.dll, 3.2.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install piconnect.dll as a Cake Addin
#addin nuget:?package=piconnect.dll&version=3.2.0

// Install piconnect.dll as a Cake Tool
#tool nuget:?package=piconnect.dll&version=3.2.0                

How to use PIConnect DLL:

Requirements: 1- A PAX semi-integrated payment terminal ( PAX S300 is recommended). 2- Proper configuration of your PAX terminal. Visit http://paymentinnovators.com/merchants-2/pi-connect-dll/ .

Important:

Please visit PI Technologies website and request a free developer account number:

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.

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 = "00")
  • 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)
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.4.0 1,407 2/8/2018
3.2.0 1,325 12/17/2017

This version includes majority of transaction types such as Credit, Debit and EBT.