docs: replace Stripe setup with Areeba in README
This commit is contained in:
@@ -121,9 +121,11 @@ EXPO_PUBLIC_GEOAPIFY_API_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
|||||||
# google api key
|
# google api key
|
||||||
EXPO_PUBLIC_GOOGLE_API_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
EXPO_PUBLIC_GOOGLE_API_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
||||||
|
|
||||||
# stripe api key
|
# areeba payment gateway (credentials issued after merchant onboarding)
|
||||||
EXPO_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_test_YOUR_KEY_HERE
|
AREEBA_API_BASE_URL="https://your-gateway-host.areeba.com"
|
||||||
STRIPE_SECRET_KEY=sk_test_YOUR_KEY_HERE
|
AREEBA_MERCHANT_ID=your_merchant_id
|
||||||
|
AREEBA_API_PASSWORD=your_api_password
|
||||||
|
AREEBA_API_VERSION=100
|
||||||
```
|
```
|
||||||
|
|
||||||
5. Open terminal in root directory. Run `npm install --legacy-peer-deps` or `yarn install --legacy-peer-deps`.
|
5. Open terminal in root directory. Run `npm install --legacy-peer-deps` or `yarn install --legacy-peer-deps`.
|
||||||
@@ -202,17 +204,17 @@ EXPO_PUBLIC_GOOGLE_API_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### **12. Stripe API Keys**
|
### **12. Areeba Payment Gateway**
|
||||||
|
|
||||||
- Go to the [Stripe Dashboard](https://dashboard.stripe.com/).
|
- Contact [Areeba](https://www.areeba.com/) to open a merchant account (Lebanon).
|
||||||
- Log in or sign up for an account.
|
- After onboarding, Areeba provides your gateway host, merchant ID, API password, and integration docs.
|
||||||
- Navigate to the "Developers" section, then "API Keys."
|
|
||||||
- Copy the **Publishable Key** (starts with `pk_test_`) and **Secret Key** (starts with `sk_test_`).
|
|
||||||
- Add them to your `.env` file:
|
- Add them to your `.env` file:
|
||||||
|
|
||||||
```env
|
```env
|
||||||
EXPO_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_test_YOUR_KEY_HERE
|
AREEBA_API_BASE_URL="https://your-gateway-host.areeba.com"
|
||||||
STRIPE_SECRET_KEY=sk_test_YOUR_KEY_HERE
|
AREEBA_MERCHANT_ID=your_merchant_id
|
||||||
|
AREEBA_API_PASSWORD=your_api_password
|
||||||
|
AREEBA_API_VERSION=100
|
||||||
```
|
```
|
||||||
|
|
||||||
13. Now app is fully configured :+1: and you can start using this app using `expo start`.
|
13. Now app is fully configured :+1: and you can start using this app using `expo start`.
|
||||||
|
|||||||
Reference in New Issue
Block a user