Comments (5)
This is not good. We certainly don't intend to throw an exception either. We will look into this and push out a fix ASAP!
For reference, are you certain that your Braintree merchant account is PayPal enabled? (You can find this in the control panel under processing.)
from braintree_ios.
Are you using CocoaPods for the integration? If not, make sure you have the appropriate complier flags set to allow for categories. BTClient btPayPal_isPayPalEnabled
is defined in the PayPal category on BTClient
.
from braintree_ios.
Hey Mickey,
Yep, using CocoaPods - good point, my Braintree account isn't Paypal enabled, I just wasn't expecting to see an exception because of it!
I'm just wondering if this is actually a symptom of this issue? #43
Cheers
Giles
from braintree_ios.
I'll look into the crashes related to PayPal not enabled tomorrow (today is a holiday). If you find any quick fixes for your exact use cases, please feel free to submit a PR. They should all be along the lines of:
(pseudocode)
if (!payPalEnabled) {
don't do anything related to paypal payment methods
return nil in place of BTPayPalButtons
}
from braintree_ios.
This should be addressed in holistically in our latest release (3.3.0).
Feel free to reopen if you continue experience btPayPal_isPayPalEnabled
crashes.
from braintree_ios.
Related Issues (20)
- 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 3
- 📣 Upgrade your integration to continue accepting Braintree payments HOT 3
- Expose `prefersEphemeralWebBrowserSession` HOT 2
- Braintree iOS SDK takes a long amount of time to resolve via SPM HOT 1
- BraintreeCore Fails to Build in Xcode 16 Beta 3 with Error: Type 'UIApplication' does not conform to protocol 'URLOpener' HOT 4
- PayPal Vault Crash using v6 HOT 2
- Crash in BTAnalyticsService HOT 1
- Crash in ConfigurationCallbackStorage After Upgrading to 6.23.2 HOT 13
- ConfigurationLoader.getConfig() Causes Thread 15: EXC_BAD_ACCESS (code=1, address=0x4) Crash on Xcode 16 Beta 5 HOT 2
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.