Page 1 of 1

SP30 MULTILANE PINPAD

Posted: Mon Jun 23, 2014 3:45 pm
by mosh1
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?

Re: SP30 MULTILANE PINPAD

Posted: Mon Jun 23, 2014 9:18 pm
by mosh1
May be I am not clear. Question is how to communicate with TCP/IP device?

Re: SP30 MULTILANE PINPAD

Posted: Mon Jun 23, 2014 9:27 pm
by Antonio Linares
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

Re: SP30 MULTILANE PINPAD

Posted: Wed Jun 25, 2014 8:19 pm
by mosh1
They do have SDK. Now they send me a sample in VB :

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
 
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

Posted: Thu Jun 26, 2014 7:03 pm
by mosh1
Is it possible?

Re: SP30 MULTILANE PINPAD

Posted: Sun Jun 29, 2014 7:35 pm
by mosh1
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

Posted: Mon May 11, 2015 1:09 pm
by mosh1
Please help!

Re: SP30 MULTILANE PINPAD

Posted: Tue May 12, 2015 8:48 am
by thefull
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

Posted: Tue May 12, 2015 5:26 pm
by mosh1
thefull 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
Yo no hablo español, lo siento :D

Re: SP30 MULTILANE PINPAD

Posted: Wed May 13, 2015 4:56 pm
by thefull
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