Skip to content

Commit f418c6c

Browse files
committed
chore: add comment to specify donation product
1 parent 6c3262d commit f418c6c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

app/(authenticated)/checkout/actions.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ export async function checkoutDonation(): Promise<CheckoutResult> {
119119
} = await supabase.auth.getUser();
120120
if (!user) return { error: "Not authenticated" };
121121

122+
// This product can have a variable price, adjusted by Stripe Checkout
122123
const donationProductId = process.env.STRIPE_DONATION_PRODUCT_ID;
123124
if (!donationProductId) return { error: "Donation product not configured" };
124125

0 commit comments

Comments
 (0)