function test_eftpos()
{
var url = '127.0.0.1:2008';
var data = '<Message type="Transaction" id="1234"><TxnType>Purchase</TxnType><TxnRef>TXN12345</TxnRef><AmountPurchase>1.00</AmountPurchase></Message>';
var responce = web.PostData(url,data);
return responce;
}
Oh yep - now having a XML conversation to process a single transaction is somewhat much harder
Its not going to help you now but I am going to write a full EFTPOS integration into SambaPOS over the coming months.
Yea right, I am not kidding.
We hold some large Merchant Licenses and have long standing partnerships with some banks here as well as Bulk Service providers. I also have alignments with providers who will give me access to their development team as well, so they will build a interface to suit.
I just gotta get my âtrainers offâ and oh yea write a full SQL API into SamaPOS for our membership first so as the caption suggests - donât hold your breath.
I can tell you but - it will be done. Good luck here with yours and will add when possible.
I have no idea how that is supposed to send to the EFT. When you first mentioned that it listens on 127.0.0.1, I thought to myself: "That is localhost", meaning your computer. So you are sending data to yourself.
Know what I mean? Anyone else notice this? Need to change the IP on the EFT, and send to that address.
no difference with above changing 2008 to 65.
65 was relating to the DPS software mentioned in the documentation but I believe this is now done within the machine and the machine is setup to listed to 127.0.0.1 on 2008
2008 is defiantly the post used for telnet to connect.
Not sure on that, there is no web GUI not that I expected there to be.
function test_eftpos()
{
var url = 'http://127.0.0.1:2008';
var data = '<Message type="Transaction" id="1234"><TxnType>Purchase</TxnType><TxnRef>TXN12345</TxnRef><AmountPurchase>1.00</AmountPurchase></Message>';
var responce = web.PostData(url,data);
return responce;
}
web.PostData is the one, Upload does nothing
Although no response within samba which brings us back to the original concern of listening to xml from http://127.0.0.1:2008
Am thinking this is the most likely solution;
Not sure if it counts as a real problem though LOL
But I donât think it will be possible to receive on the com port as wont it be in use for whatever if forwarding port 2008 to the machine?
Tried to install a âterminalâ/com port listener and on choosing port COM8 it said it was already open.
I have no experience with Caller ID. If I had your device, I would try Generic Modem, or Advanced Generic Modem, to see if you can get a Popup to show.
I mean, SambaPOS is âlisteningâ for activity on the COM port for Caller ID to display information, so it is worth a shot?