Loading...
Error

Ernest Bruce - Apple Pay Essentials [2016, PDF/EPUB/MOBI, ENG] + code

Ответить на тему

 | 

 
Автор Сообщение

FireOfDeadStars

Год издания: 2017
Автор: Ernest Bruce
Жанр или тематика: программирование, iOS

Издательство: Packt
ISBN: 978-1-78588-638-6
Язык: Английский

Формат: PDF/MOBI/EPUB
Качество: Издательский макет или текст (eBook)

Описание:
Harness the power of Apple Pay in your iOS apps and integrate it with global payment gateways

About This Book
Be it adding an Apple Pay button to your app or calculating sales tax with Apple Pay- this book gives you all the information you need to build a fully-functional Apply Pay application
Paying within iOS Apps made easier and secure with this no nonsense and powerful guide
Escape tedious payment options by creating compelling product card screens that present the Pay button, which your customers can tap to quickly order your products
Who This Book Is For
This book is for anyone who wants to integrate Apple Pay in their applications. Basic familiarity with programming and the Xcode developer tools is expected.

What You Will Learn
Design a product card that includes the Apple Pay button
Implement the Apple Pay workflow in an efficient way
Use NSDecimalNumber objects to perform financial calculations accurately
Manage custom order information in the Apple Pay workflow and your custom order management system
Extract payment information from a payment token
Implement a secure, server-side payment-processor program
Find out everything you wanted to know about Apple Pay in iOS 9
In Detail
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

Style and approach
This is an easy-to-follow guide on integrating Apple Pay in your iOS Application. With step by step instructions along with excellent screen shots you will be able to learn everything that you wanted to know about Passbook and Apple Pay in iOS 8.
Preface
Chapter 1: Getting Started with Apple Pay
An overview of the online payment process
The Apple Pay payment workflow
Presenting the Apple Pay button
Creating the payment request
Presenting the payment sheet
Responding to order changes and payment authorization
Submitting the payment information to the payment gateway
Enabling Apple Pay in your app
Creating your app's Apple Pay merchant identifier
Installing your app's Apple Pay merchant certificate on your Mac
Enabling Apple Pay in your app's Xcode project
Summary
Chapter 2: Payment Request Workflow
Getting information from an inventory service
Getting inventory information
Getting shipping information
Displaying the product card
Presenting product information
Presenting the Apple Pay button
Creating the payment request
Specifying payment details
Country and currency code
Merchant identifier and capabilities
Requiring shipping and billing information
Requiring shipping or billing addresses
Specifying shipping or billing addresses
Specifying shipping methods
Specifying summary items
Specifying custom information tied to the order
Summary
Chapter 3: Payment Authorization Workflow33
Chapter 4: Payment Processing Workflow43
Actors and operations in the authorization workflow
Implementing a shared method to compute summary items
Responding to user interactions with the payment sheet
User changes shipping information
User changes shipping method
User authorizes payment request
Summary
Actors and operations in the processing workflow
The preprocess phase
The merchant app receives the payment token
The merchant app receives the charge token from
the payment gateway
The merchant app sends the order information to
the order processing system
The process phase
The postprocess phase
The merchant app receives the transaction status from
the order processing web app
The merchant app conveys the transaction status to the user
The merchant app dismisses the payment sheet
Summary
Chapter 5: Designing an Order Management Server
Configuring an order management server web app
Defining order management data structures
Providing inventory information to clients
Processing orders from clients
Implementing secure communication
Summary
Chapter 6: Apple Pay API Summary
Main classes
The PKPaymentButton class
Creating the button
The PKPaymentRequest class71
The PKPaymentSummaryItem class76
The PKPaymentMethod class77
The PKShippingMethod class79
The PKPaymentAuthorizationViewController class79
The PKPayment class82
The PKPaymentToken class83
Payment processing information
Payment summary items
The required address fields
Billing and shipping contacts
Shipping methods
Shipping type
Application data
Creating a summary item
Summary item components
Pending or final
Card tame
Card type
Payment network
Payment pass
User-friendly description
App-level identifier
Determining Apple Pay support
Initializing and presenting
Payment sheet delegate
Payment information
Billing and shipping contacts
Encrypted payment information
Payment method and transaction identifier
Payment sheet user event protocol
The PKPaymentAuthorizationViewControllerDelegate protocol
The user chooses a payment card
The user selects a shipping address
The user selects a shipping method
The user authorizes the payment request
The payment sheet is done
Auxiliary classes
The PKContact class
Contact address components
emailAddress (NSString*)
name (NSPersonNameComponents*)
phoneNumber (CNPhoneNumber*)
postalAddress (CNPostalAddress*)
The NSPersonNameComponents class88
The CNPhoneNumber class89
The CNPostalAddress class89
Person name components
Creating a phone number
Phone number string
Postal address components
Summary
Доп. информация: Мои другие раздачи:https://booktracker.org/tracker.php?rid=898436
Download
Для скачивания .torrent файлов необходима регистрация
Сайт не распространяет и не хранит электронные версии произведений, а лишь предоставляет доступ к создаваемому пользователями каталогу ссылок на торрент-файлы, которые содержат только списки хеш-сумм
Показать сообщения:    
Ответить на тему