add payment and integration with midtrans
This commit is contained in:
+13
-1
@@ -14,4 +14,16 @@ KYC_NIK_PEPPER=
|
||||
KYC_UPLOAD_DIR=
|
||||
|
||||
GOOGLE_CLIENT_ID="xxxxxxxx"
|
||||
GOOGLE_CLIENT_SECRET="xxxxxxxx"
|
||||
GOOGLE_CLIENT_SECRET="xxxxxxxx"
|
||||
|
||||
# === Midtrans payment gateway (Phase C) ===
|
||||
# Server key dari dashboard Midtrans (sandbox: SB-Mid-server-..., production: Mid-server-...).
|
||||
# RAHASIA — server-side only, jangan commit nilai aslinya.
|
||||
MIDTRANS_SERVER_KEY=
|
||||
# Client key untuk init Snap.js di browser (sandbox: SB-Mid-client-..., production: Mid-client-...).
|
||||
# Aman diekspos via NEXT_PUBLIC_ — bukan rahasia.
|
||||
NEXT_PUBLIC_MIDTRANS_CLIENT_KEY=
|
||||
# 'true' untuk production, 'false' atau kosong untuk sandbox.
|
||||
# Dibaca di server (untuk Snap API endpoint) DAN client (untuk Snap.js URL).
|
||||
NEXT_PUBLIC_MIDTRANS_IS_PRODUCTION=false
|
||||
# Webhook URL di Midtrans dashboard harus diset ke: <NEXT_PUBLIC_SITE_URL>/api/webhooks/midtrans
|
||||
Reference in New Issue
Block a user