Reader small image

You're reading from  Apple Pay Essentials

Product typeBook
Published inFeb 2016
Reading LevelBeginner
Publisher
ISBN-139781785886386
Edition1st Edition
Languages
Right arrow
Author (1)
Ernest Bruce
Ernest Bruce
author image
Ernest Bruce

Ernest Bruce is an accomplished technical writer and software engineer. He has worked for 13 years at Apple, Inc., where he held the position of Senior Technical Writer writing developer documentation. At Apple, Ernest specialized in writing documentation for the Xcode toolset, focusing on the Xcode user guide, and Xcode overview, as well as unit testing documentation and sample code. He also worked extensively on API documentation for the OS X and iOS platforms. Ernest helped design and develop the Xcode help articles that aid developers in getting around the user interface of the Xcode app. Before his years at Apple, Ernest worked as a programmer for Ping, Inc., where he helped manage the manufacturing processes using APL (A Programming Language). Ernest also has extensive experience in customer service, which has been instrumental to him developing content that readers find clear and easy to read, and that makes complex concepts more approachable. Ernest is the head of Nerd Brawn, LLC, a software development company that focuses on developing platforms that help people learn about their environment and each other in innovative ways. The company is also working on new techniques to present content on desktop computers, tablets, and mobile phones.
Read more about Ernest Bruce

Right arrow

Creating the payment request


Now that the user has decided to purchase your product, we are on a mission to help them authorize the payment request with as few distractions and interruptions as possible. A user's attention, especially on a device such as an iPhone, can be fleeting; in the extra second that it takes for them to confirm a billing address (even though they always use the same address), a phone call can come in and, pouf, the sale goes away. Anything you can not show the user helps speed up the authorization. Apple Pay makes this very convenient.

Specifying payment details

The essential components of a payment request (an instance of PKPaymentRequest) are: country and currency code, your merchant identifier and capabilities, and the payment networks that you support. You must specify all these properties on each payment request you create.

Country and currency code

You specify these items with the countryCode and currencyCode properties of the payment request. Specifying these items...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Apple Pay Essentials
Published in: Feb 2016Publisher: ISBN-13: 9781785886386

Author (1)

author image
Ernest Bruce

Ernest Bruce is an accomplished technical writer and software engineer. He has worked for 13 years at Apple, Inc., where he held the position of Senior Technical Writer writing developer documentation. At Apple, Ernest specialized in writing documentation for the Xcode toolset, focusing on the Xcode user guide, and Xcode overview, as well as unit testing documentation and sample code. He also worked extensively on API documentation for the OS X and iOS platforms. Ernest helped design and develop the Xcode help articles that aid developers in getting around the user interface of the Xcode app. Before his years at Apple, Ernest worked as a programmer for Ping, Inc., where he helped manage the manufacturing processes using APL (A Programming Language). Ernest also has extensive experience in customer service, which has been instrumental to him developing content that readers find clear and easy to read, and that makes complex concepts more approachable. Ernest is the head of Nerd Brawn, LLC, a software development company that focuses on developing platforms that help people learn about their environment and each other in innovative ways. The company is also working on new techniques to present content on desktop computers, tablets, and mobile phones.
Read more about Ernest Bruce