Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

docs: update comments on stripe util functions

Marc Klingen484fa424fbf2
diff --git a/web/src/ee/features/billing/stripeClientReference.ts b/web/src/ee/features/billing/stripeClientReference.ts
index b35cdf5126..628f86acf3 100644
--- a/web/src/ee/features/billing/stripeClientReference.ts
+++ b/web/src/ee/features/billing/stripeClientReference.ts
@@ -1,6 +1,6 @@
import { env } from "@/src/env.mjs";
-// used client-side to create a stripe customer reference
+// used server-side to create a stripe customer reference when creating a checkout session
export const createStripeClientReference = (orgId: string) => {
if (!env.NEXT_PUBLIC_LANGFUSE_CLOUD_REGION) {
console.error(
@@ -11,7 +11,7 @@ export const createStripeClientReference = (orgId: string) => {
return `${env.NEXT_PUBLIC_LANGFUSE_CLOUD_REGION}-${orgId}`;
};
-// used server-side to check if the stripe customer reference is valid and parse the orgId
+// used server-side to check if the stripe customer reference is valid and parse the orgId when receiving a stripe webhook
export const isStripeClientReferenceFromCurrentCloudRegion = (
clientReference: string,
) =>