Get Current Post ID in WP Loop For GiveWP

Try using this:

$post_id = get_the_ID();

OR

global $post;
$post_id = $post->ID;

OR

$post = $wp_query->post;
$post_id = $post->ID;