Im looking for something like this:
function mysite_woocommerce_payment_complete( $order_id ) {
error_log( "Payment has been received for order $order_id made by $username", 0 );
}
add_action( 'woocommerce_payment_complete',
'mysite_woocommerce_payment_complete' );
But how do i get the username?