I just added payments into my app and submitted to the app store. Apple rejected the binary with this message:
We discovered that your app contains hidden features. Attempting to hide features, functionality or content in your app is considered egregious behavior and can lead to removal from the Apple Developer Program.
Specifically, we found that your app includes Stripe.io, which provides access to external payment mechanisms and enables the purchase of content, services, or functionality by means other than the in-app purchase API.
Is this a known issue or did I set it up wrong? Any advice is welcome!
Guideline 3.1.1 - Business - Payments - In-App Purchase
We noticed that your app offers a subscription with a mechanism other than the in-app purchase API.
Specifically, users are able to purchase a subscription under the ‘Practice’ section.
Next Steps
To resolve this issue, please revise your app to ensure that the subscription for products used within the app is offered using the in-app purchase API, with the exception of the content specified in guideline 3.1.3 of the App Store Review Guidelines.