Braintree / PayPal

Introduction

BrainTree is a leading global payments platform that provides a seamless integration of payments processing and inventory management. Backed by robust analytics, BrainTree empowers businesses to make data-driven decisions for growth. Offering services across all payment channels, including in-store, online, and mobile, BrainTree provides a comprehensive solution for your payment needs.

Pelcro seamlessly integrates with BrainTree, offering you a streamlined payment experience.

Supported Currencies

Each account in Braintree can have access to only one currency. If you wish to configure multiple currencies in Braintree, then you will have to create multiple accounts.

Setting Up

To enable Braintree as your payment gateway and support PayPal payments, follow these two primary configuration steps:

  • General Braintree Configuration (required for all payment methods)
  • PayPal-Specific Configuration (optional, but required if you want to enable PayPal payments)

General Braintree Configuration

This configuration step applies to all payment methods, including credit cards and PayPal, using Braintree.

Start by creating an account on Braintree. Once your account is created, you need to retrieve the API credentials that will be used in the Pelcro platform.

  • Log into your Braintree account.
  • Navigate to the “Settings” (gear icon) in the top-right corner.
  • Under “Processing,” you can toggle on or off the specific payment methods you want to support.
  • Go to the “API” tab and generate the API and tokenization keys required for Pelcro integration.

You will need the following keys:

  • Public Key
  • Private Key
  • Merchant ID

These credentials should be added to your Pelcro account:

  • Go to the Integrations tab in Pelcro.
  • Select Braintree and you’ll be prompted to enter the API credentials.

PayPal Configuration (Optional)

If you want to enable PayPal as a payment method in Pelcro, follow these additional steps. This configuration is built on top of the general Braintree setup.


  • First, you will have to create a PayPal account. Next, you will have to visit this page to set up the payment processing application as shown in the image below.
  • Visit the PayPal Developer Dashboard.
  • Create an app by clicking “Create App.”
  • Once the app is created, retrieve the following credentials and save it it will be used later.
    • Sandbox account email
    • Client ID
    • Secret Key

Link PayPal with Braintree

  • Log into your Braintree account.
  • Navigate to the Processing section under Settings.
  • Toggle on the PayPal option and click on “Options.”
  • On the options page, enter the credentials you retrieved from PayPal (Client ID, Secret Key) and click “Update.”

Configure PayPal in Pelcro

After setting up Braintree and linking it to PayPal, you’ll need to add these details in Pelcro:

  • In Pelcro, go to the Integrations tab.
  • Select Braintree and choose the site for configuration.
  • Select the environment (Sandbox or Live) and enter your Braintree credentials.
  • PayPal will now be an available payment method in your checkout flow.

Once the steps above are completed, you should be able to immediately see all of Braintree's payment fields reflected on both the platform and website payment modals.

916

When your customers clicks on the PayPal button, they will be prompted to login into their account in a new tab, as shown in the following image.

1044

Next, all they have to do is to agree and pay. They also have the flexibility to update their shipping address. Finally, they will be redirected back to your site and will automatically be subscribed to the plan.

In order to see if a user paid using PayPal, the 'Status' for the user's subscription would be 'Paid via BrainTree'. An example of a user's invoice is displayed below that reflects the same status.

Considerations

  • PayPal shipping addresses are not used within Pelcro.
  • PayPal does not support multiple currencies.
  • Invoices paid via PayPal are marked as “paid offline.”
  • If a payment fails, the associated subscription is canceled.
  • Manual renewal is not supported for PayPal payments.
  • This integration is designed for your default currency. Multi-currency support is not currently available but can be discussed with our support team through [email protected]