Can we use in-app purchase in enterprise apps for iOS?
Asked Answered
S

3

12

Can we use in- App purchase in an iOS App distributed as a enterprise app? If not possible can we use paypal or any other purchasing mechanism for that?Does Apple create any problem here as they did for Kindle App using payment other than their one?

Samadhi answered 11/10, 2011 at 9:57 Comment(0)
L
6

If you're not going to publish the application in the AppStore, you can use any purchasing mechanism that you want.

Lasonde answered 11/10, 2011 at 10:2 Comment(1)
Yes, you can use any purchasing mechanism you want... except StoreKit.Castorena
U
15

Since the Enterprise license doesn't cover App Store integration, your bundle ID isn't registered and approved with Apple, this alone means the StoreKit can't approve any transactions because it's not aware of your application.

Even if this wasn't true, the infrastructure behind StoreKit isn't in place for Enterprise apps.

In any case you could argue that in-app purchase in an Enterprise application doesn't really make sense since you would be providing this application to employees, not customers.

Utgardloki answered 27/9, 2012 at 21:20 Comment(3)
That's why when I test the In-App purchase on our app with Enterprise provisioning profile, it does not work.Toronto
Thanks @Daniel, if I can't use IAP with enterprise-signed apps how can I provide to my customer an app version which can be tested (even with sandbox accounts) before app store submission? Can Testflight be a solution? Distributing the application with testflight will IAP work?Herdsman
@AndreaGorrieri You can use TestFlight to test purchases in Sandbox mode. For real purchases you can submit your app (and in-app products) for review with manual release. After the app has been accepted (but before release) you can test by generating app version and product promo codes - this will function exactly as any real purchase.Swash
L
6

If you're not going to publish the application in the AppStore, you can use any purchasing mechanism that you want.

Lasonde answered 11/10, 2011 at 10:2 Comment(1)
Yes, you can use any purchasing mechanism you want... except StoreKit.Castorena
S
1

This link shows all the types of accounts and what capabilities each of them allows: https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/SupportedCapabilities/SupportedCapabilities.html#//apple_ref/doc/uid/TP40012582-CH38-SW1

Apple Enterprise apps do not support In App Purchase, but they support a lot of other stuff

Sokol answered 24/6, 2016 at 0:50 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.