-
Notifications
You must be signed in to change notification settings - Fork 0
Payment integration of SSLCommerz #130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
3833bfe
3306fa2
25a321c
bae49be
3689d87
8ecf55b
96480b4
402fced
e0be297
4d10917
2eef2e6
fddc4b8
5f31f54
3b329f1
a044cd0
720e0d7
937c968
a689a9d
3eaed3f
3b03b3c
1db9b61
9e58b0e
d900317
544c4ab
29148ed
d897dcf
b75de27
20d7c6f
be133a0
2f856e4
3e14ad4
0072f73
4c8709c
34c7eb9
99b0519
dd92adc
7d896d6
1eca4bf
326d12c
2e84d12
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -3,15 +3,22 @@ | |||
| DATABASE_URL="postgres://1d421585019e812f1977d6aa0cef7dd51610436076598e55926cbd3072d017c1:sk_OfVGN0_tWDbVdYf_P28Ow@db.prisma.io:5432/postgres?sslmode=require" | ||||
| POSTGRES_URL="postgres://1d421585019e812f1977d6aa0cef7dd51610436076598e55926cbd3072d017c1:sk_OfVGN0_tWDbVdYf_P28Ow@db.prisma.io:5432/postgres?sslmode=require" | ||||
| PRISMA_DATABASE_URL="prisma+postgres://accelerate.prisma-data.net/?api_key=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqd3RfaWQiOjEsInNlY3VyZV9rZXkiOiJza19PZlZHTjBfdFdEYlZkWWZfUDI4T3ciLCJhcGlfa2V5IjoiMDFLRzJYTkFXQ001VDZRUkdNU0Y1R0Y1TVMiLCJ0ZW5hbnRfaWQiOiIxZDQyMTU4NTAxOWU4MTJmMTk3N2Q2YWEwY2VmN2RkNTE2MTA0MzYwNzY1OThlNTU5MjZjYmQzMDcyZDAxN2MxIiwiaW50ZXJuYWxfc2VjcmV0IjoiMTE5OWQ5OGQtMDg3Ny00MmQzLWEwZTEtOWJhM2U1YzNjYzIwIn0.pqHhe8pkmYyj9H5CamwsM3_QqPvPgXylaGypKUgYxD8" | ||||
|
|
||||
| # NextAuth Configuration | ||||
| NEXTAUTH_SECRET="7d08e0c5225aaa9fced497c0d4d6265ea365b918c2a911bd206ecd1028cb1f69" | ||||
| NEXTAUTH_URL="http://localhost:3000" | ||||
|
|
||||
| # Email Configuration | ||||
| EMAIL_FROM="noreply@example.com" | ||||
|
|
||||
| RESEND_API_KEY="re_SDif4qes_L3M23yb341vpHw287V7rCkLF" # Build fails without this | ||||
|
|
||||
| # SSLCommerz Payment Gateway (Bangladesh) | ||||
| SSLCOMMERZ_STORE_ID="codes69469d5ee7198" | ||||
| SSLCOMMERZ_STORE_PASSWORD="codes69469d5ee7198@ssl" | ||||
|
Comment on lines
13
to
+17
|
||||
| SSLCOMMERZ_IS_SANDBOX="true" | ||||
| SSLCOMMERZ_SESSION_API="https://sandbox.sslcommerz.com/gwprocess/v3/api.php" | ||||
| SSLCOMMERZ_VALIDATION_API="https://sandbox.sslcommerz.com/validator/api/validationserverAPI.php" | ||||
|
|
||||
| # Pathao Courier Integration (Optional - Per Store Configuration) | ||||
| # These are stored per-store in the database via Store model | ||||
| # Use admin panel to configure Pathao credentials for each store | ||||
|
|
@@ -20,6 +27,7 @@ RESEND_API_KEY="re_SDif4qes_L3M23yb341vpHw287V7rCkLF" # Build fails without thi | |||
| # PATHAO_REFRESH_TOKEN="your_refresh_token" | ||||
| # PATHAO_STORE_ID="123" # Pathao pickup store ID | ||||
| # PATHAO_MODE="sandbox" # or "production" | ||||
|
|
||||
| # Facebook/Meta Shop Integration | ||||
| # Create Facebook App at: https://developers.facebook.com/apps | ||||
| # Create System User at: https://business.facebook.com/settings/system-users | ||||
|
|
@@ -47,3 +55,4 @@ FACEBOOK_WEBHOOK_VERIFY_TOKEN="" | |||
| FACEBOOK_ACCESS_LEVEL="STANDARD" | ||||
| FACEBOOK_CONVERSIONS_ACCESS_TOKEN="" | ||||
| FACEBOOK_TEST_EVENT_CODE="TEST89865" | ||||
| >>>>>>> origin/main | ||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||||
| >>>>>>> origin/main |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,4 +9,4 @@ | |
| "type": "stdio" | ||
| } | ||
| } | ||
| } | ||
| } | ||


There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.env.exampleappears to contain real credentials/secrets (DB URLs, Prisma Accelerate API key, Resend key, and SSLCommerz credentials). Example env files should only contain placeholders (or clearly fake values) to avoid accidental secret leakage and copy/paste into production. Replace these with non-sensitive placeholders and ensure any real secrets are rotated if they were valid.