Docs
Test Braintree Sandbox
You can run test transactions in your Chargebee test site using your Braintree sandbox credentials.
13616
2012-06-27T17:03:35Z
2019-10-24T06:38:07Z
11059
80
15
15924
Testing with Braintree sandbox.
You can run test transactions in your Chargebee test site using your Braintree sandbox credentials.
Step 1
After setting up a Braintree account, copy down the three Sandbox API Key values to be entered into Chargebee (Merchant ID, Public Key and Private Key). These keys are displayed on the dashboard of your Braintree sandbox account.
You can also find your Braintree API keys under:
Account -> My User -> API Keys(Under Authorization) -> View(Private Key)
Step 2
Go to your Chargebee test site and click on the Settings tab, and under the Site Settings tab, click on Gateway Settings . Click on Add a Payment Gateway and select Braintree to configure Braintree's sandbox account details. Once you've entered all the details, save the settings.
Step 3:
Now, set Braintree as your default payment gateway. Under Gateway Settings, right click on Braintree and select Mark as Default.
Testing
The Braintree payment gateway can be tested in two ways:
1) Create a new subscription
or
2) By updating the card details of an existing subscription
1) Create a new subscription
Go to Product Config, select a plan (or create anew plan)
Click on the Hosted Page URL, fill in the required details and use the test card numbers shown on the right side of the hosted to simulate various test results.
You can simulate various other results by trying out the additional card details mentioned here.
2) By updating the card details of an existing subscription
By updating the card details of an existing subscription
Open an existing subscription from the subscriptions list under the “Subscriptions” tab.
Click on the Add Card link. If the card is not present in the subscription, or use the “Update Credit Card” on the right side if existing card details are available.
Ensure that the gateway is updated to Braintree
Utilize the test card numbers on the right side of the page and click on “Add/Update Credit Card”.
Billing/error-20462038-declinedprocessor-declined-whats-going-on.txt
Billing/error-2000-do-not-honor-whats-going-on.txt
Billing/transaction-error-cannot-authorize-at-this-time-life-cycle-policy.txt
Billing/error-9151791577-payment-instrument-is-not-accepted-by-this-merchant-accountmerchant-account-does-not-support-payment-instrument-whats-going-on.txt
Billing/error-3000-processor-network-unavailable-whats-going-on.txt
Billing/error-2057-issuercardholder-has-put-a-restriction-on-the-card-whats-going-on.txt
Billing/avscvv-configuration-and-error-codes.txt
Billing/error-20472053-call-issuer-pick-up-cardcard-reported-lost-or-stolen-whats-going-on.txt
Billing/why-i-cant-refund-partial-amount-for-certain-transactions-on-same-day.txt
Billing/error-2005-invalid-credit-card-number-whats-going-on.txt
Billing/can-i-view-processor-responses-in-my-braintree-account.txt
Billing/braintree-error-codes-2015-and-2099.txt
Billing/how-to-configure-braintree-with-chargebee.txt
Billing/how-can-i-import-existing-braintree-customers-from-a-csv.txt
Billing/how-to-integrate-paypal-via-braintree.txt
Billing/error-message-when-trying-to-process-a-refund-in-chargebee.txt