Reports the status code and errors that you return when a payment is authorized.
If the Apple Pay sheet contains errors, you provide a
PKPaymentAuthorizationStatus.failure status to
PKPaymentAuthorizationResult, and include the errors in the errors array. If there are no errors, you provide a
PKPaymentAuthorizationStatus.success status and leave the error array empty.
Listing 1 shows a failure result with two errors in the postal code and street fields.
Initializing a Payment Authorization Result
Payment Authorization Status and Errors
Payment Sheet Interactions and Authorization
Represents the result of authorizing a payment request and contains payment information, encrypted in the payment token.