Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

fix: Remove customer_creation

Richie McIlroy6d22ec44c642
diff --git a/apps/web/app/api/settings/billing/guest-checkout/route.ts b/apps/web/app/api/settings/billing/guest-checkout/route.ts
index 04f989f31..89338591c 100644
--- a/apps/web/app/api/settings/billing/guest-checkout/route.ts
+++ b/apps/web/app/api/settings/billing/guest-checkout/route.ts
@@ -22,7 +22,6 @@ export async function POST(request: NextRequest) {
success_url: `${serverEnv().WEB_URL}/dashboard/caps?upgrade=true&guest=true`,
cancel_url: `${serverEnv().WEB_URL}/pricing`,
allow_promotion_codes: true,
- customer_creation: "always", // This ensures Stripe creates a customer
metadata: {
platform: "web",
guestCheckout: "true",