The following code snippet shows you how you can disable confirmation on unlock achievements and ranks by expending points.
Disable confirmation for achievements:
add_filter( 'gamipress_achievement_unlock_with_points_confirmation', '__return_false' );
Disable confirmation for ranks:
add_filter( 'gamipress_rank_unlock_with_points_confirmation', '__return_false' );