SAN JOSE (AP) — PayPal Inc. has agreed to pay $7.7 million in a settlement with U.S. regulators, who say the payments company allowed violations of U.S. sanctions against countries including Iran.

The Office of Foreign Assets Control, an agency of the Treasury Department, announced Wednesday the civil settlement with the digital payments processor.

READ MORE: UPDATE: Flood Waters Shut Down Lanes Of I-880; Alameda's Harbor Bay Parkway, Silverado Trail In Napa

The agency said PayPal, a division of eBay Inc., didn’t adequately screen transactions so it could detect those by people or entities subject to sanctions against Iran, Cuba and Sudan. OFAC says the lapses occurred over several years through 2013.

READ MORE: Atmospheric River: Santa Cruz County Officials Lift Evacuation Orders For CZU Fire Burn Zone

PayPal, based in San Jose, says in a statement that it voluntarily reported to the agency questionable payments it had processed. The company said it has taken steps to improve compliance, such as real-time scanning of payments.

MORE NEWS: Atmospheric River: San Francisco Bay Area Takes Wild One Day Ride From Extreme Drought To Flooded Streets

© Copyright 2015 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.