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
- Install the extension and validate your licence. See Installation and Licence activation.
- 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.
- Open the Braintree connection tab. Fill in the four Test · fields and choose the Sandbox merchant-account currency.
- 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.
- Click Save settings. Wait for the message "Settings saved."
- Schedule the recovery worker with the Test URL. See Recovery worker.
- 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.
| Test | How | Expected result |
|---|---|---|
| Successful payment | A Braintree 3D Secure test card for successful authentication. With the 3D Secure requirement disabled, the standard test card 4111 1111 1111 1111 | The customer lands on the order success page. The order takes the paid status once and Payment activity shows Paid and confirmed |
| Processor decline | An order whose total is exactly 2000.00, the sandbox amount that Braintree declines | No order is confirmed. Payment activity shows Payment declined |
| 3D Secure failure | Braintree's 3D Secure test cards for frictionless failure and challenge failure, and a cancelled challenge | Failed or cancelled authentication shows "Your bank authentication did not complete. Try again before paying." and nothing is charged |
| Interrupted payment | Close the browser tab right after clicking Confirm payment | Within 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
- 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.
- Confirm with Braintree that card processing, and 3D Secure if you require it, are active on that merchant account.
- In Braintree connection, fill in the four Live · fields and choose the Live merchant-account currency.
- In Settings, switch Mode to Live and save.
- Add a second scheduled task for the Live worker URL. Keep the Test task only while you still have sandbox payments to reconcile.
- Check that your store uses HTTPS on every checkout page.
- 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.
- 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.