ISO 8583 field 48 including both ANS and Binary data

521 views
Skip to first unread message

Kapilashantha Rajapaksha

unread,
Jul 9, 2023, 9:40:00 PM7/9/23
to jpos-...@googlegroups.com

Hi All,

I have faced some issue with CNP transactions -  DE 48 first part ANS and the second part binary,  Look for your expertise 

my xml 

<isofieldIFA_LLLCHAR

id="48"

length="999"

name="ADITIONAL DATA - PRIVATE"

class="org.jpos.iso."/>

<isofield>



Host Spec


image.png



Sample data

image.png


image.png

Kapilashantha Rajapaksha

unread,
Jul 9, 2023, 10:43:58 PM7/9/23
to jpos-...@googlegroups.com
Below is my package xml for DE 48

<isofield

id="48"

length="999"

name="ADITIONAL DATA - PRIVATE"

class="org.jpos.iso.IFA_LLLCHAR"/>

<isofield

Mark Salter

unread,
Jul 10, 2023, 1:54:48 AM7/10/23
to jpos-...@googlegroups.com
What issue have you faced?

Please do not publish even portions of likeky copyright documentation that is watermarked 'For MyDebit reference only'.


-- 
Mark


Sent from Proton Mail mobile



-------- Original Message --------
--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/CAKV%2BfV2wP1VfG34Dv9-iv6tPWwu8Z2RoEJxbaU2onZyCq7HC4g%40mail.gmail.com.
signature.asc

Kapilashantha Rajapaksha

unread,
Jul 10, 2023, 3:30:19 AM7/10/23
to jpos-...@googlegroups.com
Hi Mark ,

Sure I will not share further.  

The problem is packing data DE 48 all are 3 padded mean I can't generate packet as above sample. 

Mark Salter

unread,
Jul 10, 2023, 4:07:01 AM7/10/23
to jpos-...@googlegroups.com

You seem to have the inner fields, so you might set about adding a subfield packager.  The binary subfield is probably causing your issue, so perhaps first have the outer field as Binary (IFA_LLLBINARY might suit) to avoid any conversion errors of the binary content to/from character. then build and concatenate the subfields in their correct form to set the content which will flow as into the network;  this approach is often described as using an 'opaque' field in other discussions here.


Writing a subfield packager should be possible too, but perhaps try the opaque way first.


--

M

signature.asc

Kapilashantha Rajapaksha

unread,
Jul 10, 2023, 8:44:02 PM7/10/23
to jpos-...@googlegroups.com
Thanks Mark for the direction 


--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage.  Please support jPOS, contact: sa...@jpos.org
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages