由于公司app审核遭拒,苹果公司回复需要走苹果内购。因此特意去看了周多软件看了他们是怎么做的,扒了网上很多帖子现在整理如下:
一、apple pay 和 In-App Purchase(app内购)是两回事吗?
Apple Pay是苹果基于NFC技术和银联云闪付的pos机终端的碰触式硬件功能,主要是用于线下和实物类支付场景。
IAP内购是苹果专门针对App内的付费虚拟服务和付费内容产业的话语权而已,走不走内购主要看你的东西是不是付费了要留存在App内使用和操作。
二、如何集成apple pay 和 In-App Purchase?
1、集成apple pay (银联)
银联开放平台apple pay支付 : https://open.unionpay.com/ijweb/product/detail?id=167
开发文档:https://open.unionpay.com/ajweb/product/detail?id=80
开发包: https://open.unionpay.com/ajweb/help/file/toDetailPage?id=505&flag=2
2、In-App Purchase (IAP):
itunes connect配置文档:
https://developer.apple.com/library/prerelease/content/documentation/LanguagesUtilities/Conceptual/iTunesConnectIn AppPurchase_Guide_SCh/Chapters/Introduction.html#//apple_ref/doc/uid/TP40014488
开发文档:
https://developer.apple.com/library/prerelease/content/documentation/NetworkingInternet/Conceptual/StoreKitGuide/Introduction.html#//apple_ref/doc/uid/TP40008267
收据验证:
https://developer.apple.com/library/prerelease/content/releasenotes/General/ValidateAppStoreReceipt/Introduction.html#//apple_ref/doc/uid/TP40010573
测试步骤:
https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/StoreKitGuide/Chapters/DeliverProduct.html#//apple_ref/doc/uid/TP40008267-CH5-SW12
参考:
iOS 集成apple Pay 接入详细教程
IOS 内支付那点事
In-App Purchase Walk Through