Announcement

Collapse
No announcement yet.

Problem on Order number

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Problem on Order number

    Hi. I upgraded the my site from 8.0 to 8.5.1 on Friday. I had a modification on orderscript.pl to have a order number in this way : INTxxxxx.
    The change is : $::s_sOrderNumber = "INT" . substr($$::g_pSetupBlob{CGI_ID}, -1) .
    substr("0000" . $nCounter, -4);

    Since I upgraded the site in 8.5.1, the order number is bad. The last one was :BA550145122300 !
    When I upgraded to 8.5.1, it changed the orderscript.pl, so I modify this part to shorten the oder number.
    Perhaps this modification is not compatible with the 8.5.1 script ?
    I joint the file to this post.
    So if there is someone to explain me how I can shorten the Order Number (my bank do not accept more than 8 digits), it would be helpfull : I cannot get any order since Friday !
    Thanks
    Attached Files
    Didier
    www.supreme.fr
    _____________________
    Saint Malo. France

    #2
    It works ! I don't understand really why, but it is OK.
    Didier
    www.supreme.fr
    _____________________
    Saint Malo. France

    Comment

    Working...
    X