The iOS SDK provides developers with a collection of easy-to-use APIs for adding native payments to their iOS application. It has three components:
The Braintree iOS SDK and Venmo Touch require iOS 5.0.0 or higher. Currently, Venmo Touch is available for US customers only.
The easiest way to get started with with Cocoapods.
# Add this line to your Podspec
pod 'Braintree', :git => 'https://github.com/braintree/braintree_ios.git'
For a quick-start tutorial, visit our documentation site.
Included in this repository is a sample checkout application at braintree/SampleCheckout
, which you may run against a sample merchant provided by Braintree on Heroku, or against a local server (code also provided in this repository).
Checkout braintree/SampleCheckout/README.md
for more details on running the sample application.
- Venmo Touch, a one-tap purchasing network enabling your users to make in-app purchases without typing in their credit card details.
- The payment form: A beautiful, polished credit card entry form complete with built-in validations, ready for you to drop into your app.
- Encryption: Client-side encryption allowing you to encrypt credit card data before sending it to your servers and on to the Braintree gateway, making PCI compliance a breeze.
These components are designed to work together, but can be used independently of each other. For example, you could use Venmo Touch and client-side encryption without using the prebuilt payment form. On OS X, you need to implement a custom payment form and follow the Encryption guidelines.
You can find a complete set of documentation about the iOS SDK on Braintree's website. You might want to specifically check out the articles on:
- Adding a credit card form and Venmo Touch to your app
- Adding Venmo Touch to an app that already accepts credit cards
- Server-side integration with Venmo Touch
- Venmo Touch Concepts
- Venmo Touch Style Guide
For detailed class and method reference see the Venmo Touch header files and Braintree header/implementation files, all of which are extensively commented.
Tried integrating with VenmoTouch and still need help? Feel free to file a Github Issue or shoot us an email at support@braintreepayments.com.