F
This commit is contained in:
@@ -108,7 +108,17 @@ export function createOrder(payload: CreateOrderPayload): Promise<OrderResult> {
|
||||
}, true)
|
||||
}
|
||||
|
||||
export type OrderStatus = 'pending' | 'completed' | 'cancelled' | 'failed'
|
||||
export type OrderStatus = 'pending' | 'rejected' | 'completed' | 'cancelled' | 'error'
|
||||
|
||||
export type PaymentStatus =
|
||||
| 'pending'
|
||||
| 'money_accepted'
|
||||
| 'web3_processing'
|
||||
| 'web3_hash_error'
|
||||
| 'web3_balance_problem'
|
||||
| 'receipt_error'
|
||||
| 'completed'
|
||||
| 'usdt_delivered'
|
||||
|
||||
export interface Order {
|
||||
id: string
|
||||
@@ -140,7 +150,7 @@ export interface Payment {
|
||||
updated_at: string
|
||||
user_id: string
|
||||
order_id: string
|
||||
status: OrderStatus
|
||||
status: PaymentStatus
|
||||
receipt_cloudekassir_id: string
|
||||
receipt_cloudekassir_link: string
|
||||
itpay_payment_id: string
|
||||
|
||||
Reference in New Issue
Block a user