Ousret / pyTeliumManager

Python library to manipulate Ingenico mobile payment device like iCT220 or iWL220 equipped with Telium Manager. RS232/USB.
http://pyteliummanager.readthedocs.io
MIT License
103 stars 20 forks source link

No option to select preferred interface #14

Closed spiderrabbit closed 4 years ago

spiderrabbit commented 4 years ago

Thanks for the project I've got an iWL250. I can open Telium Manager, select 3 for initialization, then 1 for parameters, however I can't see "Checkout", only "Cash Connection"

I can enable this but there is no follow up option to select the preferred interface.

PC usb A to cradle usb B , PC Ubuntu 18.04 python 2.7

Any ideas?

Ousret commented 4 years ago

Hi,

You're welcome. Cash Connection should do it. Everything you describe, I already encountered it. Sometime, there is slight differences between "telium manager" versions.

Just enable "Cash Connection" then do :

ls -l /dev/ttyACM*

You should have a ttyACM0 available.

Then you'll be ready to use it. Best of lucks.

spiderrabbit commented 4 years ago

Yes have done that - getting "Payment terminal isn't ready to accept data from host." using /dev/ttyACM0 (dmesg and lsusb shows cradle connected to PC on ACM0)

There is a USB A on the cradle. Do I need to connect that to the PC serial port, or is there a hidden option within Telium to activate the USB interface for Cash Connection?

Ousret commented 4 years ago

So if I understand correctly, your OS show a device listed as ttyACM0, but when you try to run this library, you can't even pass the init phase ?

Few ideas,

spiderrabbit commented 4 years ago

OK permissions on ACM0: crw-rw---- 1 root dialout 166, 0 Apr 5 19:57 /dev/ttyACM0 groups for user: $USER dialout sudo

set debugging to true in manager.py sudo python telium_conn.py ('DEBUG :: try send_signal = ', 'ENQ') Payment terminal isn't ready to accept data from host. Check if terminal is properly configured or not busy.

spiderrabbit commented 4 years ago

M2OS 47788481

Ousret commented 4 years ago

I suppose you tried rebooting the device after enabling cash conn. I am sorry, after reading your traces, I could not understand why it is not working for you.

If possible, try upgrading your Ingenico device. Be in touch with your reseller.

spiderrabbit commented 4 years ago

Someone mentioned using a RS232 to USB A connector working; is this just a straight through cable or does it have a USB->Serial chip inside? Thanks anyway for the help :)

Ousret commented 4 years ago

Should not be possible. Not that I know of. I am closing this issue as it is not a library related incident. Good luck 👍

jnosky commented 4 years ago

I have tried both onboard USB on ICT220 and a USB serial to magic box serial. I verified with an oscilloscope the application is sending serial to the ict220 (magic box), however it does not seem to respond.

I too only have the "Cash Connection" option. Version: 8447788489 I enabled it, rebooted, tried everything. Will not connect.

"Payment terminal isn't ready to accept data from host. Check if terminal is properly configured or not busy"

spiderrabbit commented 4 years ago

Apparently "semi-integration" needs to be enabled by the card machine supplier

jnosky commented 4 years ago

I called my processor (Elavon) and they said the ICT220 does not support "semi-integration". They said the newer Desk 3500 can be enabled, but only for certain POS software. I assume the semi-integration api is what this project uses. Wondering if anyone has tried with Desk 3500. I had read elsewhere that semi-integration is not available in US. fwiw the ROM in my ICT220 is nearly full, perhaps why my processor wont support it. I am in US.

Ousret commented 4 years ago

Any chances you can get your processor to give you technical sheets (com. protocol) about the "Desk 3550" device ? @jnosky