ISO 8385 1993 ACTION CODE (FIELD 39)

41 views
Skip to first unread message

Emmanuel Mensah

unread,
Aug 31, 2021, 7:55:40 PM8/31/21
to jPOS Users
Dear JPos user group. I need help
Im really confused about what type of value field 39 expects.

Here is a sample echo message response from my clients POSTILION
 <isomsg direction="incoming">
      <header>49534F383538332D31393933303231303030303030</header>
      <field id="0" value="1814"/>
      <field id="7" value="0831234253"/>
      <field id="11" value="247087"/>
      <field id="24" value="831"/>
      <field id="28" value="210901"/>
      <field id="39" value="080"/>
      <field id="93" value="1000000000"/>
      <field id="94" value="000213"/>
    </isomsg>

but I according to their specifications "800" is the expected response

Similarly for 1210 message Field 39 appears as 9110 instead of 911.

here is my package snippet for field 39

<isofield
      id="38"
      length="6"
      name="Approval code"
      class="org.jpos.iso.IF_CHAR"/>
  <isofield
      id="39"
      length="3"
      name="Action code"
      pad="false"
      class="org.jpos.iso.IFB_NUMERIC"/>

Regards

Alejandro Revilla

unread,
Aug 31, 2021, 8:04:15 PM8/31/21
to jPOS Users
Hi Emmanuel,

They are probably left-padding that field, so change the pad="false" to pad="true" and you should be ready to go.

--


--
--
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/608f4714-0a6f-4efc-a856-320660267d48n%40googlegroups.com.

Charaka Wijesinghe

unread,
Sep 1, 2021, 3:20:53 AM9/1/21
to jpos-...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages