i am using Xcode 8 , swift 3. installed via carthage and braintree version 4.7.2.
clicking on the proceed with sandbox purchase button its not getting back to app and no nounce received and no error received.
is there anything i missed during setup.
i am using PayPal on time checkout.
@IBAction func customPayPalButtonPressed(_ sender: AnyObject) {
let payPalDriver : BTPayPalDriver = BTPayPalDriver.init(apiClient: self.apiClient!)
payPalDriver.viewControllerPresentingDelegate = self
payPalDriver.appSwitchDelegate = self
let payPalRequest = BTPayPalRequest(amount: "100.00")
payPalRequest.currencyCode = "USD"
payPalDriver.requestOneTimePayment(payPalRequest) { (tokenizedPayPalAccount, error) -> Void in
if (tokenizedPayPalAccount != nil) {
print(tokenizedPayPalAccount.debugDescription)
}else if (error != nil) {
print(error?.localizedDescription)
print(error.debugDescription)
}else {
print("Cancled")
}
}
}