fix: Toman/Rial — system uses Toman everywhere, only ZarinPal gets Rial
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 10m16s
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 10m16s
Core change in ZarinPalPaymentService: - InitiatePaymentAsync: Amount (Toman) × 10 → Rial for gateway - VerifyPaymentWithAmountAsync: Amount (Toman) × 10 → Rial for verify - Verify result: gateway Rial ÷ 10 → Toman back to system Also fixed: - Package.Price doc: ریال → تومان - Error messages in 3 handlers: ریال → تومان - ConfigurationService descriptions: ریال → تومان (7 entries) - Notification SMS/email: ریال → تومان - Doc comments in 5 command files: ریال → تومان - PaymentCallback comments: ریال → تومان 14 files changed across Domain, Application, Infrastructure, WebApi
This commit is contained in:
+1
-1
@@ -118,7 +118,7 @@ public class PlaceOrderCommandHandler : IRequestHandler<PlaceOrderCommand, Place
|
||||
return new PlaceOrderResponseDto
|
||||
{
|
||||
Success = false,
|
||||
Message = $"موجودی کیف پول اعتباری کافی نیست. مبلغ مورد نیاز: {maxDiscountBalanceUsable:N0} ریال، موجودی شما: {userWallet.DiscountBalance:N0} ریال"
|
||||
Message = $"موجودی کیف پول اعتباری کافی نیست. مبلغ مورد نیاز: {maxDiscountBalanceUsable:N0} تومان، موجودی شما: {userWallet.DiscountBalance:N0} تومان"
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user