Skip to content
OpenCart · User manual

Braintree Payments PRO

Version 1.0.1 Product page
Chapter 4

Quick start

The shortest route from a fresh installation to live card payments: connect the sandbox, schedule the worker, test, then switch to production.

Set up in sandbox

  1. Install the extension and validate your licence. See Installation and Licence activation.
  2. In the Braintree sandbox Control Panel, collect the Merchant ID, the public key, the private key and the merchant account ID, and note the currency of that merchant account. See Braintree connection.
  3. Open the Braintree connection tab. Fill in the four Test · fields and choose the Sandbox merchant-account currency.
  4. Open the Settings tab. Leave Mode on Test, choose a Paid order status, keep Require 3D Secure liability shift on Enabled, and set Payment method to Enabled.
  5. Click Save settings. Wait for the message "Settings saved."
  6. Schedule the recovery worker with the Test URL. See Recovery worker.
  7. Make sure the store currency used at checkout is the currency of the merchant account. The method is hidden in any other currency.

The Payment notifications tab shows the same route as a six-step guide in your administration language.

Test before going live

Place test orders in your store with Braintree's sandbox card numbers. Use any future expiry date and any security code.

TestHowExpected result
Successful paymentA Braintree 3D Secure test card for successful authentication. With the 3D Secure requirement disabled, the standard test card 4111 1111 1111 1111The customer lands on the order success page. The order takes the paid status once and Payment activity shows Paid and confirmed
Processor declineAn order whose total is exactly 2000.00, the sandbox amount that Braintree declinesNo order is confirmed. Payment activity shows Payment declined
3D Secure failureBraintree's 3D Secure test cards for frictionless failure and challenge failure, and a cancelled challengeFailed or cancelled authentication shows "Your bank authentication did not complete. Try again before paying." and nothing is charged
Interrupted paymentClose the browser tab right after clicking Confirm paymentWithin a few minutes the worker reconciles the attempt, and the order is confirmed once if Braintree took the payment

Braintree publishes its current sandbox card numbers, decline amounts and 3D Secure test cards in its testing reference and its 3D Secure documentation.

After each test, open Payment activity and check that every order was confirmed once only, with one history entry and one stock deduction.

Go live

  1. In the Braintree production Control Panel, collect the production Merchant ID, public key, private key and merchant account ID. Sandbox values do not work in production.
  2. Confirm with Braintree that card processing, and 3D Secure if you require it, are active on that merchant account.
  3. In Braintree connection, fill in the four Live · fields and choose the Live merchant-account currency.
  4. In Settings, switch Mode to Live and save.
  5. Add a second scheduled task for the Live worker URL. Keep the Test task only while you still have sandbox payments to reconcile.
  6. Check that your store uses HTTPS on every checkout page.
  7. Place one real order of a small amount with your own card. Check the order, its history comment and Payment activity. Void or refund it afterwards in the Braintree Control Panel if you wish.
  8. In a multi-store installation, repeat the configuration for each store with the Store selector. See Settings.

Still need help?

Open a support ticket from your account and our team will look at your store with you.