Enable Apple Pay in your store's iOS app
If you have your own iOS app or you're developing one, you can include support for Apple Pay. Customers using your app will then have the option of paying with Apple Pay, instead of providing their credit card details.
Did you know?
Your app must run on iOS 8.1 or higher.
Before you begin
Before you can enable Apple Pay for your iOS app, you need:
- an Apple Mac with Xcode installed
- an Apple Developer Account
- membership of Apple's iOS Developer Program
Install Xcode on your Apple Mac
To enable Apple Pay, you'll need a Mac with Xcode 6.1 or later installed. You can install or upgrade Xcode in the Mac App Store.
Obtain an Apple Developer Account
2. Click one of these options:
|Sign in||Choose this if you want to register with the same Apple ID you use for other Apple services, such as the Apple Online Store.|
|Create Apple ID||Choose this if you're in the iOS Developer Enterprise Program, have an iTunes Connect account, or want to use a separate Apple ID for business.|
3. When you've signed in with your Apple ID, you'll be asked to accept the Apple Developer Agreement.
Scroll down to the end, click the checkbox, then click Agree.
4. On the next page, complete the fields as needed, then click Register.
5. You'll see a confirmation message showing your registration details. Click Continue.
You can now go on to join Apple's iOS Developer Program.
Join Apple's iOS Developer Program
There's a fee to enroll in the iOS Developer Program.
1. Sign in to your developer account at https://developer.apple.com/register/index.action.
2. From the Member Center, click Your Account.
3. Scroll down to the Memberships section.
4. Next to iOS Developer Program, click Join Today.
5. Click Enroll now to pay the fee.
Obtain an Apple Pay certificate
Make sure you have an Apple Developer Account, then follow these steps to obtain an Apple Pay certificate (the certificate is required for the encryption of outgoing payment data):
1. Within the Mobile App Channel, on the Integrations page, click Enable Apple Pay.
2. Click Download CSR to download a Certificate Signing Request.
You'll need the CSR to obtain your certificate from Apple.
3. The next screen shows you a summary of the steps you must complete on the Apple Developer site, to generate the certificate:
Log into the Apple Developer Center if you haven't already, and complete each step in turn.
You can skip Apple's directions on obtaining a CSR, as you've already downloaded it.
4. When you've completed all the steps, click Next: Upload Certificate.
5. Click Upload Certificate to upload the certificate generated by Apple and complete the setup of Apple Pay.
Now you must activate your merchant ID in your iOS app.
Activate your merchant ID in your iOS app
When you've created a new Apple Pay certificate, you must activate your merchant ID to make Apple Pay available in your iOS app.
Before you begin, make sure that you have Xcode installed on your Mac.
1. In Xcode, open your project settings.
2. Choose the Capabilities tab, and slide the Apple Pay switch to ON.
3. Log in to your Developer Account if you're asked to.
4. Enable the Apple Pay Identifiers checkbox next to your merchant ID.
iOS Buy SDK
For information about building an iOS app that supports Apple Pay, read our iOS Buy SDK docs ›