内购的场景
1.如果你购买的商品,是在本app中使用和消耗的,就一定要用内购,否则会被拒绝上线,例如:游戏币,在线书籍,app中使用的道具等。本例中,就是直播中你用来打赏用的金币,那东西可就属于消耗型的。
2.如果是直接购买商城之类的快递包邮的那些东东,那就直接调用支付宝,微信啦,之类的三方支付就好了,淘宝,京东都玩过哈!
比较坑的一点就是,内购的话,还要和苹果3/7分成,那就可以说,充值相同的钱,相对来说,iOS是比安卓亏的!
内购的流程
一.向appStore提交资料
登录itunes connect
![](http://upload-images.jianshu.io/upload_images/1398395-9030fe16ca08c784.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/590/format/webp)
![](http://upload-images.jianshu.io/upload_images/1398395-d8c84b580c5bc31c.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/963/format/webp)
![](http://upload-images.jianshu.io/upload_images/1398395-d9910057b502cbf2.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/763/format/webp)
操作完第三步然后记得保存
![](http://upload-images.jianshu.io/upload_images/1398395-7fde3eab092b9108.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1000/format/webp)
![](http://upload-images.jianshu.io/upload_images/1398395-1033b196cb520257.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1000/format/webp)
先点击Contact Info 的Set Up
![](http://upload-images.jianshu.io/upload_images/1398395-de6d55bc32bd46d0.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/989/format/webp)
![Uploading 第七步_006422.png . . .]
都填写完记得保存,然后回到上一个页面
![Uploading 第八步_134993.png . . .]
![](http://upload-images.jianshu.io/upload_images/1398395-b75f6d8466df55ff.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/979/format/webp)
![](http://upload-images.jianshu.io/upload_images/1398395-45564f1263d473e1.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/994/format/webp)
![](http://upload-images.jianshu.io/upload_images/1398395-09e5c0d56bfd4479.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/997/format/webp)
![](http://upload-images.jianshu.io/upload_images/1398395-29584120ba5737d0.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1000/format/webp)
进行十二步的时候可能有些银行通过苹果这个方法查不到,就需要借助百度了,一定要准确查询,否则会有问题。我这里推荐一个地址https://e.czbank.com/CORPORBANK/query_unionBank_index.jsp
![](http://upload-images.jianshu.io/upload_images/1398395-b7e69a30f8343920.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/982/format/webp)
这一步需要注意的是,货币类型可能有歧义,看你是想收美元还是人民币了,都说美元合适。不过,我做的时候为了避免事情,还是选择了CNY,支持国产。还有一点,银行账号如果是对公的账号,需要填写公司的英文名称,如果没有的话,上拼音!然后点击保存银行信息就算ok了,然后退回到最开始的页面
![](http://upload-images.jianshu.io/upload_images/1398395-e06158d5220557c0.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/989/format/webp)
![](http://upload-images.jianshu.io/upload_images/1398395-fbceacf18da18d24.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/802/format/webp)
![Upload 第十六步.png failed. Please try again.]
![](http://upload-images.jianshu.io/upload_images/1398395-3ed2f7048837fcd3.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1000/format/webp)
![](http://upload-images.jianshu.io/upload_images/1398395-df07b6d05e93e998.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/957/format/webp)
![](http://upload-images.jianshu.io/upload_images/1398395-b68251798e1c2641.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/955/format/webp)
这里要注意的是,虽然这个页面看起来要填写的信息很多,其实很多都没有什么卵用,都是对于美国那边什么法律需要配合的那些,一般咱们都不用,只需要把该勾选的地方勾选,然后提交就好了
![Uploading 第二十步_761551.png . . .]
![](http://upload-images.jianshu.io/upload_images/1398395-9fb520a4d1895678.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/716/format/webp)
![](http://upload-images.jianshu.io/upload_images/1398395-2def3f73b4bf768a.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1000/format/webp)
注意:若应用是首次做内购的话,必须等审核信息通过,下面流程中,申请了产品ID,在代码中才会有对应的产品信息
![](http://upload-images.jianshu.io/upload_images/1398395-248cc8e7fa1f26a0.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1000/format/webp)
二.创建内购项目
![](http://upload-images.jianshu.io/upload_images/1398395-bf7f115f8ea5c325.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1000/format/webp)
![](http://upload-images.jianshu.io/upload_images/1398395-9977f59526dca741.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/843/format/webp)
![](http://upload-images.jianshu.io/upload_images/1398395-cb14c288f88a8b3f.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/953/format/webp)
![](http://upload-images.jianshu.io/upload_images/1398395-b5366b1564ba55cf.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/923/format/webp)
![](http://upload-images.jianshu.io/upload_images/1398395-41fca1c4b891c72a.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/582/format/webp)
注意在这个流程中,我们会测试,以至于随便填写123,等数据,我们最好不要这样写,因为即使之后可以删除,但是也不能删除记录,会造成这个界面相当的乱。。。
![](http://upload-images.jianshu.io/upload_images/1398395-5cb900cf8cb9e0cf.jpeg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1000/format/webp)
注册沙箱账号
![](http://upload-images.jianshu.io/upload_images/1398395-7a395562beed3099.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1000/format/webp)
![](http://upload-images.jianshu.io/upload_images/1398395-40ba0eb9735bf2b7.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/998/format/webp)
![](http://upload-images.jianshu.io/upload_images/1398395-9d961fc2ccb991a4.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1000/format/webp)