NEW YORK (AP) — PayPal helped invent online checkout. Nearly three decades later, it’s struggling to defend its turf.The iconic online payments company is facing its biggest challenge in nearly three decades of existence. Its core business of customers using the app to check out when shopping online is barely growing and new management has bluntly warned investors that “significant changes” will be needed to fix the company’s problems.One of the biggest success stories of the original dot-com era, PayPal has seen its territory steadily conquered by new and existing competitors, particularly Apple, Shopify, the buy now, pay later companies like Affirm and Klarna, and peer-to-peer money transfer services like Cash App and Zelle, particularly in the past five years.As a result, PayPal’s stock has fallen nearly 40% in the past 12 months. The stock, which soared during the pandemic as millions of Americans started shopping online for groceries and other necessities, has plunged roughly 80% in the past five years as investors worried that PayPal missed an opportunity to leverage its name recognition and dominance in online payments and allowed its competitors to take market share that will be hard to recover.