Giter VIP home page Giter VIP logo

Comments (7)

burnto avatar burnto commented on May 26, 2024

Yep. The PayPal One Touch URL does not strictly follow the x-callback-url spec, and I don't think there are plans to change that. @dgoldman-ebay?

Also note that the PayPal One Touch URL format and app switch protocol aren't documented or supported beyond the scope of v.zero's internal usage. While it is publicly discoverable by poking around (as you've found), it isn't a publicly published API and theoretically may change without notice. So we recommend that you do not use PayPal app switch outside of the documented v.zero integration.

from braintree_ios.

moughxyz avatar moughxyz commented on May 26, 2024

I was using the fake-wallet app to test payments. I clicked the error option, but I got an error, and this was due to the error callback url being nil. Is this not supposed to work? How am I supposed to test errors?

from braintree_ios.

burnto avatar burnto commented on May 26, 2024

@mobitar ok, now I think I understand the issue. So it seems like we have two options here:

  1. Make it possible to simulate PayPal app login errors for testing and development using the fake wallet app, OR…
  2. Remove the error button for the fake PayPal experience.

I'm reopening this and retitling for clarity, OK? Thanks!

from braintree_ios.

moughxyz avatar moughxyz commented on May 26, 2024

Option 2 seems out of the question since testing errors is pretty important.

from braintree_ios.

mickeyreiss avatar mickeyreiss commented on May 26, 2024

@mobitar The PayPal app does not currently return errors back to the Braintree SDK. Braintree SDK only receives success or cancel. While this fact does not necessarily justify the design choice, it does explain why the test wallet app does not allow tapping error for PayPal app switch requests.

from braintree_ios.

tomwhipple avatar tomwhipple commented on May 26, 2024

The thought is that the Wallet app should handle any errors that come up in the sense that the user can either correct error and re-try (hopefully successfully) or cancel.

from braintree_ios.

intelliot avatar intelliot commented on May 26, 2024

Enhancements are no longer being added to the 3.x branch. For enhancement requests on the latest version of the Braintree iOS SDK, please open new issues. Thanks!

from braintree_ios.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.