mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-29 04:50:54 +00:00
feat: add drain tail to the payments
This commit is contained in:
@@ -30,6 +30,12 @@ FREIGHT_PORTAL_URL=http://localhost:5173
|
||||
# Point these at the freight portal's public payment result routes.
|
||||
PAYMENT_RETURN_URL=http://localhost:5173/payment/success
|
||||
PAYMENT_FAILURE_URL=http://localhost:5173/payment/failure
|
||||
|
||||
# Drain tail (minutes) added to every booking pay window before anything expires:
|
||||
# settlement is asynchronous, so a payment made in the window's last seconds lands
|
||||
# after the deadline. Nothing is expired, no wagons are resold and no window cycle
|
||||
# concludes until the tail passes. Defaults to 5 when unset.
|
||||
FREIGHT_PAYMENT_DRAIN_MINUTES=5
|
||||
# JWT (used by @tria-plc/api-common SharedAuthModule)
|
||||
JWT_SECRET=
|
||||
JWT_ACCESS_TOKEN_SECRET=
|
||||
|
||||
Reference in New Issue
Block a user