Braintree

Before proceed for Braintree API integration, we need to sign up for Braintree SDK. Which is free of cost for everyone. Follow the below link to Sign up to Braintree SDK.

https://www.braintreepayments.com/get-started

After successful signup, we will get –

Merchant ID: xxxxxxx
Public Key: xxxxxxxx
Private Key: xxxxxxxxxxxxxxx

 

Go to Braintree sandbox page and register an account. After account confirmation and log in, just go to Settings -> API keys and there you’ll find all the needed information.

Create a sandbox account at sandbox.braintreegateway.com for the testing process.

To try it out, just go to your application and enter some fake credit card data:

 

  • Braintree sandbox credit card number is 4111 1111 1111 1111
  • The expiration date can be whatever you want

 

Then click on “Request payment method” button:

 

Our front-end part of the application will send a request to Braintree and ask for a payment.

 

Sandbox Mode:  

Select the checkbox to enable Braintree Sandbox Mode

 

Method Name: 

            Name for Braintree method visible to users.

 

Merchant Id: 

Log into either the production Control Panel or the sandbox Control Panel, depending on which environment you are working in Navigate to Account > Merchant Account Info

 

Public Key:

Log into either the production Control Panel or the Sandbox Control Panel, depending on which environment you are working in Navigate to Settings > API Keys

 

Private Key: 

Log into either the production Control Panel or the Sandbox Control Panel, depending on which environment you are working in Navigate to Settings > API Keys

Was this article helpful to you? Yes No

How can we help?