I have a custom $_SESSION variable.
I want to store it in the database upon order completion.
Either as a new column in the posts table, or an additional row in the posts_meta table (any thoughts on which is better). Or I suppose it could be an additional table in the database.
How do I insert that data from my session variable into the database?
Thanks for any help, I'm pretty new to WooCommerce.