Apple Pay准备工作-申请MerchantID及对应证书详细图文教程
2016-02-26 14:06
357 查看
Apple Pay准备工作-申请MerchantID及对应证书详细图文教程
在接入Apple Pay之前,首先要申请MerchantID及对应证书。
准备工作:
本地先生成一个CSR文件备用,用于申请证书。教程:MAC下生成CSR(.certSigningRequest)文件
申请 MerchantID
登录苹果开发者中心,在Identifiers下选择Merchant IDs,点击右上角添加按钮添加Merchant ID;输入描述信息和标识符,点击继续
![](http://upload-images.jianshu.io/upload_images/1024259-2a0213fa1ad1f1bd.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
MerchantID1.png
这是刚才的信息的确认,没问题下一步,有问题back(返回)进行修改
![](http://upload-images.jianshu.io/upload_images/1024259-47e2792e3656d394.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
MerchantID2.png
MerchantID申请完成
![](http://upload-images.jianshu.io/upload_images/1024259-d136ecd43ea8a4e2.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
MerchantID3.png
申请证书
下面的就是创建证书了,除了下面的点击编辑进行创建证书外,还可以在Certificate 下创建一个Production-Apple Pay Certificate进行创建。![](http://upload-images.jianshu.io/upload_images/1024259-61ba51b6d05bbcdc.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
MerchantID4.png
如果需要在非美国使用Apple Pay,需要打开权限
![](http://upload-images.jianshu.io/upload_images/1024259-57cb15cfb19ed4c8.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
MerchantID5.png
点击下一步会需要CSR文件,可以使用刚开始创建好的CSR文件。
![](http://upload-images.jianshu.io/upload_images/1024259-4d5fb9c1cafd81ed.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
MerchantID6.png
选择CSR文件
![](http://upload-images.jianshu.io/upload_images/1024259-849b4b363f7e7882.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
MerchantID7.png
![](http://upload-images.jianshu.io/upload_images/1024259-4ae796f531213941.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
MerchantID8.png
Bundle identifier
虽然在Xcode上设置也能同步到开发者中心,但是同步过来的信息不全,最好还是我们手动添加APP ID在APP IDS下点击创建APPID
设置APPID描述、Bundle id和服务。
![](http://upload-images.jianshu.io/upload_images/1024259-533231c675a09cc1.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
Bundle identifier1.png
![](http://upload-images.jianshu.io/upload_images/1024259-d02d75277d99edd6.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
Bundle identifier2.png
这里的黄色表示没有生效,稍后我们还需要进行配置。
![](http://upload-images.jianshu.io/upload_images/1024259-7680c0b0be3e1fd0.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
Bundle identifier3.png
下一步
![](http://upload-images.jianshu.io/upload_images/1024259-48a6b4d0ab8f7b9c.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
Bundle identifier4.png
回到APPID列表,选择我们创建的APPID点击编辑,对Applepay进行配置
![](http://upload-images.jianshu.io/upload_images/1024259-74592ad580d174fc.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
Bundle identifier5.png
找到下面Applepay进行配置
![](http://upload-images.jianshu.io/upload_images/1024259-2e3e5df0221d5158.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
Bundle identifier6.png
选择应用要使用的merchantID,为什么可以多选,我也不知道,有知道的可以回复,谢谢
![](http://upload-images.jianshu.io/upload_images/1024259-5ba4041fba5f4f72.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
Bundle identifier7.png
点击分配
![](http://upload-images.jianshu.io/upload_images/1024259-688fc4987dc085de.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
Bundle identifier8.png
后面还有一个是完成,就不上图了。
到此我们的MerchantID及对应证书,还有APPID的申请就完成了,大家可以会带代码继续接入Applepay了。
相关文章推荐
- iOS的开源项目
- iOS NSFileHandle 基本用法介绍
- Android按钮的各个样式设置
- Apple Pay接入详细教程
- 极光推送,极光IM使用指南(AndroidStudio)
- Android之USB转串口通信
- 微信企业号开发之地理位置获取
- 缺乏细节的应用,无异于行尸走肉:你不知道的 App 细节设计
- iOS 中有用的开源库
- android app Lose Weight
- 《从零开始学Swift》学习笔记(Day 70)——Swift与Objective-C混合编程之Swift与Objective-C API映射
- Windows下AndroidStudio 中使用Git(AndroidStudio项目于GitHub关联)
- iOS MTA的SDK插入,以及基本功能实现
- iOS开发,定位当前所在地理位置偏移,坐标转换
- Line: 209 - com/opensymphony/xwork2/spring/SpringObjectFactory.java:209:-1
- Android Studio中获取SHA1或MD5的方法
- android ScheduleExecutorService定时周期执行指定任务
- 关于16年2月14日以后上传AppStore出现:Missing iOS Distribution signing identity for...的问题
- Android开发深化之关于自定义GridView控件的实现
- 用CGContextRef一些画图画线的方法