If an order cannot be transferred correctly, please check whether the parameter validate = 0 was set correctly?
With $ args -> validate = 1 the order is not transferred to the UP system and no order number is returned.
In this case, set the parameter as follows. $ args -> validate = 0