Other

  • Use this class if your app crashes when switching to/from external payment apps, such as TWINT, Swish, Vipps, and MobilePay. Our automatic app callback logic may interfere with other logic in your app and needs to be disabled.

    Globally set AppCallbackHandler.shared.automaticCallbacks to false. Then implement the application(_:open:options:) method in your AppDelegate and call AppCallbackHandler.shared.handleURL(url) with the URL received.

    See more

    Declaration

    Swift

    @objc(DTAppCallbackHandler)
    @objcMembers
    public final class AppCallbackHandler : NSObject
  • Mode to control when DCC is presented for saved card payments (alias/tokenized payments).

    See more

    Declaration

    Swift

    @objc(DTDCCShowMode)
    public enum DCCShowMode : Int
  • Callback invoked by the SDK when the custom initial loader must be dismissed.

    Important

    The SDK does not invoke the callback when nothing has to be shown throughout the process. Make sure you dismiss the loading animation at the end of the transaction if the SDK hasn’t done so already.
    See more

    Declaration

    Swift

    @objc(DTInitialLoaderDelegate)
    public protocol InitialLoaderDelegate
  • Provides SDK version information.

    See more

    Declaration

    Swift

    @objc(DTVersion)
    @objcMembers
    public class Version : NSObject
  • Declaration

    Swift

    public extension View