[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Dolibarr-dev] TPE

From: Florian HENRY
Subject: Re: [Dolibarr-dev] TPE
Date: Thu, 08 Jan 2015 10:42:03 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

You have to play with serial or usb or whatever port, I mean physical device connected to PC where the browser on dolibarr is displayed, web browsers do not have this capabibliities to play with physical external device (may be with hand made specifics browser plugin), as well as web server like apache is not designe to do that.
Use tricks like write a file that is read by deamon or crontab task each seconds, or API xml or REST, that interact with some material... you always need an communication layer, like driver and some executable that can play with your physical device.
Take care to the architecture, if your webserver is the caskdesk it can work, but it's not smart(stolre your caskdesk, you lost all your data...), you should deploy a server in your back office and only have a browser with printer as cashdesk.

Florian Henry
+33 6 03 76 48 07
Twitter : @_Open_Concept_
Google+ :
Le 08/01/2015 10:25, Doursenaud, Raphaël a écrit :
Yup, but you still need to have a communication layer for the EPT and another communication layer between whatever you use on the Pi and Dolibarr.

2015-01-08 10:19 GMT+01:00 Olivier Geffroy <address@hidden>:
Use rasberry pi is an excellent Idea 

Envoyé de mon iPhone

Le 8 janv. 2015 à 10:09, "address@hidden" <address@hidden> a écrit :

Think the good way is to pass by standalone minipc like raspberry pi where the tpe was connected and an appli send payement info to Dolibarr with xml

This functionality must be use too for printing problems too


Bien cordialement,

Charles-François BENKE - 0637056117


De : address@hidden [mailto:address@hidden] De la part de Doursenaud, Raphaël
Envoyé : jeudi 8 janvier 2015 09:54
À : Posts about Dolibarr ERP & CRM development and coding
Objet : Re: [Dolibarr-dev] TPE


I remember looking into it some years ago and the solution was, indeed, to use a Java lib borked into PHP with some abstraction layer.


It was a lot of hassle for very little benefit so our client made the decision to not go that way.


I can get to the archive and retrieve my research from that time if you're really dedicated ;)




Le 7 janvier 2015 21:09, Olivier Geffroy <address@hidden> a écrit :

Hi Hodei 


You will find nothing in PHP to connect TPE, look for java and I think they have no dolibarr module to communicate with a TPE, perhaps with POS dev (2Byte or ATM)


Le 7 janvier 2015 21:05, Hodei-Dev <address@hidden> a écrit :

bonjour à tous


je souhaite connecter un TPE (Terminal de Paiement Electronique pour carte bleue) à dolibarr; j'ai vu qu'il n'existait rien sur dolistore mais connaissez-vous un module php permettant de dialoguer avec un TPE


translate in english :

I want to connect a TPE (Electronic Payment Terminal for credit card) to dolibarr; I find nothing on DoliStore but do you know a php module to communicate with a TPE ?


Raphaël Doursenaud
Directeur technique (CTO)
+33 (0)5 35 53 97 13 - +33 (0)6 68 48 20 10

Technopole Hélioparc
2 avenue du Président Pierre Angot
64053 PAU CEDEX 9
SARL au capital de 7 500 € - R.C.S. PAU 528 995 921

Dolibarr-dev mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]