Skip to content

🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.

Comment out tax ID collection in createCheckoutSession function for Stripe integration.

Bill Yangd2ac70501f08
diff --git a/server/src/api/stripe/createCheckoutSession.ts b/server/src/api/stripe/createCheckoutSession.ts
index 64509c03d..9ab519e0d 100644
--- a/server/src/api/stripe/createCheckoutSession.ts
+++ b/server/src/api/stripe/createCheckoutSession.ts
@@ -121,7 +121,7 @@ export async function createCheckoutSession(
address: "auto",
},
// Allow EU customers to provide their tax ID (VAT number)
- tax_id_collection: { enabled: true },
+ // tax_id_collection: { enabled: true },
});
// 6. Return the client secret for embedded checkout