DEFECT FIXED: Saving checkout data to database
$wpdb global was missing
conversion when array returned from customer meta instead of string was not being done correctly