Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

fix invoices

Steven Tey49efd70234e9
diff --git a/apps/web/app/api/stripe/webhook/payment-method-attached.ts b/apps/web/app/api/stripe/webhook/payment-method-attached.ts
index 66e2e9888e..581fddb969 100644
--- a/apps/web/app/api/stripe/webhook/payment-method-attached.ts
+++ b/apps/web/app/api/stripe/webhook/payment-method-attached.ts
@@ -15,9 +15,5 @@ export async function paymentMethodAttached(event: Stripe.Event) {
data: {
payoutMethodId: id,
},
- select: {
- id: true,
- invoicePrefix: true,
- },
});
}
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/billing/invoices/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/billing/invoices/page-client.tsx
index 484e9a7f12..6749d711f1 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/billing/invoices/page-client.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/billing/invoices/page-client.tsx
@@ -154,7 +154,7 @@ const InvoiceCard = ({ invoice }: { invoice: InvoiceProps }) => {
variant="secondary"
text="View invoice"
disabled
- disabledTooltip="PDF will be available shortly after the payment is processed by Stripe."
+ disabledTooltip="Invoice not available. Contact support if you need assistance."
/>
)}
</div>