fix: wallet callback URL issues
Build and Deploy to Kubernetes / build-and-deploy (push) Has been cancelled
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:
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"CmsBaseUrl": "https://localhost:32846",
|
||||
"FrontOfficeBaseUrl": "http://localhost:5268",
|
||||
"ZarinPal": {
|
||||
"UseSandbox": true
|
||||
},
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Debug",
|
||||
"Microsoft.AspNetCore": "Warning"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user