Emporium: A Simple Shopping Experience with Apple Pay
Version 2.0, 2016-09-28
Updated for Swift 3, iOS 10 and watchOS 3
(Full Revision History)
Xcode 8.0 or later; iOS 10.0 SDK or later; watchOS 3.0 SDK or later
iOS 10.0 or later; watchOS 3.0 or later
This sample shows how to integrate Apple Pay into a simple shopping experience. You'll learn how to make payment requests, collect shipping and contact information, apply discounts for debit/credit cards, and use the Apple Pay button. This project also contains an Apple Watch WatchKit extension that shows you how to start make Apple Pay transactions using Handoﬀ with the NSUserActivity class.