iOS Apple Pay certificate configuration

Source: Internet
Author: User

One environment configuration requires developer account

Developer Center Https://developer.apple.com/membercenter/index.action

    1. Add an app IDs


Two Configuring the Merchant IDs business ID


The following is a appids and business ID binding

Then, in return to Appids, look at the Apple Pay in the ID and find it becomes available.

The next step is to generate a certificate for the business ID.

Click Merchant IDs

Click ID. Click Edit.

There will be a hint message. Are you prompted to allow Apple Pay outside of the United States? Of course you have to choose Yes. Otherwise, how do you use it in China?

Then the next step

Request a CSR file using a keychain.

Request a certificate from a certification authority using a keychain, store to disk

Select the file you just generated. Upload

Download certificate after success

Double-click Install after download is complete

If this occurs after installation, the intermediate certificate of the system is expired. Need to update the root certificate of the system

https://www.apple.com/certificateauthority/Certificate Download update address

Two certificates are required here and installed after download. It's done.

All right. Certificate Configuration Series complete, next to Xcode inside continue to configure

First Open Apple Pay

Then select the business ID. If it doesn't come out, your developer account may not be logged on to Xcode,

OK, all of the above configurations are complete. Here is the code. Demo example.

iOS Apple Pay certificate configuration

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.