ingenico-pos-dotnet-lib | 0 Class library for communication with Asseco Group
kandi X-RAY | ingenico-pos-dotnet-lib Summary
kandi X-RAY | ingenico-pos-dotnet-lib Summary
.netstandard2.0 Class library for communication with Asseco Group Ingenico POS Device written in C#
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ingenico-pos-dotnet-lib
ingenico-pos-dotnet-lib Key Features
ingenico-pos-dotnet-lib Examples and Code Snippets
const string PORT = "COM9"; // Port of the POS Device (COM0 is just an example)
POS posDevice = new POS(PORT);
if ( posDevice.Connect() ) {
// We will charge the card for 100,00
SaleResponse res = posDevice.Sale(10000);
if ( res.Succe
const string PORT = "COM9"; // Port of the POS Device (COM0 is just an example)
POS posDevice = new POS(PORT);
posDevice.Connect(); // Will return true if connection is made, otherwise will return false
// To check whether the posDevice is connec
Install-Package IngenicoPOS -Version 1.0.1
dotnet add package IngenicoPOS --version 1.0.1
paket add IngenicoPOS --version 1.0.1
Community Discussions
Trending Discussions on ingenico-pos-dotnet-lib
QUESTION
I want to connect to an Ingenico iCT250 POS device through a c# package. I am using this one . I followed the instructions on their readme and tried to connect. When I run, after a few seconds the program closes and I got this message.
...ANSWER
Answered 2022-Jan-12 at 08:44Try this:
QUESTION
I am new to c# so I don't understand well why I am getting this error. I am using IngenicoPOS class to create a sale, but I want to create the sale action inside a pos operation class so it is separated from the rest. However, when I try to connect the posDevice I got that an error where it said postDevice.Connect doesn't exist in the current context. For the connection part, I follow their document. Now, I think I am doing wrong when I create a new post device or because I am trying to create a connection inside a class. The full code:
...ANSWER
Answered 2022-Jan-07 at 12:58Types (of which class
is one) can only contain members. You've got a field member called posDevice
. You're allowed to instantiate that field on the same line as its declaration, but you're not allowed to run any other statements using that field.
This is what the Constructor is used for. Move the initialization of the field to the constructor as well as the additional Connect call you want to make.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ingenico-pos-dotnet-lib
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page