GithubHelp home page GithubHelp logo

applepaydemo-1's Introduction

概览

配置

注册 Merchant ID

使用 Apple Pay 的前提是必须注册一个 Merchant ID

  1. 在开发者后台选择 Merchant IDs 标签 ,设置你的 Merchant ID,注册系统会默认添加 merchant. 前缀,如下图
    merchant id

  2. 注册完成后再次选择 Merchant IDs 标签,在列表中点击 ApplePayDemo,点击 Edit

  3. 由于我们是在**区使用 Apple Pay,所以在 Merchant SettingsAre you processing your payments outside of the United States? 选项中勾选 Yes
    outside us

  4. 继续生成 CSR,这一步跟 APNSCSR 生成步骤是一样的,不再赘述,请大家参考相关资料

注册 App ID

  1. 在开发者后台选择 App IDs 标签 注册 App ID 并指定 Bundle ID,例如 com.example.appid,在 App Services 中记得勾选 Apple Pay
    App Services

  2. 注册完成再次选择 App IDs 标签,点击刚才所注册的 App ID,点击 Edit 按钮
    App ID Settings

  3. Apple Pay 中点击 Edit,然后选择你刚才生成的 Merchant ID
    configure merchant id

生成 Provisioning Profile 并配置 Xcode 项目

  1. 在开发者后台选择 Provisioning Profiles 标签 ,根据刚才的 App ID 生成 Profile,完成后下载文件,双击文件完成导入

  2. 创建 Xcode 项目,设置相应的 Bundle ID。完成后在项目的 TARGETS 项中选择 Capabilities 标签,打开 Apple Pay 选项并配置相应的 Merchant ID
    Xcode project settings

开发

applepaydemo-1's People

Contributors

zhimeilrc avatar lintide avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.