Update payment status to enum and refactor update order handler

This commit is contained in:
masoodafar-web
2025-11-28 04:03:12 +03:30
parent 067fe6cc0e
commit 698c044be6
5 changed files with 32 additions and 29 deletions
@@ -81,7 +81,7 @@ message UpdateUserOrderRequest
int64 id = 1;
// فیلدهای قدیمی (فعلاً برای سازگاری نگه داشته شده‌اند)
int64 amount = 2;
int64 package_id = 3;
google.protobuf.Int64Value package_id = 3;
google.protobuf.Int64Value transaction_id = 4;
bool payment_status = 5;
google.protobuf.Timestamp payment_date = 6;