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