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

The preprocess phase

In the Preprocess phase, the user app uses the payment information that the payment sheet generates (in the form of a PKPayment object) as a result of the user's authorization. The app sends this information to the payment gateway and obtains a charge token (this item may be identified using different names, such as the registration ID, depending on the payment gateway; the order processing web app uses the charge token to charge the user's card). The app then packages the charge token along with pertinent information about the order (such as billing information, shipping information, shipping method, and so on) and sends it to the order processing web app on your server.

The following three sections describe the steps of the ...

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