diff --git a/components/dashboard/src/components/UsageBasedBillingConfig.tsx b/components/dashboard/src/components/UsageBasedBillingConfig.tsx index c8a95a358903d8..2be921d468c13a 100644 --- a/components/dashboard/src/components/UsageBasedBillingConfig.tsx +++ b/components/dashboard/src/components/UsageBasedBillingConfig.tsx @@ -94,20 +94,6 @@ export default function UsageBasedBillingConfig({ hideSubheading = false }: Prop refreshSubscriptionDetails(attributionId); }, [attributionId, refreshSubscriptionDetails]); - const handleAddPaymentMethod = useCallback(async () => { - if (!attributionId) { - return; - } - - try { - createPaymentIntent.mutateAsync(attributionId); - setShowAddPaymentMethodModal(true); - } catch (e) { - console.error(e); - toast(e.message || "Oh no, there was a problem with our payment service."); - } - }, [attributionId, createPaymentIntent, toast]); - // Handle stripe setup-intent or payment-intent redirect flow useEffect(() => { const params = new URLSearchParams(location.search); @@ -318,13 +304,27 @@ export default function UsageBasedBillingConfig({ hideSubheading = false }: Prop
-
Upgrade Plan
- Pay-as-you-go + Gitpod is now Ona ( + + learn more + + )
- {priceInformation} + + All you loved in Gitpod Classic and more: Parallel coding agents with full VS + Code in browser. Each runs in its own sandbox, fire off many at once and handoff + to web or desktop IDE, even start on mobile.
+
Gitpod Classic sunsets Oct 15 - migrate in September and get $100 Core + credits. +
@@ -335,9 +335,10 @@ export default function UsageBasedBillingConfig({ hideSubheading = false }: Prop )} - - Upgrade Plan - + + + +