PetrotecRemotePurchaseTerminalIntegration.Lib 1.0.3

There is a newer version of this package available.
See the version list below for details.
dotnet add package PetrotecRemotePurchaseTerminalIntegration.Lib --version 1.0.3                
NuGet\Install-Package PetrotecRemotePurchaseTerminalIntegration.Lib -Version 1.0.3                
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="PetrotecRemotePurchaseTerminalIntegration.Lib" Version="1.0.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PetrotecRemotePurchaseTerminalIntegration.Lib --version 1.0.3                
#r "nuget: PetrotecRemotePurchaseTerminalIntegration.Lib, 1.0.3"                
#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 PetrotecRemotePurchaseTerminalIntegration.Lib as a Cake Addin
#addin nuget:?package=PetrotecRemotePurchaseTerminalIntegration.Lib&version=1.0.3

// Install PetrotecRemotePurchaseTerminalIntegration.Lib as a Cake Tool
#tool nuget:?package=PetrotecRemotePurchaseTerminalIntegration.Lib&version=1.0.3                

PetrotecRemotePurchaseTerminalIntegration

Overview

The PetrotecRemotePurchaseTerminalIntegration project is designed to integrate a remote purchase terminal solution, certified by Petrotec and compliant with SIBS standards. This integration uses Petrotec.Lib.PetrotecEps library Petrotec's terminals to facilitate remote purchase operations, with full support for certification and validation processes.

Features

  • Purchase Operations: Send a purchase request to the terminal for remote processing.
  • Refund Operations: Initiate refund operations through the terminal.
  • Period Management: Open and close operational periods.

Commands Supported

  1. Terminal Status Request: Retrieves the current status of the terminal.
  2. Open Period: Starts a new operational period on the terminal.
  3. Close Period: Closes the current operational period on the terminal.
  4. Purchase: Processes a purchase transaction by sending a transaction ID and amount.
  5. Refund: Processes a refund transaction by sending a transaction ID and amount.

Communication Protocol

  • Connection Type: IP-based communication (Ethernet or Wi-Fi)
  • Ports: The communication with the terminal happens on port 15200.
  • Protocol: TCP/IP with hexadecimal command structures.

Setup

  1. Clone the repository:

    git clone https://github.com/yourusername/PetrotecRemotePurchaseTerminalIntegration.git
    
  2. Open the solution in Visual Studio.

  3. Modify the terminal IP address if needed:

    private const string serverIp = "192.168.1.252";  // Modify to match your terminal's IP address
    
  4. Build and run the project.

Usage

Once the application is running, you can interact with the terminal by selecting one of the available commands:

  • Terminal Status
  • Purchase
  • Refund
  • Open Period
  • Close Period

To quit the application, enter 'q'.

Requirements

  • .NET Framework or .NET Core
  • Access to a Petrotec terminal

Support

For any questions or issues regarding this project, please contact the owner or consult the provided documentation for further details.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
1.0.7 79 9/25/2024
1.0.6 85 9/25/2024
1.0.5 83 9/25/2024
1.0.4 97 9/23/2024
1.0.3 90 9/20/2024
1.0.2 81 9/20/2024
1.0.1 87 9/20/2024