How to I do IAP with Unity for both Android and iOS?

0 votes
Hi,
 
I'm currently trying to figure out how to do in-app purchases for real money (not virtual money) with Unity for an app I'm planning to release to both Android and iOS.
 
Everything else in the API seems straight forward, I've read through the cart section of the API and tested out the store widget for Unity but it seems these aren't what I'm looking for. I can see there's a widget that allows IAP for iOS but there isn't the same widget for Unity. 
 
Is IAP functionality for Unity built into the API? Could you let me know how I can go about doing IAP with Unity for both Android and iOS?
 
Many thanks!
Stephen
 
asked Apr 26, 2015 in App42PaaS & BPaaS by pentex_1 (16 points)

1 Answer

+1 vote
 
Best answer
Hi Stephen,

Currently we dont have any widget to support in-app purchase for Unity. However you can go through following links that may help you to write a plug-in of your own:
http://docs.unity3d.com/Manual/iphone-Downloadable-Content.html
http://docs.unity3d.com/Manual/NativePlugins.html
Let me know if it helps.

Thanks.
answered Apr 27, 2015 by rajeev.etc (1,660 points)
selected Apr 28, 2015 by pentex_1
Thanks very much for the prompt reply :)

I just wanted to ask a few more questions to fully clarify.

1) Does the iOS widget handle in-app purchases with real money and not just virtual items?

2) Will you be releasing widgets for Android and Unity at any point in the near future for in-app purchases?

3) Does the iOS in-app purchase widget use the App42 API? Can any part of the App42 API be used for in-app purchases? I take it the cart functionality is just for purchasing of virtual items and doesn't use real money?

4) Is there any other 3rd party middle-ware or plugin that you recommend? I noticed that OpenIAB looks good for Android but it doesn't support iOS IAP. http://onepf.org/openiab/

5) Do other BaaS provide in-app purchase support? Will this be something added to App42 in the future?

Many thanks!
Stephen
Hi Stephen,

Find your answers below:

1.The iOS widget uses Apple In-App Purchase that deals with real money to buy  products you define on iTunes Connect.

2.Yes, we do have it in our pipeline and will update this thread once come up with the timeline.

3.No, iOS widget does not use App42API.

4.Unity Asset store might have some plug-in for it but you need to search.

5.Yes, we do have it in our pipeline and will update this thread once come up with the timeline.

Let me know if it helps.
Thanks.
Thanks for such a detailed answer. Looking forward to unity widget becoming available :) Until then I'll probably use App42 for backend stuff like global high scores and facebook integration and Soomla for IAP/IAB. https://www.assetstore.unity3d.com/en/#!/content/6103

Thanks!
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...