diff --git a/infra/console.ts b/infra/console.ts
index 74c478ae..bd0af2b1 100644
--- a/infra/console.ts
+++ b/infra/console.ts
@@ -75,6 +75,7 @@ export const stripeWebhook = new WebhookEndpoint("StripeWebhookEndpoint", {
"checkout.session.async_payment_succeeded",
"checkout.session.completed",
"checkout.session.expired",
+ "charge.refunded",
"customer.created",
"customer.deleted",
"customer.updated",
@@ -93,9 +94,6 @@ export const stripeWebhook = new WebhookEndpoint("StripeWebhookEndpoint", {
"customer.subscription.resumed",
"customer.subscription.trial_will_end",
"customer.subscription.updated",
- "customer.tax_id.created",
- "customer.tax_id.deleted",
- "customer.tax_id.updated",
],
})
diff --git a/packages/console/app/src/component/workspace/payment-section.module.css b/packages/console/app/src/component/workspace/payment-section.module.css
index ea8e2ed4..2e1afe78 100644
--- a/packages/console/app/src/component/workspace/payment-section.module.css
+++ b/packages/console/app/src/component/workspace/payment-section.module.css
@@ -40,6 +40,10 @@
&[data-slot="payment-amount"] {
color: var(--color-text);
+
+ &[data-refunded="true"] {
+ text-decoration: line-through;
+ }
}
}
diff --git a/packages/console/app/src/component/workspace/payment-section.tsx b/packages/console/app/src/component/workspace/payment-section.tsx
index 826ec7a5..5cdb0cd7 100644
--- a/packages/console/app/src/component/workspace/payment-section.tsx
+++ b/packages/console/app/src/component/workspace/payment-section.tsx
@@ -85,7 +85,9 @@ export function PaymentSection() {
{formatDateForTable(date)}
{payment.id} |
- ${((payment.amount ?? 0) / 100000000).toFixed(2)} |
+
+ ${((payment.amount ?? 0) / 100000000).toFixed(2)}
+ |
|