Create a Shopping App with Apple Pay in SwiftUI from scratch - Part 2

DesignCode on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

IntermediateUI40 min

About this video

A Part 2 SwiftUI tutorial that adds Apple Pay to a sweater shop app, covering the Apple Pay button, merchant identifier and certificate setup, a PaymentHandler class, shipping calculation and starting the payment sheet. It suits developers who already have a basic SwiftUI app.

What you’ll learn

  • Create an Apple Pay button in a SwiftUI shopping app
  • Configure a merchant identifier and payment certificate
  • Implement a PaymentHandler to start and test an Apple Pay payment