Clean up the edd_record_taxed_amount() function