Book Image

Apple Pay Essentials

By : Ernest Bruce
Book Image

Apple Pay Essentials

By: Ernest Bruce

Overview of this book

Apple Pay, one of the most talked about offerings of the latest iOS 9 release, is a digital wallet and electronic payment system developed by Apple Inc. Paying in stores or within apps has never been easier or safer. Gone are the days of searching for your wallet, and the wasted moments finding the right card! Now you can use your credit cards and rewards cards with just a touch. It allows payment to merchants, using Near field Communication (NFC), and within iOS apps. Implementing Apple Pay within apps for payment is a bit tricky, but our book solves this problem for you. Whether you are a brand new iOS app developer or a seasoned expert, this book arms you with necessary skills to successfully implement Apple Pay in your online-payment workflow. Whether you are a brand new iOS app developer or a seasoned expert, this book arms you with the necessary skills to successfully implement Apple Pay. We start off by teaching you how to obtain the certificates necessary to encrypt customers’ payment information. We will use Xcode and Objective C for the interface and Node.js for server side code. You will then learn how to determine whether the customer can use Apple Pay, and how to create payment requests. You will come to grips with designing a payment-processor program to interact with the payment gateway. Finally, we take a look at a business-focused view of Apple Pay protocols and classes. By the end of this book, you will be able to build a fully functional Apple Pay-integrated iOS app
Table of Contents (13 chapters)

Chapter 2. Payment Request Workflow

When your customer decides to purchase an item that is offered in your app, it is your responsibility to give the user a smooth, fast, and pain-free payment experience. Thankfully, Apple has taken the brunt of this effort by implementing Apple Pay. Users do not have to dig up their credit cards and enter shipping addresses to complete an order, even if it is the first time that they use your app. By asking only for the information that is strictly necessary to perform a transaction, you provide your customers with a compelling purchasing experience, which will encourage subsequent purchases from your app.

This chapter describes the things that your app needs to do to give its users a pleasant shopping experience, one in which the barrier between desiring something and having this product shipped to your doorstep is reduced to the gentle touch of a smooth, round button. At the same time, you reduce or eliminate the need to ask for and store your customers...