get_formatted_order_total(); $first_name = $order->get_billing_first_name(); $last_name = $order->get_billing_last_name(); if (!empty($first_name) || !empty($last_name)) { $customer_name = trim($first_name . ' ' . $last_name); } $customer_email = $order->get_billing_email(); $customer_phone = $order->get_billing_phone(); } ?> <?php esc_html_e('Erreur API Peppol', 'esi_peppol'); ?>