I want to integrate my website with AppStore to let customer pay through AppStore

本小妞迷上赌 提交于 2020-03-27 02:53:39

问题


I have an app that allows customer to do in app purchase. I also have a website and I'd like to let customer to pay on the website through as well, that is, make in app purchase also works on website. I am not sure if Apple allows their in app purchase work outside of apps, and if it does, how can I do that?

My website is written in Java

Thanks.


回答1:


You cannot implement in app purchases outside of the Apple ecosystem.

You would have to take payment another way through your website and then have a server side flag to indicate the user has paid. When the users opens the app check to see if they have paid through a call to the server and unlock the relevant content.

It would work the same for if the user paid through an in app purchase on an apple device - keep a record of this on the server and if they visit the website you can unlock the relevant content.



来源:https://stackoverflow.com/questions/41676103/i-want-to-integrate-my-website-with-appstore-to-let-customer-pay-through-appstor

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!