Thanks for getting back to me. OK SCREEN SHOOTS SHOWING WHAT I DID INCLUDING WHERE I ADDED THE CODE TO functions.php AND WHAT I ADDED, BUT STILL NOT SENDING EMALE AS REQUIRED.
add_action('woocommerce_gravityforms_entry_details_updated', 'gf_wc_update_order_status_email', 30, 2);
function gf_wc_update_order_status_email($entry_id, $order_id) {
//Field IDs to Update
$payment_status_field_id = ‘6’;
$payment_email_field_id = ‘7’;
$the_order = wc_get_order($order_id);
if ($the_order->is_paid()) { // comment if not need to check if order paid
GFAPI::update_entry_field($entry_id, $payment_status_field_id, $the_order->get_status());
GFAPI::update_entry_field($entry_id, $payment_email_field_id, $the_order->get_billing_email('email'));
$entry = GFAPI::get_entry($entry_id);
if ($entry && isset($entry['form_id'])) {
$form_id = $entry['form_id'];
$form = GFAPI::get_form($form_id);
$notification_ids = array();
foreach ($form['notifications'] as $id => $info) {
array_push($notification_ids, $id);
}
GFCommon::send_notifications($notification_ids, $form, $entry);
}
} // comment if not need to check if order paid
}