fix: update billing tab for mollie response format, use updatePaymentMethod

This commit is contained in:
Usman Baig
2026-03-26 20:46:47 +01:00
parent 94d0b3498f
commit 4e7ad88763
2 changed files with 11 additions and 18 deletions

View File

@@ -92,14 +92,10 @@ export async function updatePaymentMethod(): Promise<{ url: string }> {
export interface Order {
id: string
total_amount: number
subtotal_amount: number
tax_amount: number
amount: string
currency: string
status: string
created_at: string
paid: boolean
invoice_number: string
}
export async function getOrders(): Promise<Order[]> {