How to save order item custom attributes save into custom table

You can use ‘woocommerce_checkout_order_processed‘ action or ‘woocommerce_thankyou‘ hook.

woocommerce_checkout_order_processed‘ is called when order is being processed, whereas ‘woocommerce_thankyou‘ is called when the order is being placed.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)