PetrotecRemotePurchaseTerminalIntegration.Lib
1.0.8
dotnet add package PetrotecRemotePurchaseTerminalIntegration.Lib --version 1.0.8
NuGet\Install-Package PetrotecRemotePurchaseTerminalIntegration.Lib -Version 1.0.8
<PackageReference Include="PetrotecRemotePurchaseTerminalIntegration.Lib" Version="1.0.8" />
paket add PetrotecRemotePurchaseTerminalIntegration.Lib --version 1.0.8
#r "nuget: PetrotecRemotePurchaseTerminalIntegration.Lib, 1.0.8"
// Install PetrotecRemotePurchaseTerminalIntegration.Lib as a Cake Addin #addin nuget:?package=PetrotecRemotePurchaseTerminalIntegration.Lib&version=1.0.8 // Install PetrotecRemotePurchaseTerminalIntegration.Lib as a Cake Tool #tool nuget:?package=PetrotecRemotePurchaseTerminalIntegration.Lib&version=1.0.8
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
- Terminal Status Request: Retrieves the current status of the terminal.
- Open Period: Starts a new operational period on the terminal.
- Close Period: Closes the current operational period on the terminal.
- Purchase: Processes a purchase transaction by sending a transaction ID and amount.
- 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
Clone the repository:
git clone https://github.com/yourusername/PetrotecRemotePurchaseTerminalIntegration.git
Open the solution in Visual Studio.
Modify the terminal IP address if needed:
private const string serverIp = "192.168.1.252"; // Modify to match your terminal's IP address
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 | Versions 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. |
-
.NETStandard 2.0
- Petrotec.Lib.PetrotecEps (>= 1.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.