Hi there we are having the same issue as this on one of our websites using the Free version of the plugin (4.10.0) , WordPress 6.4.3 and PHP 8.2.16 if that is any help, using the Gutenberg block based checkout.
Gift Voucher codes are not created against the order (or sent out) until the order is marked “completed”, when we expect it to occur on processing.