Skip to content

MihaiCraciun88/ingenico

Repository files navigation

Ingenico POS

Low level communication for Ingenico POS

Installation

To install the library, use go get:

go get github.com/MihaiCraciun88/ingenico

Usage

import (
	"github.com/MihaiCraciun88/ingenico"
)

func main() {
	pos := ingenico.NewPOS("COM3", 9600)
	defer pos.Close()

	pos.SendMessage(ingenico.NewSale(100)) // 1 RON
	pos.WaitForResponse()
}

Contribution

Feel free to contribute by creating issues, submitting pull requests, or improving the documentation.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

About

Low level communication for Ingenico POS

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages