SCPTapToPayReaderDelegate

Objective-C

@protocol SCPTapToPayReaderDelegate <SCPReaderInteractionDelegate>

Swift

protocol TapToPayReaderDelegate : ReaderInteractionDelegate

Implement this protocol to handle a connected tap to pay reader’s events throughout the lifetime of its connection.

Implementing this delegate is required when connecting to any Tap To Pay reader.

The provided delegate must be retained by your application until the reader disconnects.

  • The reader is reporting that, as part of preparing to accept payments, the terms of service has been accepted.

    Declaration

    Objective-C

    - (void)tapToPayReaderDidAcceptTermsOfService:(nonnull SCPReader *)reader;

    Swift

    optional func tapToPayReaderDidAcceptTermsOfService(_ reader: SCPReader)

    Parameters

    reader

    The originating reader.