Hides the payment icons on checkout when the item in the card is a free trial
<?php
/*
 * Plugin Name: Easy Digital Downloads - Hide payment icons for trials
 * Description: Hides the payment icons on checkout when the item in the card is a free trial
 * Author: Chris Klosowski
 * Author URI: https://easydigitaldownloads.com/
 * Version: 1.0
 */

function edd_library_maybe_show_payment_icons() {
	if ( EDD_Recurring()->cart_has_free_trial() ) {
		remove_action( 'edd_payment_mode_top', 'edd_show_payment_icons' );
		remove_action( 'edd_checkout_form_top', 'edd_show_payment_icons' );
	}
}
add_action( 'init', 'edd_library_maybe_show_payment_icons', 99 );
To implement this snippet on your site, create a brand new, empty WordPress plugin and paste the above code inside.