Braintree alternatives and similar libraries
Based on the "Payments" category.
Alternatively, view Braintree alternatives based on common mentions on social networks and blogs.
-
SwiftyStoreKit
Lightweight In App Purchases Swift framework for iOS 8.0+, tvOS 9.0+ and macOS 10.10+ ⛺ -
card.io-iOS-SDK
card.io provides fast, easy credit card scanning in mobile apps -
RevenueCat
In-app purchases and subscriptions made easy. Support for iOS, iPadOS, watchOS, and Mac. -
CreditCardForm-iOS
CreditCardForm is iOS framework that allows developers to create the UI which replicates an actual Credit Card. -
merchantkit
A modern In-App Purchases management framework for iOS. -
TPInAppReceipt
Reading and Validating In App Purchase Receipt Locally. -
MFCard
Easily integrate Credit Card payments module in iOS App. Swift 4.0 -
monza
Ruby Gem for Rails - Easy iTunes In-App Purchase Receipt validation, including auto-renewable subscriptions -
YRPayment
Better payment user experience library with cool animation in Swift -
SwiftLuhn
Debit/Credit card validation port of the Luhn Algorithm in Swift -
AnimatedCardInput
Easy to use iOS library with components for input of Credit Card data. -
SwiftInAppPurchase
Simply code In App Purchases with this Swift Framework -
Glassfy
Open source SDK to quickly integrate subscriptions, stop worring about code maintenance, and getting advanced real-time data. Full support for iOS, iPadOS, WatchOS, MacOS
Appwrite - The open-source backend cloud platform
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Braintree or a related project?
README
Braintree iOS SDK
Welcome to Braintree's iOS SDK. This library will help you accept card and alternative payments in your iOS app.
v5 is the latest major version of Braintree iOS. To update from v4, see the v5 migration guide.
The Braintree iOS SDK permits a deployment target of iOS 12.0 or higher. It requires Xcode 12+ and Swift 5.1+.
Supported Payment Methods
Installation
We recommend using Swift Package Manager, CocoaPods, or Carthage to integrate the Braintree SDK with your project.
Swift Package Manager
This feature is only available in v5.
To add the Braintree
package to your Xcode project, select File > Swift Packages > Add Package Dependency and enter https://github.com/braintree/braintree_ios
as the repository URL. Tick the checkboxes for the specific Braintree libraries you wish to include.
If you look at your app target, you will see that the Braintree libraries you chose are automatically linked as a frameworks to your app (see General > Frameworks, Libraries, and Embedded Content).
BraintreePayPal
and BraintreePaymentFlow
also require the inclusion of the PayPalDataCollector
module.
In your app's source code files, use the following import syntax to include Braintree's libraries:
import BraintreeCore
import BraintreeCard
import BraintreeApplePay
import BraintreePayPal
Braintree 5.4.2+ requires Xcode 12.5+ for SPM. We recommend using the latest version for the simplest SPM integration. If using Braintree 5.4.1 and below, please see our Swift Package Manager guide for specific workarounds required to use these older versions.
CocoaPods
# Includes Cards and PayPal
pod 'Braintree'
# Optionally include additional Pods
pod 'Braintree/DataCollector'
pod 'Braintree/Venmo'
Note: If you are using version 4.x.x of the Braintree iOS SDK in Xcode 12, you may see the warning The iOS Simulator deployment target is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99
. This will not prevent your app from compiling. This is a CocoaPods issue with a known workaround.
Carthage
Add github "braintree/braintree_ios"
to your Cartfile
, and add the frameworks to your project.
Note: Long term support for Carthage is not guaranteed. Please update to SPM, if possible. If there are concerns, please comment on this Discussion thread.
Documentation
Start with 'Hello, Client!' for instructions on basic setup and usage.
Next, read the full documentation for information about integrating with additional payment methods, such as PayPal and Venmo, as well as explore our pre-built Drop-In UI offering.
Versions
This SDK abides by our Client SDK Deprecation Policy. For more information on the potential statuses of an SDK check our developer docs.
Major version number | Status | Released | Deprecated | Unsupported |
---|---|---|---|---|
5.x.x | Active | February 2021 | TBA | TBA |
4.x.x | Inactive | November 2015 | February 2022 | February 2023 |
Versions 4.9.6 and below use outdated SSL certificates and are unsupported.
Demo
A demo app is included in the project. To run it, run pod install
and then open Braintree.xcworkspace
in Xcode. Xcode 13+ is required to run the demo app.
Contributing
We welcome PRs to this repo. See our development doc.
Feedback
The Braintree iOS SDK is in active development, we welcome your feedback!
Here are a few ways to get in touch:
- GitHub Issues - For generally applicable issues and feedback
- Braintree Support / [email protected] - for personal support at any phase of integration
Help
- Read the headers
- Read the Braintree docs
- Check out the reference docs
- Find a bug? Open an issue
- Want to contribute? Check out contributing guidelines and submit a pull request.
License
The Braintree iOS SDK is open source and available under the MIT license. See the LICENSE file for more info.
*Note that all licence references and agreements mentioned in the Braintree README section above
are relevant to that project's source code only.