feat: add donations feature with one-time payments - M6 (refs #55)

This commit is contained in:
Eric Gullickson
2026-01-18 16:51:20 -06:00
parent 6c1a100eb9
commit 56da99de36
14 changed files with 815 additions and 4 deletions

View File

@@ -5,6 +5,7 @@ import { format } from 'date-fns';
import { GlassCard } from '../../../shared-minimal/components/mobile/GlassCard';
import { MobileContainer } from '../../../shared-minimal/components/mobile/MobileContainer';
import { PaymentMethodForm } from '../components/PaymentMethodForm';
import { DonationSectionMobile } from '../components/DonationSectionMobile';
import {
useSubscription,
useCheckout,
@@ -346,6 +347,10 @@ export const SubscriptionMobileScreen: React.FC = () => {
</div>
)}
</GlassCard>
<Elements stripe={stripePromise}>
<DonationSectionMobile currentTier={subscription?.tier} />
</Elements>
</div>
<MobileModal