OPPBraintreeProcessor

@objc
public class OPPBraintreeProcessor : NSObject

Class to process Braintree (PAYPAL_PAYFAST and VENMO_PAYFAST) transaction.

  • Creates an object representing an braintree processor.

    Declaration

    Swift

    @objc
    public init(transaction: OPPTransaction,
                mode: OPPProviderMode)

    Return Value

    Returns an object representing an braintree processor.

  • Method to process braintree (PAYPAL_PAYFAST and VENMO_PAYFAST) transaction

    Declaration

    Swift

    @objc
    public func process(_ completionBlock: @escaping CompletionBlock)

    Parameters

    completionBlock

    Completion block to handle transaction or error.

  • Handle universal link redirection with NSUserActivity parameter.

    Declaration

    Swift

    static func handleRedirection(_ userActivity: NSUserActivity) -> Bool
  • Handle universal link redirection with URL parameter.

    Declaration

    Swift

    static func handleRedirection(url: URL) -> Bool