How to connect Dolibarr POS to a card terminal

I need to connect Dolibarr POS to a bank / card terminal to auto transfer pay amount ot the terminal. If possible, how can this be done?

hello Nettprodukt,

all is possible but if you ask for “how to connect…” you should give the info what computer/system/hardware/softwareversion/… you use.

in past i programmed a windows sw with connection to a pos-cash-terminal that was virtual, only a card-reader was connected. the provider had a API.

best regards

I planned to run Dolibarr with Doliwamp on Windows and need to connect a card terminal from Nets. Here’s the link to the supplier website with USB driver for the terminal (Translated with Google)

i visited the link and it’s like i thought, the driver installs a virtual-comport (example was COM4)
if you have the dokumentation about the protocol to the payment-terminal you can make your own interface
in php it is possible to communicate with Com-Port (windows) or TTYx (linux) by dio_open(“com1, … or dio_open(”/dev/tty0", …
so you can use windows or linux
normaly you only need to set the speed of the port , byteln and parity (also 3 parameters) then cou need to tell the terminal the amount like 123,45 € or so by dio_write(handle,command_string) and get result by answer=dio_read(handle)

have a look to the doku of the terminal if there is more to to. i think it’s not difficult. i’m relative new to dolibarr (1 month) but communication with external paymentdevice i’v done sometimes. if you need help to do this, let me know

best regards
wolfgang

1 Like

So it is possible. Thank you!

I propably need some help making this happen. I will let you know.

hello nettprodukt,

i had a second look to your terminal. in the config-file (at end of the page you linked) is a configuration with ip-adress and port-number instead of serial-port. this could be better for you. if you want no cable, ask the supplyer for wireless terminal with ip-adress. if you want to connect ba using php it’s the same work if you use serial or tcpip. rather a lit more to use serial because there you need serial-lib and tcpip is standard for php. but both is possible and if you use win or lin never mind.

BUT bevore buying the terminal, ask for dokumentation and make your own specification what is to do. also what data you have to send and recive from the cash-terminal and llok to the dokumentation if this is possible. (i’m nearly shure that it is possible, but my experience is, that you ask bevor buy you get more help than after!)

if you have problems, let me know, i’m new to doli but serial and terminals are my 2nd name :slight_smile:

good luck, w. :slight_smile:

Do you have a email address where I can reach you?

klick my logo, there is info and a link to my homepage, there is my contact-data with phone email and skype

you got mail…

could you share the steps i to would like to do this who is your credit card processor and what steps do i need to take also what terminals do you use?

Did you manage to connect a terminal?

The stripe payment terminal " BBPOS WisePOS E" is nativly integrated. You could use this without too much hassle. I’m not sure if there’s any documentation about it on the wiki (I’ve never used it myself but i’ve seen forum posts and github pr’s about it).

the new dolibarr 17 has the feature built-in. it’s very basic and i have not been able to print a receipt