File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,29 @@ BRAINTREE_PUBLIC_KEY=your_public_key
2020BRAINTREE_PRIVATE_KEY=your_private_key
2121```
2222
23+ ### 🔑 Getting Braintree API Keys
24+
25+ To enable payment functionality, you need to configure your own Braintree API credentials.
26+
27+ #### Steps to get your Braintree API keys
28+
29+ 1 . Go to the official Braintree website: [ https://www.braintreepayments.com/ ] ( https://www.braintreepayments.com/ )
30+ 2 . Create a ** free Sandbox account** at [ https://sandbox.braintreegateway.com/ ] ( https://sandbox.braintreegateway.com/ )
31+ 3 . After logging in, navigate to:
32+ ** Account → Settings → API → API Keys**
33+ 4 . Click ** “Generate New API Key”** if none exists.
34+ 5 . Copy your credentials:
35+ - ** Merchant ID**
36+ - ** Public Key**
37+ - ** Private Key**
38+ 6 . Add them to your ` .env ` file (inside the ` server ` folder):
39+
40+ ``` bash
41+ BRAINTREE_MERCHANT_ID=your_merchant_id_here
42+ BRAINTREE_PUBLIC_KEY=your_public_key_here
43+ BRAINTREE_PRIVATE_KEY=your_private_key_here
44+ ```
45+
2346### Installing
2447
2548Installing NPM modules on both client and server folders
You can’t perform that action at this time.
0 commit comments