These are chat archives for CORE-POS/IS4C

16th
Jun 2016
Finn
@thefinn93
Jun 16 2016 07:41
so, any input on how I should start adding Pax support?
Finn
@thefinn93
Jun 16 2016 07:48
i'm looking over how it's done with Bitcoin, which seems roughly similar
Andy Theuninck
@gohanman
Jun 16 2016 11:49
You probably want a Parser subclass (https://github.com/CORE-POS/IS4C/wiki/Input-Parsing-and-Control-Flow) that accepts a command a sends the browser to a page or pages within your plugin. If the PAX flow looks like: POS sends request to device, human interacts with device, device sends response to POS - then I'd try to do the send/receive via javascript rather than PHP. That side steps a bunch of potential timeout settings and errors.
Andy Theuninck
@gohanman
Jun 16 2016 11:56
PaycardRequest and PaycardResponse might be useful in saving info about the transaction to the PaycardTransactions table. Bitcoin was/is just a spec implementation that has never been used. I'd want proper logging of transactions before putting it in production use
Finn
@thefinn93
Jun 16 2016 17:57
alright
thanks guys
i'm gonna get working on this shortly