SP30 MULTILANE PINPAD
SP30 MULTILANE PINPAD
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?
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?
- Antonio Linares
- Site Admin
- Posts: 42452
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 20 times
- Been thanked: 58 times
- 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 | Expand
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
I get suggestion to use hb_LibLoad and hb_DynCall but I have no idea how to set all the variables.
Re: SP30 MULTILANE PINPAD
I get from them C code but it doesnt compile
Code: Select all | Expand
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 , viewtopic.php?f=6&t=29641&p=167832&hilit=soap#p167832
You can see how to convert source code VB6 , script, for use in Harbour, using SOAP.
Regards
Please, view this post , viewtopic.php?f=6&t=29641&p=167832&hilit=soap#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
thefull wrote:Hi
Please, view this post , viewtopic.php?f=6&t=29641&p=167832&hilit=soap#p167832
You can see how to convert source code VB6 , script, for use in Harbour, using SOAP.
Regards
Yo no hablo español, lo siento
![Very Happy :D](./images/smilies/icon_biggrin.gif)
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...
![Wink ;-)](./images/smilies/icon_wink.gif)
Saludos
Rafa Carmona ( rafa.thefullARROBAgmail.com___quitalineas__)
Rafa Carmona ( rafa.thefullARROBAgmail.com___quitalineas__)