SCPPaymentStatus

Objective-C

enum SCPPaymentStatus : NSUInteger {}

Swift

enum PaymentStatus : UInt

The possible payment statuses for the SDK.

  • The SDK is not ready to start a payment. It may be busy with another command, or a reader may not be connected.

    Declaration

    Objective-C

    SCPPaymentStatusNotReady

    Swift

    case notReady = 0
  • The SDK is ready to start a payment.

    Declaration

    Objective-C

    SCPPaymentStatusReady

    Swift

    case ready = 1
  • The SDK is waiting for input from the customer (e.g., for a card to be presented to the reader)

    Declaration

    Objective-C

    SCPPaymentStatusWaitingForInput

    Swift

    case waitingForInput = 2
  • The SDK is processing a payment.

    Declaration

    Objective-C

    SCPPaymentStatusProcessing

    Swift

    case processing = 3