--
--
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
Join us in IRC at http://webchat.freenode.net/?channels=jpos
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
---
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/67fcd030-dfe9-45d5-a0e4-cc00fed16ca7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/33306dcb-0248-4633-9943-8115dc74b080%40googlegroups.com.
msg.setHeader(ISOUtil.hex2byte("603010000000"));
<isomsg>
<header>603010000000</header>
<field id="0" value="0200"/>
<field id="2" value="6212264000001899463"/>
<field id="3" value="000000"/>
<field id="4" value="000000000100"/>
<field id="11" value="033460"/>
<field id="14" value="2106"/>
<field id="22" value="051"/>
<field id="23" value="001"/>
<field id="25" value="00"/>
<field id="26" value="12"/>
<field id="35" value="6212264000001899463DFF9354AB57C514029"/>
<field id="41" value="16021500"/>
<field id="42" value="000012709701103"/>
<field id="49" value="840"/>
<field id="52" value="019C2794A09CB6C3" type="binary"/>
<field id="53" value="2610000000000000"/>
<field id="55" value="9F26087D7013C90F9B688B9F2701809F101307010103A0A802010A01000000361907167E7E9F37049F0E155D9F36020795950500800400009A031310259C01009F02060000000000095F2A02015682027C009F1A0201569F03060000000000009F3303E0E1C89F34030203009F3501229F1E083132333435363738" type="binary"/>
<field id="60" value="22000128000501"/>
<field id="64" value="3037343146304245" type="binary"/>
</isomsg>
I am still struggling for CHINA UNION pay simulator. not any help from other side to test my code or query.
I believe length is similar to ASCIIChannel, problem is they have a dynamic header that also needs to include the length.
From our implementation notes:
* <pre>
* 1: Header Length 1 (Pos: 0)
* 2: Flag and Version 1 (Pos: 1)
* 3: Total Message Length 4 (Pos: 2-5)
* 4: Destination ID 11 (Pos: 6-16)
* 5: Source ID 11 (Pos: 17-27)
* 6: Reserved 3 (Pos: 28-30)
* 7: Batch Number 1 (Pos: 31)
* 8: Transaction Information 8 (Pos: 32-39)
* 9: User Information 1 (Pos: 40)
* 10: Reject Code 5 (Pos: 41,45)
* </pre>
--
--
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
Join us in IRC at http://webchat.freenode.net/?channels=jpos
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
---
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/0cb83d70-a128-496d-afd4-d2138c29896f%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/CAAgSK%3DmwP_qOayKck_pqXzNxwqF0hSnyqgqSzgvoebEzskWX%2Bw%40mail.gmail.com.
303830300038000000C000123331323730303135303132373038323431363032313530303030303031323730393730313130333031313030313233343536303031303033435550
main() Byte Hex dump:::: =
0000 30 38 30 30 00 38 00 00 00 C0 00 12 33 31 32 37 0800.8......3127
0010 30 30 31 35 30 31 32 37 30 38 32 34 31 36 30 32 0015012708241602
0020 31 35 30 30 30 30 30 30 31 32 37 30 39 37 30 31 1500000012709701
0030 31 30 33 30 31 31 30 30 31 32 33 34 35 36 30 30 1030110012345600
0040 31 30 30 33 43 55 50 1003CUP
<isomsg>
<header>2E523031383830303030303030312020203130333434303030202020000000053130303030303030003030303030</header>
<field id="0" value="0800"/>
<field id="11" value="312700"/>
<field id="12" value="150127"/>
<field id="13" value="0824"/>
<field id="41" value="16021500"/>
<field id="42" value="000012709701103"/>
<field id="60" value="00123456001"/>
<field id="63" value="CUP"/>
</isomsg>
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/702d01c6-5c71-4f63-8217-7378038c7525%40googlegroups.com.