Hi!
I am trying to integrate your SP30 MULTILANE PINPAD in my POS system.
Where can I found information ?
I have following info on the device
DeviceName, PAX_SP30
DeviceIP, 24.89.178.75
DevicePort, 10009
I can get the Ip adress to
So the question is how to communicate with the device?
SP30 MULTILANE PINPAD
Re: SP30 MULTILANE PINPAD
May be I am not clear. Question is how to communicate with TCP/IP device?
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: SP30 MULTILANE PINPAD
Mosh,
You could use sockets. Not sure if there is a specific library (built on top of sockets) that may simplify it.
For sockets use please review samples\sockcli.prg and sockserv.prg
You could use sockets. Not sure if there is a specific library (built on top of sockets) that may simplify it.
For sockets use please review samples\sockcli.prg and sockserv.prg
Re: SP30 MULTILANE PINPAD
They do have SDK. Now they send me a sample in VB :
Their sample goes like this :
I get suggestion to use hb_LibLoad and hb_DynCall but I have no idea how to set all the variables.
Their sample goes like this :
Code: Select all
Sub test()
Dim MyRequest As PaymentAppCOM.TransactionRequest
Set MyRequest = New TransactionRequest
MyRequest.Device_Set_2 "PAX_SP30", "192.168.0.155", "10009"
MyRequest.xKey = "xTest_My_Grocery"
MyRequest.xVersion = "4.5.3"
MyRequest.xSoftwareName = "My_Grocery"
MyRequest.xSoftwareVersion = "1.0"
MyRequest.xCommand = "cc:sale"
MyRequest.xAmount = 1.23
Dim MyResponse As TransactionResponse
Set MyResponse = MyRequest.Manual(False, False, True, True, False, False, False, True, Nothing)
MsgBox MyResponse.xResult
End Sub
Re: SP30 MULTILANE PINPAD
I get from them C code but it doesnt compile
Code: Select all
PaymentAppCOM::TransactionRequest *MyRequest = nullptr;
MyRequest = new TransactionRequest();
MyRequest->Device_Set_2 L"PAX_SP30", L"192.168.0.139", L"10009";
MyRequest->xKey = L"xTest_My_Grocer";
MyRequest->xVersion = L"4.5.3";
MyRequest->xSoftwareName = L"My_Grocer";
MyRequest->xSoftwareVersion = L"1.0";
MyRequest->xCommand = L"cc:sale";
MyRequest->xAmount = 1.23;
PaymentAppCOM::TransactionResponse *MyResponse = nullptr;
MyResponse = MyRequest->Manual(false, false, true, true, false, false, false, true, nullptr);
MsgBox MyResponse->xResult;
Re: SP30 MULTILANE PINPAD
Hi
Please, view this post , http://forums.fivetechsupport.com/viewt ... ap#p167832
You can see how to convert source code VB6 , script, for use in Harbour, using SOAP.
Regards
Please, view this post , http://forums.fivetechsupport.com/viewt ... ap#p167832
You can see how to convert source code VB6 , script, for use in Harbour, using SOAP.
Regards
Saludos
Rafa Carmona ( rafa.thefullARROBAgmail.com___quitalineas__)
Rafa Carmona ( rafa.thefullARROBAgmail.com___quitalineas__)
Re: SP30 MULTILANE PINPAD
Yo no hablo español, lo sientothefull wrote:Hi
Please, view this post , http://forums.fivetechsupport.com/viewt ... ap#p167832
You can see how to convert source code VB6 , script, for use in Harbour, using SOAP.
Regards
Re: SP30 MULTILANE PINPAD
Oh My God!! Please, VIEW SOURCE CODE!! Language : HARBOUR
Note: Google Translator es tu amigo... y yo no domino inglés, solo si es pequeño y bajito
Note: Google Translator es tu amigo... y yo no domino inglés, solo si es pequeño y bajito
Saludos
Rafa Carmona ( rafa.thefullARROBAgmail.com___quitalineas__)
Rafa Carmona ( rafa.thefullARROBAgmail.com___quitalineas__)