How to integrate braintree payment gateway?

braintree_2_1

This blog show the integration of braintree. Braintree is a subsidiary of paypal.

Braintree accepting most commonly used cards and it is secure payment system.

When we use the braintree we require a braintree library first and create the account in braintree paypal and use the merchantId, publicKey, privateKey.

For Example:

First we include the braintree library.

require_once ‘PATH_TO_BRAINTREE/lib/Braintree.php’;

Braintree_Configuration::environment(‘sandbox’);

Braintree_Configuration::merchantId(‘your_merchant_id’);

Read more about How to integrate braintree payment gateway? Visit Findnerd.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s