Alwyn Schoeman | 13 Mar 2006 04:03
Picon

Re: RRN

Also if you have a system that is made up of lots of servers that could
generate an RRN, you
might want to have a system where part of the RRN is a server identifier so
that you can
be sure that the RRN will be unique across your whole system.  You could
also use a central
database, but that has a performance price tag.

On 3/12/06, Alejandro Revilla <apr@...> wrote:
>
>  >
> > Does the current Jpos have the class (method) to create RRN or similar
> > number? I saw in Jpos there is VolatileSequencer. But with
> > VolatileSequencer, the length of the number created is not fixed. RRN
> > should be fixed length (AN12).
> >
> You are free to use whatever you want as RRN. That
> could be a sequencer, your transaction id, whatever.
>
> In some other systems, we use a combination of date plus the STAN.
>
> In some other systems we encode our transaction ID along with a little
> hash that we use as RRN-authentication-code, so at first glance, we can
> reject RRNs not generated by us (call us paranoid). This can be useful
> in batch-upload situations where you basically have to trust the merchant
> to send you pre-authorized transactions (think database crash at the
> acquirer).
>
> Don't worry if you come up with something smaller than 12 alphanumeric
> digits, jPOS will take care of padding it. Anyway, you can use any of
> our padding methods (such as ISOUtil.strpad, ISOUtil.zeropad, etc.).
> (http://jpos.org/doc/javadoc/org/jpos/iso/ISOUtil.html)<http://jpos.org/doc/javadoc/org/jpos/iso/ISOUtil.html%29>
>
>
>
>
>  SPONSORED LINKS
>   Programming
languages<http://groups.yahoo.com/gads?t=ms&k=Programming+languages&w1=Programming+languages&w2=Computer+security&w3=C+programming+language&w4=Computer+programming+languages&w5=Computer+training&c=5&s=137&.sig=Z4Ay-DEwtPucQO2jS_QhOQ>
 Computer
>
security<http://groups.yahoo.com/gads?t=ms&k=Computer+security&w1=Programming+languages&w2=Computer+security&w3=C+programming+language&w4=Computer+programming+languages&w5=Computer+training&c=5&s=137&.sig=z6q_aAWUuuXTIgKIk9hZyw>
 C
> programming
language<http://groups.yahoo.com/gads?t=ms&k=C+programming+language&w1=Programming+languages&w2=Computer+security&w3=C+programming+language&w4=Computer+programming+languages&w5=Computer+training&c=5&s=137&.sig=75eBOAPL8-TyzvQjgLlb2Q>
  Computer
> programming
languages<http://groups.yahoo.com/gads?t=ms&k=Computer+programming+languages&w1=Programming+languages&w2=Computer+security&w3=C+programming+language&w4=Computer+programming+languages&w5=Computer+training&c=5&s=137&.sig=0uHfuTpRXnVrPiAaIhb9pA>
 Computer
> training<http://groups.yahoo.com/gads?t=ms&k=Computer+training&w1=Programming+languages&w2=Computer+security&w3=C+programming+language&w4=Computer+programming+languages&w5=Computer+training&c=5&s=137&.sig=Ag6CYuXpk39dZGSYBkQaXw>
>  ------------------------------
> YAHOO! GROUPS LINKS
>
>
>    -  Visit your group "jpos-dev<http://groups.yahoo.com/group/jpos-dev>"
>    on the web.
>
>    -  To unsubscribe from this group, send an email to:
>     jpos-dev-unsubscribe@...<jpos-dev-unsubscribe@...?subject=Unsubscribe>
>
>    -  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>    Service <http://docs.yahoo.com/info/terms/>.
>
>
>  ------------------------------
>

--
Alwyn Schoeman

[Non-text portions of this message have been removed]

 

Gmane