fix: PaymentStatus→PaymentCompleted mapping in DiscountOrderService
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 8m25s
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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user