Braintree Gateway Setup
To start processing with the Braintree payment gateway you must first enter your account details. Your merchant ID, public key, and private key can all be found on braintreepayments.com as soon as you log in. For your merchant account ID you will need to go to Account → Processing, and scroll to the bottom to see your merchant account ID.
While not required to use Braintree, an SSL Certificate is highly recommended. You can read more about this in the Braintree documentation. Be sure to also see our guide on setting up an SSL.
You can optionally enable "Submit for Settlement" to immediately submit all transactions for settlement, or "Store In Vault on Success" to store all credit cards in your vault upon a successful purchase.
All settings for this gateway are located in Downloads → Settings → Payment Gateways.
Note: if you have Test Mode enabled, be sure that you enter API keys from your Braintree sandbox account. Live API keys will not work when Test Mode is enabled.
Testing a Purchase
To test that your Braintree account is properly connected to Easy Digital Downloads, follow these steps:
- Enable Test Mode in Downloads → Settings → General
- Enter your API credentials in Downloads → Settings → Payment Gateways (if you have not already)
- Add an item to your cart and proceed to the checkout page
- Complete the checkout form and use a test credit card number from the Braintree documentation page.
- Complete the purchase. If you are redirected to the purchase confirmation page, everything has worked properly.
- Make sure you disable Test Mode before you begin accepting real purchases.