Steps to send and recieve

11 views
Skip to first unread message

Victor Ml. Suarez

unread,
Jul 2, 2009, 9:45:24 AM7/2/09
to jPOS Users
I need to know how to connect to a channel I don't know the type of,
or how can I know the type channel that I'm going to connect to. Is
there a standard channel or something like that?

Could somebody help me showng the secuence of the steps to follow for
sending and recieving messages? (Header, message lenght, MTI, bitmap,
data fields).

Please I need an example that works. or some explanation. Help me!

Mark Salter

unread,
Jul 2, 2009, 9:51:59 AM7/2/09
to jpos-...@googlegroups.com
Victor Ml. Suarez wrote:
> I need to know how to connect to a channel I don't know the type of,
> or how can I know the type channel that I'm going to connect to.
Why would you try and connect to a Channel you don't know the protocol for?

Can you determine the protocol by tracing an existing connection -
perhaps using wireshark (or similar)?

> Is
> there a standard channel or something like that?

Not really.

>
> Could somebody help me showng the secuence of the steps to follow for
> sending and recieving messages? (Header, message lenght, MTI, bitmap,
> data fields).

Search this mailing list, get the Programmers guide.

>
> Please I need an example that works. or some explanation. Help me!

Examples in the guide and lots of detail on this mailing list.

Perhaps start by sharing what it is you want to do?

http://www.catb.org/~esr/faqs/smart-questions.html

--
Mark

Andy Orrock

unread,
Jul 2, 2009, 10:01:16 AM7/2/09
to jpos-...@googlegroups.com
I have found the help you need. It's located here:
http://jpos.org/products/proguide.

Andy

Victor Ml. Suarez

unread,
Jul 2, 2009, 10:18:08 AM7/2/09
to jpos-...@googlegroups.com

Perhaps start by sharing what it is you want to do?

What I need to do is send messages to a terminal (the message is for aprove or reject a transaction from a POS), the terminal will give me a response accepting or rejecting the transaction.

So, I'll taka the response and update de database with the approval code. That's all.

The Interface (where I'm going to connect) is

ePayment Server (EPS) for HP UX-11

But I dont know the type of channel.

Andy Orrock

unread,
Jul 2, 2009, 10:38:06 AM7/2/09
to jpos-...@googlegroups.com

But I dont know the type of channel.

 

Only you can tell us that.  EBCDIC, ASCII, BCD?  Length of the length included or not?  How would we know??  That’s in your doc.  Ferret it out and see if it matches any of the models described in the jPOS Programmers’ Guide.

 

Read my on-boarding series (assumes you’ve purchased and have read the Guide):

 

http://www.andyorrock.com/2007/01/onboarding_a_ne.html 

 

http://www.andyorrock.com/2007/05/onboarding_a_ne.html

 

http://www.andyorrock.com/2007/08/on-boarding-a-n.html 

 

http://www.andyorrock.com/2007/08/on-boarding-a-1.html  

 

http://www.andyorrock.com/2007/08/on-boarding-a-2.html 

 

Andy

Mark Salter

unread,
Jul 2, 2009, 10:40:46 AM7/2/09
to jpos-...@googlegroups.com
Victor Ml. Suarez wrote:
>
> What I need to do is send messages to a terminal (the message is for aprove
> or reject a transaction from a POS), the terminal will give me a response
> accepting or rejecting the transaction.
>
> So, I'll taka the response and update de database with the approval code.
> That's all.

Sounds real easy!

No encryption? No security? No DUKPT?

Sounds like an Issuer system? Is there a company behind it?

>
> The Interface (where I'm going to connect) is
>
> ePayment Server (EPS) for HP UX-11

Who owns this terminal? If they are letting you connect to it, don't
you think they should provide the details of the message exchange they
are expecting you to meet?

>
> But I dont know the type of channel.

Make your first task to find out who can tell you. You might get lucky
here, but much better to ask the owner of the 'terminal'?

8)


--
Mark

Reply all
Reply to author
Forward
0 new messages