Skip to content

Commit 8d8c8fc

Browse files
authored
ReadMe update #47 (#48)
1 parent 5fbc0a4 commit 8d8c8fc

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,29 @@ BRAINTREE_PUBLIC_KEY=your_public_key
2020
BRAINTREE_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

2548
Installing NPM modules on both client and server folders

0 commit comments

Comments
 (0)