; and (B) does not include any individual appointed as a member of the Senior Foreign Service or, except for a general or flag officer of the Armed Forces, solely as a uniformed service commissioned officer. . (2) Other representation of foreign entities Section 207(f)(1) of title 18, United States Code, is amended by inserting after within 1 year the following: (or, in the case of a person who is subject to any of such restrictions and who is a Member of Congress, a senior political appointee (as that term is defined in section 12 of the Foreign Agents Registration Act of 1938, as amended ( 22 U.S.C. 611 et seq. )), or a general or flag officer of the Armed Forces, at any time) . (b) Effective date The amendments made by subsection (a) shall apply with respect to any individual whose service as a Member of Congress or as a general or flag officer of the Armed Forces terminates on or after the date of the enactment of this Act. III Stop Foreign Donations Affecting Our Elections 301. Short title This title may be cited as the Stop Foreign Donations Affecting Our Elections Act . 302. Requiring disclosure of credit verification value as condition of acceptance of online contributions to Federal election (a) In general Section 302 of the Federal Election Campaign Act of 1971 ( 52 U.S.C. 30102 ) is amended by adding at the end the following: (j) (1) No political committee shall accept any internet credit card contribution unless— (A) the individual or entity making such contribution is required, at the time such individual makes such contribution, to disclose the credit verification value of such credit card ; and (B) (i) the billing address associated with such credit card is located in the United States; or (ii) in the case of a contribution made by an individual who is a United States national or lawful permanent resident living outside of the United States, the individual provides the committee with— (I) the United States mailing address the individual uses for voter registration purposes