Server Setup for Braintree
Learn server-side implementation for Braintree to start creating transactions.
Braintree provides us with server-side SDKs in different languages such as Java, PHP, Python, Ruby, etc. These SDKs allow us to integrate Braintree functionality at our back-end.
Setup
The first step of integrating Braintree at our server is to install and configure the Braintree server-side SDK. In this lesson, we will be looking into examples of Python, Node, and Ruby SDKs.
Installation
First of all, we need to install the Braintree server-side SDK. The installation commands for different SDKs are given below.
Note: For Ruby, add the
braintree
gem to the project’s Gemfile and runbundle install
to install it.
pip install braintree
Installing Braintree