--
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 "jPOS Users" group.
Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first
To post to this group, send email to jpos-...@googlegroups.com
To unsubscribe, send email to jpos-users+...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jpos-users
> The host (bank) wants to right pad "F" at the end of PAN
This will be conditional on an *odd* number of digits in the PAN and
indicates to me that the field carrying the key will be binary.
>
> I'm sending packet to host as follow,
>
> 021040200080008000021912341234123412341230020011003232323232323232000431323334
What is the actual form please?
Is this a character representation of a binary message or is this the
message?
>
> But host is accepting packet should be
>
> 02104020008000800002 19 1234123412341234123F020011003232323232323232000431323334
Same question as above.
>
> My PAN definition as bellow
>
> <isofield
> id="2"
> length="19"
> name="PAN - PRIMARY ACCOUNT NUMBER"
> pad="false"
> class="org.jpos.iso.IFB_LLNUM"
> />
Are you sure you are using this definition?
Can you show the code that is setting this field please and indicate any
variable types that are not obvious
As Chhil says, something is odd here.
--
Mark
> newer example says how the specification (Element 2) of banks host.
>
> When card number length 15,17 and 19 (odd value ), last digit pad to
> F inserted of "0"(BCD)
>
> When card number length 16,18 (even) no need to pad
>
If this is for field 2, then I think you will have to determine this
padding yourself - or derive a new field class to do the padding you
need here.
Can you also check that they are not talking about the PAN detail in any
*track* fields that may be present in your message please?
--
Mark
Cheers,
/V