STPPaymentStatus

@objc
public enum STPPaymentStatus : Int

An enum representing the status of a payment requested from the user.

  • The payment succeeded.

    Declaration

    Swift

    case success
  • The payment failed due to an unforeseen error, such as the user’s Internet connection being offline.

    Declaration

    Swift

    case error
  • The user cancelled the payment (for example, by hitting “cancel” in the Apple Pay dialog).

    Declaration

    Swift

    case userCancellation