mirror of
https://github.com/wasp-lang/open-saas.git
synced 2025-11-23 11:37:48 +01:00
add lemon squeezy as payment provider (#246)
* add lemon squeezy checkout and webhook * add lemonSqueezy customer portal url * Update AccountPage.tsx * add lemon squeezy total revenue function * update app diff * update app diff * add LS docs * Update PricingPage.tsx * add unified payment processor * unify customer portal url * Update paymentProcessor.ts * update paymentProcessor logic * update app diff to use both payments processors * Update contentSections.ts.diff * finishing touches * Update e2e-tests.yml * remove lemonsqueezy from app diff * Update webhook.ts
This commit is contained in:
@@ -8,3 +8,12 @@
|
||||
const [isAdminFilter, setIsAdminFilter] = useState<boolean | undefined>(undefined);
|
||||
const [statusOptions, setStatusOptions] = useState<SubscriptionStatus[]>([]);
|
||||
const { data, isLoading, error } = useQuery(getPaginatedUsers, {
|
||||
@@ -222,7 +223,7 @@
|
||||
<p className='text-sm text-black dark:text-white'>{user.subscriptionStatus}</p>
|
||||
</div>
|
||||
<div className='col-span-2 flex items-center'>
|
||||
- <p className='text-sm text-meta-3'>{user.paymentProcessorUserId}</p>
|
||||
+ <p className='text-sm text-meta-3'>{user.stripeId}</p>
|
||||
</div>
|
||||
<div className='col-span-1 flex items-center'>
|
||||
<div className='text-sm text-black dark:text-white'>
|
||||
|
||||
Reference in New Issue
Block a user