官术网_书友最值得收藏!

Chapter 1. Getting Started with Apple Pay

Apple Pay is a mobile payment system that lets iPhone users pay for goods and services using Touch ID. Instead of entering or confirming payment card information (credit or debit card) every time they make a purchase, users can authorize payment for items securely by touching the Home button. It is important to note that during an Apple Pay transaction, payment card information never leaves the user's phone; this information is stored securely in the device. Instead, a payment token stores all the information you need to process the payment all the way from authorization to settlement (that is, when the user's funds are transferred to your merchant bank account).

Using Apple Pay, you do not have to store your customers' payment card information on your servers. This helps reduce your customers' misgivings about paying for goods within your app; they trust that their payment card information is secure in their devices. You benefit by not having to deal with payment card information at all, at least not for Apple Pay-based transactions. (When a user's device does not support Apple Pay, or the user has not yet added payment cards to the device, you may have to process payment using regular means, which may involve capturing and storing payment card information.)

Although you are freed from storing payment card details on your systems, you still have to deal with processing the payments, either directly or through a payment gateway. In either case, you need to get an Apple Pay merchant identifier and certificate to decrypt the payment token that Apple Pay creates with a transaction's payment information. To use Apple Pay in your app, you need to enable the Apple Pay capability in your project, which requires the Apple Pay merchant identifier.

This chapter describes how online payments work, online payments being a web-centric version of the traditional Electronic Draft Capture (EDC) system used to process credit card transactions. You will also learn the basics of the Apple Pay payment workflow, starting with displaying the Apple Pay button when Apple Pay is available on the user's device, presenting the Apple Pay payment sheet, and processing the transaction on your servers.

This chapter will do the following:

  • Provide an overview of the online payment process
  • Introduce the Apple Pay payment workflow
  • Show you how to create an Apple Pay merchant identifier and certificate
  • Describe how to turn on the Apple Pay capability for an app in Xcode
主站蜘蛛池模板: 五大连池市| 定兴县| 勃利县| 泽州县| 渭南市| 沂南县| 甘南县| 时尚| 白朗县| 五指山市| 建瓯市| 岐山县| 钟祥市| 昌平区| 株洲县| 柳林县| 江源县| 华宁县| 突泉县| 醴陵市| 攀枝花市| 三江| 山西省| 白玉县| 屏边| 屯门区| 阿尔山市| 星子县| 平塘县| 洛扎县| 清河县| 宣汉县| 阜城县| 通州市| 乌拉特前旗| 广西| 青冈县| 通化县| 伊金霍洛旗| 海宁市| 铜鼓县|