MC IPM clearing format DE105

43 views
Skip to first unread message

Hridya Krishna R

unread,
Jun 25, 2024, 2:45:29 AM (14 days ago) Jun 25
to jPOS Users
Hi everyone,

I need help with adding a DE element into IPM clearing ISO msg.
So I am adding a DE element DE105 subelement 001 to the IPM clearing ISO msg. MC has specified this value would be variable length of upto 28 length (sub element id length+ sub element length + sub element value). I am using the ISO93APackager for packing my iso msg. But it gives me an error "invalid length 28/16" during iso packing since the 105 element packing uses IFA_NUMERIC(16, "credits, chargeback amount") datatype for 105, which allows only upto 16 length. How can I pack my IPM clearing ISO msg using this packager? DE 105 subelement would contain upto 28 length value.

Please feel free to ask for more clarity.

Regards,
Hridya Krishna R

Mark Salter

unread,
Jun 25, 2024, 2:56:32 AM (14 days ago) Jun 25
to jpos-...@googlegroups.com

You will need to amend or make your own packager to support the TLID field.
Check the documentation as I think the field content is UUID like and so is alphanumeric not just  NUMERIC.

Do you process the online authorisation too?  If so match the field definitions used there in your IPM packager.

-- 
Mark



-------- 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/58ffa729-1e4a-410d-ac10-d6dd5c910789n%40googlegroups.com.
signature.asc

Hridya Krishna R

unread,
Jun 25, 2024, 3:25:11 AM (14 days ago) Jun 25
to jPOS Users
Hi Mark,

Thanks for your immediate response. I tried changing the data field from IFA_NUMERIC(16, "credits, chargeback amount") to IFA_LLLCHAR(999,  "credits, chargeback amount") in the ISO93APackager. (Note: 999, as there could be more sub element additions to DE105 in future, up to length 999). But post this change, even though I am able to generate the IPM file, it seems to be corrupted/unopenable. When I try to open using IPM viewer, it gives me "unable to open IPM file, invalid MTI" (no change has been done to MTI). Am I doing something wrong? Please guide me if I am doing the change incorrectly.

Also, for authorization I am using EuroPackager, which uses data field IFA_ LLLCHAR(999), due to which that works fine. Facing issue for IPM only.

Regards,
Hridya Krishna R

Mark Salter

unread,
Jun 25, 2024, 3:58:06 AM (14 days ago) Jun 25
to jpos-...@googlegroups.com
On 25/06/2024 08:25, Hridya Krishna R wrote:
> Thanks for your immediate response. I tried changing the data field from
> IFA_NUMERIC(16, "credits, chargeback amount") to IFA_LLLCHAR(999, "credits,
> chargeback amount") in the ISO93APackager. (Note: 999, as there could be more
> sub element additions to DE105 in future, up to length 999). But post this
> change, even though I am able to generate the IPM file, it seems to be
> corrupted/unopenable. When I try to open using IPM viewer, it gives me "unable
> to open IPM file, invalid MTI" (no change has been done to MTI). Am I doing
> something wrong? Please guide me if I am doing the change incorrectly.

Perhaps your private message was a mistake, please be careful next time.

I can't see the detail you can, but suspect that the MTI error is being
reported for the data it found for what should have been the MTI
following the first DE105 which may be incorrectly formed, potentially
making the alignment off.

If so, this suggests the result is not as needed and defined for IPM. 
Please check the manual initially.

I will try and look later too and suggest, but cannot promise.

--
Mark

signature.asc

Mark Salter

unread,
Jun 25, 2024, 6:45:36 AM (13 days ago) Jun 25
to jpos-...@googlegroups.com

What did you place inside this field?

Without a subfield packager, you will need to treat it as opaque (occasionally referenced innother posts here) specify the subfield tag ('001') + length ('nnn') + data into your new field 105.

-- 
Mark



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

chhil

unread,
Jun 25, 2024, 7:05:51 AM (13 days ago) Jun 25
to jpos-...@googlegroups.com
We get IPM files and our packager is setup as


<isofield
id="105"
length="999"
name="BLAH"
class="org.jpos.iso.IFA_LLLCHAR"/>


The data is TLV (tag length 3, length of length 3 , followed by data).

Not aware of what the IPM viewer is, but I assume you are packing the message and prepending an appropriately formatted length prefix.

-chhil

Reply all
Reply to author
Forward
0 new messages