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 described most of the classes you have to work with to process Apple Pay payments. It also described the protocol used by the payment sheet to communicate user actions to its delegate so that you can respond appropriately. Finally, the chapter listed a few additional classes that you must work with to access address components, such as a person's name, phone number, and postal address.

This is the end of Apple Pay Essentials, conceived to help you add Apple Pay support to your apps. This book introduced the world of online payments, describing how payment associations, payment gateways, and banks work together to transfer funds from a customer's payment card to a merchant's account. Apple Pay improves on this model by adding convenience, privacy, and security to the process.

You learned about using the REST API in your client app to communicate with server web apps that provide the information that the app needs (such as details about the products you have for sale and...