fix: PaymentStatus→PaymentCompleted mapping in DiscountOrderService
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 8m25s

- GetOrderById and GetUserOrders were using Mapster auto-mapping which
  could not map 'PaymentStatus' (enum: Success=0) to 'payment_completed' (bool)
- Replaced with manual mapping: PaymentStatus == Success → true
- Also maps DeliveryStatus and all other fields correctly
- Fixed FrontOfficeBaseUrl and CmsBaseUrl to use HTTP for local dev
This commit is contained in:
masoodafar-web
2026-02-16 00:36:29 +03:30
parent a39a36e66d
commit e77611012b
2 changed files with 74 additions and 4 deletions
@@ -4,8 +4,8 @@
"MerchantId": "00000000-0000-0000-0000-000000000000",
"UseSandbox": true
},
"CmsBaseUrl": "https://localhost:32846",
"FrontOfficeBaseUrl": "https://localhost:5268",
"CmsBaseUrl": "http://localhost:32847",
"FrontOfficeBaseUrl": "http://localhost:5268",
"JwtSecurityKey": "TvlZVx5TJaHs8e9HgUdGzhGP2CIidoI444nAj+8+g7c=",
"JwtIssuer": "https://localhost",
"JwtAudience": "https://localhost",