Other Classes
The following classes are available globally.
-
This class includes the Datatrans error name
See moreDeclaration
Swift
public class BackendError: NSError
-
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.automaticCallbacks
tofalse
. Then implement theapplication(_:open:options:)
method in your AppDelegate and callAppCallbackHandler.shared.handleURL(url)
with the URL received.Declaration
Swift
public final class AppCallbackHandler: NSObject