feat(payment): update payment status values to use 'success' and 'failed' instead of 'received' and add new status

This commit is contained in:
hamed
2026-06-19 01:21:57 +03:30
parent e7be54b84e
commit 9b0af282e0
3 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ export interface Appointment {
created_at: string;
}
export type PaymentStatus = 'pending' | 'received' | 'canceled' | 'refund';
export type PaymentStatus = 'pending' | 'success' | 'failed' | 'canceled' | 'refunded';
export type PaymentGateway = 'mellat' | 'sep';
export interface Payment {