When you have your merchant ID and merchant certificate, you can then support Apple Pay in your projects by enabling it in your configuration settings. This movie demonstrates all the steps involved in that process. Once Apple Pay is enabled in your application, you can build your application according to Apple's guidelines.
- [Voiceover] Now that the certificates are ready we can actually create the Xcode project and associate that with our certificate. So I'll create a new Xcode project from the welcome screen. And under iOS Application I'm going to choose Single View Application and click Next. For the product name we'll call this Apple Pay with Stripe. Leave the rest at their defaults. Make sure we have Swift for the language, then click Next. Then I'm going to save this in Exercise Files, Chapter 01, Enable, Final.
Now if you're saving this you want to make sure you save it in the Start folder. The Start folder is empty for you to save this project. So I'm saving mine in Final and I'll click Create. Once you've created your project the first step is to go over to the Capabilities tab. So you want to make sure your project's selected and then go over to the Capabilities tab. Then you want to turn on Apple Pay. When you're trying to turn on Apple Pay you're going to have to choose a development team to use for provisioning. So I have Todd Perkins set right here.
That's my development team. I'll click Choose. So now Apple Pay's on and I'm asked to chose a merchant id. So I'll chose the id that we just created. Merchant.com.toddperkins or your domain name there .stripe. So I'll check that box. And now we have the entitlements in our app. So if you see over in the Project Navigator, we have applepaywithstripe.entitlement. So this enables us to use Stripe payments with Apple Pay in our apps.
- Registering a Merchant ID
- Setting up the backend with Heroku, Composer, and Git
- Integrating with Stripe
- Building an Apple Pay app
- Modifying the interface
- Deploying the app