add cron and partial update refund schema
This commit is contained in:
+10
-1
@@ -26,4 +26,13 @@ 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
|
||||
# Webhook URL di Midtrans dashboard harus diset ke: <NEXT_PUBLIC_SITE_URL>/api/webhooks/midtrans
|
||||
|
||||
|
||||
# === Cron jobs (auto-complete trip, dst) ===
|
||||
# Bearer token yang harus di-kirim cron eksternal (system crontab / Vercel Cron / dst)
|
||||
# saat memanggil endpoint `/api/cron/*`. Kalau kosong, endpoint hard-fail 500.
|
||||
# Generate ≥32-byte hex secret:
|
||||
# openssl rand -hex 32
|
||||
# Setup detail: lihat docs/CRON_SETUP.md
|
||||
CRON_SECRET=
|
||||
Reference in New Issue
Block a user