> For the complete documentation index, see [llms.txt](https://docs.ionicfirebaseapp.com/ionicrestaurantapp/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ionicfirebaseapp.com/ionicrestaurantapp/payment/braintree.md).

# Braintree

Braintree is a full-stack payments platform that makes it easy to accept payments in your app or website.

## Braintree Payments

Go to [https://sandbox.braintreegateway.com](https://sandbox.braintreegateway.com/) (for testing account) or <https://www.braintreepayments.com/> (for production).

Create an account or login if already registered.

Navigate to dashboard and find the "Tokenization key" in Dashboard > Settings > API keys.

![](https://3638188725-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LC49Fsrc7sj0vql2JSG%2F-LC8wGJDBpu8c1FSAf5Z%2F-LC8yoEcJZCL4IIgZGQS%2Fimage.png?alt=media\&token=6eb8e16b-ccc2-406d-afce-aa4a66efd368)

Paste Tokanize key to src > pages > checkout > checkout.ts.

If you want PayPal integration inside braintree payments, go to Sandbox Accounts(obtained from [https://www.sandbox.paypal.com/myaccount/activity\\](https://www.sandbox.paypal.com/myaccount/activity%29/)and create a sandbox business and personal test accounts.

Note that if you want to move from Sandbox to Production, you should go to My Apps & Credentials (obtained from <https://developer.paypal.com/developer/applications/>.

To add PayPal integration inside braintree payments, navigate to Dashboard > Settings > Processing, and enable customers to pay with PayPal by adding PayPal credentials.

![](https://3638188725-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LC49Fsrc7sj0vql2JSG%2F-LC8wGJDBpu8c1FSAf5Z%2F-LC8zCX8CKxkacvYspei%2Fimage.png?alt=media\&token=5d0ac596-4782-4302-8076-10ab08f5b402)

You have successfully created brain tree payments environments.
