- {invoice.status === "open" &&
- invoice.hosted_invoice_url && (
+ {invoice.status === "open" && (
+ <>
+ {/* always show the crypto payment button */}
- )}
+ {/* if we have a hosted invoice url, show that */}
+ {invoice.hosted_invoice_url && (
+
+ )}
+ >
+ )}
{invoice.invoice_pdf && (
diff --git a/apps/dashboard/src/app/(app)/team/[team_slug]/(team)/~/settings/invoices/page.tsx b/apps/dashboard/src/app/(app)/team/[team_slug]/(team)/~/settings/invoices/page.tsx
index 2d11eb68344..d3ade359e52 100644
--- a/apps/dashboard/src/app/(app)/team/[team_slug]/(team)/~/settings/invoices/page.tsx
+++ b/apps/dashboard/src/app/(app)/team/[team_slug]/(team)/~/settings/invoices/page.tsx
@@ -49,6 +49,7 @@ export default async function Page(props: {