PiLink 1.1.1

dotnet add package PiLink --version 1.1.1
                    
NuGet\Install-Package PiLink -Version 1.1.1
                    
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="PiLink" Version="1.1.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="PiLink" Version="1.1.1" />
                    
Directory.Packages.props
<PackageReference Include="PiLink" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add PiLink --version 1.1.1
                    
#r "nuget: PiLink, 1.1.1"
                    
#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.
#:package PiLink@1.1.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=PiLink&version=1.1.1
                    
Install as a Cake Addin
#tool nuget:?package=PiLink&version=1.1.1
                    
Install as a Cake Tool

Payment Innovators

Copyright © 2020–2022

Pi Link DLL provides a .NET library to integrate with Pi Plus.
It allows a simple implementation of Pi Plus in both card-present and card-not-present environments using a single library reference.


Anatomy

PiLink contains a primary class called PiPlusLink, which includes all required objects, methods, and supporting classes.


Methods

LaunchPiPlus

This public method initializes and instantiates all required objects and classes.

LaunchPiPlus()

Supported Transaction Types

creditsale
creditauth
creditreturn
gettoken
creditcapture
creditvoid
creditadjust
paynow
payform
paystatus
paycancel

Transaction Methods

  • CreditSale() – Performs a credit sale transaction
  • CreditAuth() – Performs a credit authorization transaction
  • CreditReturn() – Performs a credit return transaction
  • CreditVoid() – Performs a credit void transaction
  • CreditCapture() – Performs a credit capture on an authorization
  • CreditAdjust() – Performs a credit adjust transaction
  • GetToken() – Performs a request token transaction
  • PayNow(string server = "live") – Returns a card-on-file payment link
  • PayForm(string server = "live") – Returns a Hosted Payment Form link
  • PayStatus() – Returns transactions for a selected date range

Use "stage" as the server value while testing.


Installation

Requirements

  • .NET Framework 4.7 or higher

Installation Steps

  1. Download PiLink.dll.
  2. Copy it to your development system.
  3. In Visual Studio, right-click your project → Add → Existing Item.
  4. Select PiLink.dll.
  5. Set Copy to Output Directory to Copy always.

Usage Example

using PiLink;

PiPlusLink myLink = new PiPlusLink();
myLink.LaunchPiPlus();

myLink.transFields.Amount = 10.00;
myLink.transFields.Ticket = "INV-1001";

bool success = myLink.CreditSale();

Support

For more information, visit: https://paymentinnovators.com

Product Compatible and additional computed target framework versions.
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in 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.