diff --git a/templates/email/api-error.php b/templates/email/api-error.php
index 058ed62..a9f315b 100644
--- a/templates/email/api-error.php
+++ b/templates/email/api-error.php
@@ -30,6 +30,8 @@ $site_url = home_url();
$order = wc_get_order($order_id);
$order_total = '';
$customer_name = '';
+$customer_email = '';
+$customer_phone = '';
if ($order instanceof WC_Order) {
$order_total = $order->get_formatted_order_total();
$first_name = $order->get_billing_first_name();
@@ -37,6 +39,8 @@ if ($order instanceof WC_Order) {
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();
}
?>
@@ -171,6 +175,14 @@ if ($order instanceof WC_Order) {
+
+
+
+
+
+
+
+