Protocols

The following protocols are available globally.

BTAppContextSwitchDriver protocol

  • A protocol for handling the return from gathering payment information from a browser or another app.

    Note

    The app context may switch to a SFSafariViewController or to a native app, such as Venmo.
    See more

    Declaration

    Objective-C

    @protocol BTAppContextSwitchDriver

    Swift

    protocol BTAppContextSwitchDriver
  • Protocol for receiving payment lifecycle messages from a payment driver that requires presentation of a view controller to authorize a payment.

    See more

    Declaration

    Objective-C

    @protocol BTViewControllerPresentingDelegate <NSObject>

    Swift

    protocol BTViewControllerPresentingDelegate : NSObjectProtocol
  • Protocol for local payment flow

    See more

    Declaration

    Objective-C

    @protocol BTLocalPaymentRequestDelegate

    Swift

    protocol BTLocalPaymentRequestDelegate
  • Protocol for payment flow processing via BTPaymentFlowRequestDelegate.

    See more

    Declaration

    Objective-C

    @protocol BTPaymentFlowDriverDelegate

    Swift

    protocol BTPaymentFlowDriverDelegate
  • Protocol for payment flow processing.

    See more

    Declaration

    Objective-C

    @protocol BTPaymentFlowRequestDelegate

    Swift

    protocol BTPaymentFlowRequestDelegate
  • Protocol for ThreeDSecure Request flow

    See more

    Declaration

    Objective-C

    @protocol BTThreeDSecureRequestDelegate

    Swift

    protocol BTThreeDSecureRequestDelegate