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)

Summary


This chapter has shown how your app may obtain data to perform its functions using the REST API, which provides flexible functionality using the standard HTTP idioms (with HTTP verbs such as PUT, GET, UPDATE, and DELETE). It also showed you how to convert this data into information the user can act on, such as product names, descriptions, and images. In particular, this chapter discussed when to present the Apple Pay button to the user (only when Apple Pay is available on the user's device). Finally, this chapter walked you through the process of creating a payment request, which includes specifying payment information, such as the Apple merchant identifier and merchant capabilities, shipping and billing information, and the summary items that include the total price of the order labeled with your company name for easy verification with payment-card statements.

Now that the user is looking at the payment sheet, your app needs to respond effectively to changes in the shipping methods...