Low level communication for Ingenico POS
To install the library, use go get
:
go get github.com/MihaiCraciun88/ingenico
import (
"github.com/MihaiCraciun88/ingenico"
)
func main() {
pos := ingenico.NewPOS("COM3", 9600)
defer pos.Close()
pos.SendMessage(ingenico.NewSale(100)) // 1 RON
pos.WaitForResponse()
}
Feel free to contribute by creating issues, submitting pull requests, or improving the documentation.
This project is licensed under the MIT License. See the LICENSE file for more details.