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
See moreAppCallbackHandler.shared.automaticCallbackstofalse. Then implement theapplication(_:open:options:)method in your AppDelegate and callAppCallbackHandler.shared.handleURL(url)with the URL received.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 moreDeclaration
Swift
@objc(DTDCCShowMode) public enum DCCShowMode : Int -
Callback invoked by the SDK when the custom initial loader must be dismissed.
See moreImportant
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.Declaration
Swift
@objc(DTInitialLoaderDelegate) public protocol InitialLoaderDelegate -
Provides SDK version information.
See moreDeclaration
Swift
@objc(DTVersion) @objcMembers public class Version : NSObject -
Declaration
Swift
public extension View
View on GitHub
Other Reference