Comments (7)
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.
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.
@mobitar ok, now I think I understand the issue. So it seems like we have two options here:
- Make it possible to simulate PayPal app login errors for testing and development using the fake wallet app, OR…
- Remove the error button for the fake PayPal experience.
I'm reopening this and retitling for clarity, OK? Thanks!
from braintree_ios.
Option 2 seems out of the question since testing errors is pretty important.
from braintree_ios.
@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.
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.
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)
- Make errors public HOT 4
- Apple Review Rejection for saving the payment method for future transaction HOT 1
- BTVenmoClient `tokenize` async method leaks memory and does not return/throw an error when the user cancels the authorisation. HOT 5
- PayPalDataCollector.h HOT 4
- fetchPaymentMethodNonces in BTAPIClient return wrong nonce types HOT 4
- Staging URLs present in production code - Security Issue - For our Customer HOT 18
- Error on pod install after the release of Braintree version 6.8.0 HOT 5
- Unable to Publish Build to App Store with Xcode 15.0 HOT 7
- Unable to Use The Package HOT 5
- policy required: Xcode15 requires Privacy Manifest HOT 22
- V6 Migration guide has incorrect system requirement HOT 2
- Production Access HOT 1
- Better Error Handling HOT 3
- BTThreeDSecureClient.initializeChallenge never completes HOT 3
- Expose SDK struct definitions to consumer apps to enable overridability exclusively for writing unit tests. HOT 4
- ErrorCode 2 and ErrorMessage is 無法完成作業。forbidden HOT 3
- Archiving using Xcode 15.3 Fails Due when Including PPRiskMagnes.framework (minimum OS Version specified in the Info.plist) HOT 17
- Command SwiftCompile failed with a nonzero exit code HOT 2
- 📣 Upgrade your integration to continue accepting Braintree payments HOT 2
- Expose `prefersEphemeralWebBrowserSession` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from braintree_ios.