FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour SP30 MULTILANE PINPAD
Posts: 129
Joined: Sun Oct 09, 2011 03:50 PM

SP30 MULTILANE PINPAD

Posted: Mon Jun 23, 2014 03:45 PM

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?

Posts: 129
Joined: Sun Oct 09, 2011 03:50 PM

Re: SP30 MULTILANE PINPAD

Posted: Mon Jun 23, 2014 09:18 PM

May be I am not clear. Question is how to communicate with TCP/IP device?

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Re: SP30 MULTILANE PINPAD

Posted: Mon Jun 23, 2014 09:27 PM

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

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 129
Joined: Sun Oct 09, 2011 03:50 PM

Re: SP30 MULTILANE PINPAD

Posted: Wed Jun 25, 2014 08:19 PM
They do have SDK. Now they send me a sample in VB :

Their sample goes like this :

Code (fw): Select all Collapse
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.
Posts: 129
Joined: Sun Oct 09, 2011 03:50 PM

Re: SP30 MULTILANE PINPAD

Posted: Thu Jun 26, 2014 07:03 PM

Is it possible?

Posts: 129
Joined: Sun Oct 09, 2011 03:50 PM

Re: SP30 MULTILANE PINPAD

Posted: Sun Jun 29, 2014 07:35 PM
I get from them C code but it doesnt compile

Code (fw): Select all Collapse
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;
Posts: 129
Joined: Sun Oct 09, 2011 03:50 PM

Re: SP30 MULTILANE PINPAD

Posted: Mon May 11, 2015 01:09 PM

Please help!

Posts: 731
Joined: Fri Oct 07, 2005 07:42 AM

Re: SP30 MULTILANE PINPAD

Posted: Tue May 12, 2015 08:48 AM

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

Saludos

Rafa Carmona ( rafa.thefullARROBAgmail.com___quitalineas__)
Posts: 129
Joined: Sun Oct 09, 2011 03:50 PM

Re: SP30 MULTILANE PINPAD

Posted: Tue May 12, 2015 05:26 PM
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 :-)
Posts: 731
Joined: Fri Oct 07, 2005 07:42 AM

Re: SP30 MULTILANE PINPAD

Posted: Wed May 13, 2015 04:56 PM

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

Saludos

Rafa Carmona ( rafa.thefullARROBAgmail.com___quitalineas__)

Continue the discussion