fix: wallet callback URL issues
Build and Deploy to Kubernetes / build-and-deploy (push) Has been cancelled

- PaymentCallbackController: fix redirect paths /magic-wallet → /profile/magic-wallet
- Add appsettings.Development.json with local CmsBaseUrl (localhost:32846) and FrontOfficeBaseUrl (localhost:5268)
- Proto: fix comments ریال → تومان in wallet charge messages

Root cause: CmsBaseUrl in appsettings.json points to stage (cms.se.kbs1.ir),
so when testing locally, ZarinPal callback went to stage CMS instead of local.
Also redirect after verify used wrong FO path (/magic-wallet instead of /profile/magic-wallet).
This commit is contained in:
masoodafar-web
2026-02-27 22:09:15 +03:30
parent 721661af0f
commit ed2b20a98e
3 changed files with 18 additions and 5 deletions
@@ -231,7 +231,7 @@ message GetCustomerWithdrawalSettingsResponse
message InitiateMagicChargeRequest
{
int64 amount = 1; // مبلغ واریزی واقعی (ریال)
int64 amount = 1; // مبلغ واریزی (تومان)
}
message InitiateMagicChargeResponse
@@ -259,7 +259,7 @@ message GetMagicWalletStatusResponse
message InitiateDiscountChargeRequest
{
int64 amount = 1; // مبلغ واریزی (ریال)
int64 amount = 1; // مبلغ واریزی (تومان)
}
message InitiateDiscountChargeResponse