Transaction amount exceed 12 digit?

27 views
Skip to first unread message

A Haris Kurniawan

unread,
Dec 6, 2016, 4:27:28 AM12/6/16
to jPOS Users
Hello Guys,

i'm wondering does this ever happened to you guys?
the transaction amount exceed 12digit, yes it exceed 12 digit.

should i just extend the bit-4 length to lets say 14 digit, is that a best practice?
or should i better put the transaction amount somewhere else like bit-47 or bit-48

TIA
cheers

Victor Salaman

unread,
Dec 6, 2016, 4:38:38 AM12/6/16
to jpos-...@googlegroups.com
Hi:

That would be non-standard, your packager should be aligned to what your endpoint is expecting and I don't think they're expecting anything other than the standard. Nonetheless when in doubt, ask them :)

Cheers,

/V

--
--
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+unsubscribe@googlegroups.com.
To post to this group, send email to jpos-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/f7bd8937-1372-448d-a497-571de16ffce8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alejandro Revilla

unread,
Dec 6, 2016, 9:54:03 AM12/6/16
to jPOS Users
I'm curious to know the currency code (field 49) of that transaction.


--

Luiz Felipph

unread,
Dec 6, 2016, 12:52:31 PM12/6/16
to jpos-...@googlegroups.com
Back in early 90's, everyone in Brazil was a milionaire. Some are bilionaire. It's possible 12 digits =P

Felipph

Alejandro Revilla

unread,
Dec 6, 2016, 6:09:54 PM12/6/16
to jPOS Users
Back in 076s days :)


A Haris Kurniawan

unread,
Dec 6, 2016, 11:28:26 PM12/6/16
to jpos-...@googlegroups.com
And also countries with long history of high inflation rate. Exceeding 12digit amount is very possible

So what is the best practice?

--
--
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+unsubscribe@googlegroups.com.
To post to this group, send email to jpos-...@googlegroups.com.

chhil

unread,
Dec 6, 2016, 11:36:59 PM12/6/16
to jpos-...@googlegroups.com

Do you control the specification?
You need to realize,  transactions get forwarded and at some point the standard 12 will be needed.
You could use a private custom field to send the amount and the receiver needs to be aware of it,  then it's his headache to forward it ;-)

You could define the field as binary and cram in twice the number of digits. But at the end of the day the receiving entity needs to be aware of the format and size to handle and forward appropriately.

-chhil


On Wed, Dec 7, 2016, 9:58 AM A Haris Kurniawan <haris.k...@gmail.com> wrote:
And also countries with long history of high inflation rate. Exceeding 12digit amount is very possible

So what is the best practice?
On Dec 7, 2016 6:09 AM, "Alejandro Revilla" <a...@jpos.org> wrote:
Back in 076s days :)


--
--
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.

--
--
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 post to this group, send email to jpos-...@googlegroups.com.

Mark Salter

unread,
Dec 7, 2016, 9:23:02 AM12/7/16
to jPOS Users


On Wednesday, December 7, 2016 at 4:36:59 AM UTC, chhil wrote:

You could define the field as binary and cram in twice the number of digits.

Using a nibble (half byte) per digit would double, but full binary value would allow transport of values from 0 to
79228162514264337593543950335

:-)

--
Mark
Reply all
Reply to author
Forward
0 new messages