European rival to PayPal and Square makes $317 million acquisition to expand in the U.S.