edd_process_verified_download

This action runs during the file download process, just after the purchase has been verified but before any headers are sent.

do_action( 'edd_process_verified_download', $download_id, $email );