feat: add donations feature with one-time payments - M6 (refs #55)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user