Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-canOpenURL: failed for URL: "com.venmo.touch.v2://x-callback-url/vzero/auth" - error: "(null)" #231

Closed
pvenkatakrishnan opened this issue Mar 4, 2016 · 13 comments

Comments

@pvenkatakrishnan
Copy link

Hey,
I just want to tryout the 'Pay with Paypal' option. Running the Demo out-of-the-box I keep running into the above error(i am using Paypal Sandbox Login). I am not trying to test venmo, so a little unclear what i need to do.
It seems like the deep linked url for BT/Paypal payments are already setup on the demo.

@skunkworks
Copy link
Contributor

Hi @pvenkatakrishnan, these messages are a bit of chatter from the OS when we check to see whether Venmo is installed on the device/simulator. They are harmless. Let me know if you have any other questions!

@baisani
Copy link

baisani commented Sep 12, 2016

I got this Error Domain=com.braintreepayments.BTVenmoAppSwitchReturnURLErrorDomain Code=-1004 "Unexpected error, please retry later." UserInfo=0x171279000 {NSLocalizedDescription=Unexpected error, please retry later.} when i authorize the venmo app. How can i fix this issue. This problem happened in ios.

@ajeetcody
Copy link

I am also getting same issue in my iOS app when I am integrating Venmo in Braintree payment. Please give some solution of this.

@skunkworks
Copy link
Contributor

@ajeetcody Please open a new issue. Thanks!

@hoschkara
Copy link

hoschkara commented Aug 20, 2020

I know it's harmless, but I agree that this is actually annoying. It's not a warning relevant to the sdk user, so it should be avoided to prevent unnecessary noise.

@sestevens
Copy link
Contributor

@hoschkara As mentioned above, this log comes from the OS, not the Braintree SDK. To the best of my knowledge, there's no way for the SDK to suppress this log.

@hoschkara
Copy link

Thanks for the response. Yes the warnings is from iOS, but the question would be why does the sdk needs to try to open a venmo url scheme if a PayPal billing agreement is requested on a PayPal driver object?

@sestevens
Copy link
Contributor

It's being checked for analytics purposes.

@sestevens
Copy link
Contributor

@hoschkara I thought about this some more, and I think you're right that there's a better solution here. We can check if Braintree's Venmo framework is available in the current project and then only check if the app is installed if the framework exists. That should allow us to avoid unnecessary log messages for apps that don't support Venmo as a payment method.

I'm reopening this issue, and we'll update here once the change has been released.

@sestevens sestevens reopened this Aug 21, 2020
@hoschkara
Copy link

Sounds like a great idea, I appreciate it.

@sestevens
Copy link
Contributor

sestevens commented Dec 1, 2020

Hi @hoschkara, we just released a beta version of the SDK with the fix I mentioned above. I'll leave this issue open until these changes are in GA.

If you want to try it out, here is the version 5 migration guide.

@hoschkara
Copy link

Thanks a lot!

@sestevens
Copy link
Contributor

This has been fixed in version 5.0.0. Please see our migration guide for steps to upgrade your integration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants
@skunkworks @pvenkatakrishnan @ajeetcody @baisani @sestevens @hoschkara and others