Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

[Urgent] Visa Field-34 Packager?

55 views
Skip to first unread message

adnaan...@gmail.com

unread,
Mar 12, 2025, 3:01:46 PMMar 12
to jPOS Users
Hello Guys,

Can anyone help me in configuring the right packager for Visa Field-34? This field is a variable length field with a 2-byte length field.

chhil

unread,
Mar 13, 2025, 4:21:31 AMMar 13
to jpos-...@googlegroups.com

The definition in the spec is

2 bytes, binary 1535 bytes, variable by usage, maximum 1537 bytes

We use             class="org.jpos.iso.IFB_LLLLHBINARY"
-chhil

On Thu, Mar 13, 2025 at 12:31 AM adnaan...@gmail.com <adnaan...@gmail.com> wrote:
Hello Guys,

Can anyone help me in configuring the right packager for Visa Field-34? This field is a variable length field with a 2-byte length field.

--
--
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 visit https://groups.google.com/d/msgid/jpos-users/d16814a1-a7f6-48c6-b40e-c96a7553b8e3n%40googlegroups.com.

adnaan...@gmail.com

unread,
Mar 13, 2025, 3:09:55 PMMar 13
to jPOS Users
When I used the packager you mentioned i.e. org.jpos.iso.IFB_LLLLHBINARY , it gives me ClassNotFoundException.

Mark Salter

unread,
Mar 13, 2025, 3:15:15 PMMar 13
to jpos-...@googlegroups.com

Did you try and search the source repository?

Try one less L in the name?

-- 
Mark



-------- Original Message --------
signature.asc

adnaan...@gmail.com

unread,
Mar 13, 2025, 3:32:30 PMMar 13
to jPOS Users
I have already tried org.jpos.iso.IFB_LLLHBINARY but it doesn't by Visa's variable length fields containing 2-byte length like Field-34 & Field-104.

Mark Salter

unread,
Mar 13, 2025, 4:19:18 PMMar 13
to jpos-...@googlegroups.com

I am not sure what you mean?

Why is it not working for you?  Any stacktrace or message(s) given?

-- 
Mark



-------- Original Message --------
signature.asc

chhil

unread,
Mar 14, 2025, 12:34:21 AMMar 14
to jpos-...@googlegroups.com
Apologies LLLL is a custom one , which is identical to LLL one. It was simply created for clarity as hex work with even number one, jpos LLL works too.

https://github.com/jpos/jPOS/blob/tail/jpos/src/main/java/org/jpos/iso/IFB_LLLHBINARY.java

Just noticed the comment in my code

 * Binary field that has 2 byte binary length header. Since its binary 2
 * bytes LL become LLLL and can store upto 0xFF 0xFF length which is
 * decimal 65535. This is no different from IFB_LLLHBINARY as its still
 * 2 bytes and since jpos does not do nibble level calculation, it
 * accepts FFFF instead of 0FFFF for LLL.
 * Added this just to make it easier for a dev to add instead of looking
 * for a 4 L definition.



-chhil


chhil

unread,
Mar 14, 2025, 5:50:23 AMMar 14
to jpos-...@googlegroups.com

For visa we use the jpos vapchannel that handles the visa  header. Are you using the vapchannel?
If you have a hexdump of the message you can share it here and I can take a look at it.
You can also share your packager.

Reply all
Reply to author
Forward
0 new messages