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

Responding to user interactions with the payment sheet

After identifying the main actors and operations involved in the payment authorization workflow and with a single method to compute payment summary items, we are ready to delve into your responses to payment sheet messages initiated by the changes the user makes to shipping information.

Note that the correct functionality of the payment sheet is essential to the payment authorization workflow; in particular, the payment sheet must call its delegate methods consistently so that you can correctly gauge when these methods are called as a result of user interaction with the payment sheet. If you use iOS simulators to test your code and notice that the payment sheet delegate methods are not being ...

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