O'Reilly logo

Apple Pay Essentials by Ernest Bruce

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Apple Pay API Summary

You process Apple Pay transactions in three phases:

  1. Preparation: Create a payment request and populate it with payment information and details about the product the user is purchasing.
  2. Payment sheet interaction: Respond to user interactions with the payment sheet (such as changes to the shipping address or the desired shipping method) through the methods of the PKPaymentAuthorizationViewControllerDelegate protocol.
  3. Payment processing: Process the Apple Pay transaction on the user's device and your own servers through the API provided by your payment gateway and HTTP requests to your order processing web app.

Earlier chapters showed the workflows you use to interact with the major actors in Apple Pay transactions. This ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required