fix(payment): send result redirects to the frontend + add /payment/result page
CI/CD / CI · Web (tsc) (push) Successful in 1m26s
CI/CD / Deploy · full stack (push) Failing after 28s

This commit is contained in:
soroush.asadi
2026-06-25 13:17:21 +03:30
parent dc1fe11604
commit 3748b1c8d8
3 changed files with 106 additions and 5 deletions
+3
View File
@@ -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}"