Fix taxation processing and order number generation