fix(payment): send result redirects to the frontend + add /payment/result page
This commit is contained in:
@@ -88,6 +88,9 @@ services:
|
||||
Jwt__Audience: "flatrender"
|
||||
Jwt__AccessTokenMinutes: "${JWT_ACCESS_MINUTES:-1440}"
|
||||
ServiceToken: "${SERVICE_TOKEN:-internal-service-secret}"
|
||||
# Payment callbacks land on this service (api.*); the result page is on the
|
||||
# frontend. Used to make /payment/result redirects absolute to the site.
|
||||
Frontend__BaseUrl: "${NEXT_PUBLIC_SITE_URL:-http://localhost:3000}"
|
||||
ZarinPal__MerchantId: "${ZARINPAL_MERCHANT_ID:-}"
|
||||
ZarinPal__CallbackUrl: "${ZARINPAL_CALLBACK_URL:-http://localhost:8080/v1/payments/callback/zarinpal}"
|
||||
ZarinPal__Sandbox: "${ZARINPAL_SANDBOX:-true}"
|
||||
|
||||
Reference in New Issue
Block a user