You aren't actually using In-App Purchases. You're directing the user to a completely separate payment system outside of the App and outside of the App Store. That's why it was rejected.
It's one of the rules of the App Store.
If you can't use an actual In-App Purchase via Capacitor (whatever that is), then you can't launch this app.
Topic:
App Store Distribution & Marketing
SubTopic:
App Review