Per the App Store Review guidelines: https://developer.apple.com/app-store/review/guidelines/#una... If payment is taken IN the app, not using Apple Pay, and not to an approved non-profit, it's in direct violation and should be removed.
I've had to update multiple apps that took donations, in order to pay for development work, and Apple absolutely won't let that fly anymore. On Apple's behalf, this unacceptable, illegal, and infuriating. I might consider joining a class-action lawsuit like this one: https://www.hbsslaw.com/uploads/case_downloads/apple-dev/201...