Uninitialised Parameters using woocommerce_checkout_update_order_meta hook

So the code is fine. It must’ve been the way I was testing the checkout procedure that messed things up.

It worked after opening an incognito window and started the process from scratch…god these things are temperamental!