You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hamon Riazy edited this page May 9, 2016
·
1 revision
In order to do ApplePay transactions, you first need to select what kind of transaction you want to do. While technically you can do Payments, PreAuths and RegisterCard transactions using ApplePay, it only really makes sense to do Payments and PreAuths. The first step is to create a transaction for one of these classes like illustrated below in your .paymentAuthorizationViewController(_:didAuthorizePayment:completion:) method where the delegate is called with a given PKPayment object.