3DS Service
-
Class to perform all necessary preparations for the 3-D Secure 2 authentication.
Note
The service should be initialized just once per app session. CallOPPThreeDSService.initialize(transactionMode:paymentBrands:)
method to start the service, it will initiate security checks and collecting device data as background task. It’s recommended to initialize the service once the app is launched or at least once checkout is started. Once service is initializedOPPThreeDSTransaction
object can be obtained for the specific transaction, please seeOPPThreeDSService.createTransaction(paymentBrand:protocolVersion:)
method.Declaration
Swift
@objc public class OPPThreeDSService : NSObject
-
A protocol for 3-D Secure service initialization callback. Receives an error if it appears during service initialization, otherwise the error will be nil.
See moreDeclaration
Swift
@objc public protocol OPPThreeDSServiceCallback