PassKit iOS 10.3 to 11.0 API Differences

PKConstants.h
Modified PKPaymentNetworkCarteBancaire
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse PKPaymentNetworkCarteBancaires instead.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse PKPaymentAuthorizationResult with PKPaymentAuthorizationStatusFailure and include the result of -paymentBillingAddressInvalidErrorWithKey:localizedDescription: in the errors array.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse PKPaymentAuthorizationResult with PKPaymentAuthorizationStatusFailure and include the result of -paymentShippingAddressInvalidErrorWithKey:localizedDescription: in the errors array.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse PKPaymentAuthorizationResult with PKPaymentAuthorizationStatusFailure and include the result of -paymentContactInvalidErrorWithContactField:localizedDescription: in the errors array.

PKError.h
Declaration
FromNSString *const PKPassKitErrorDomain
ToNSString *const _Nonnull PKPassKitErrorDomain

PKPaymentAuthorizationController.h
OptionalAvailabilityDeprecation Message
FromRequiredAvailablenone
ToOptionalDeprecatedUse paymentAuthorizationController:didAuthorizePayment:handler: instead to provide more granular errors

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse paymentAuthorizationController:didSelectShippingMethod:handler: instead to provide more granular errors

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse paymentAuthorizationController:didSelectShippingContact:handler: instead to provide more granular errors

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse paymentAuthorizationController:didSelectPaymentMethod:handler: instead to provide more granular errors

PKPaymentAuthorizationViewController.h
OptionalAvailabilityDeprecation Message
FromRequiredAvailablenone
ToOptionalDeprecatedUse paymentAuthorizationViewController:didAuthorizePayment:handler: instead to provide more granular errors

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse paymentAuthorizationViewController:didSelectShippingMethod:handler: instead to provide more granular errors

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse paymentAuthorizationViewController:didSelectShippingContact:handler: instead to provide more granular errors

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse paymentAuthorizationViewController:didSelectPaymentMethod:handler: instead to provide more granular errors

Declaration
From- (nonnull instancetype)initWithPaymentRequest:(nonnull PKPaymentRequest *)request
To- (nullable instancetype)initWithPaymentRequest:(nonnull PKPaymentRequest *)request

PKPaymentRequest.h
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse PKContactField and -requiredShippingContactFields / -requiredBillingContactFields

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse PKContactField and -requiredShippingContactFields / -requiredBillingContactFields

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse PKContactField and -requiredShippingContactFields / -requiredBillingContactFields

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse PKContactField and -requiredShippingContactFields / -requiredBillingContactFields

Availability
FromAvailable
ToDeprecated

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse PKContactField and -requiredShippingContactFields / -requiredBillingContactFields

AvailabilityReplacement
FromAvailablenone
ToDeprecatedrequiredBillingContactFields

AvailabilityReplacement
FromAvailablenone
ToDeprecatedrequiredShippingContactFields

PKPaymentRequestStatus.h