You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
const customerPortalTestUrl = 'https//billing.stripe.com/p/login/test_...'
const customerPortalProdUrl = undefined
export const STRIPE_CUSTOMER_PORTAL_LINK = isDev ? customerPortalTestUrl : customerPortalProdUrl;
checkStripePortalLinkExists(STRIPE_CUSTOMER_PORTAL_LINK); // throws an error if the link is not set in production
isDev and checkStripePortalLinkExists are not defined and throw an error.
@vincanger mentioned in the Discord: "Ah this looks like a mistake. We removed this check recently I believe but forgot to remove it from the docs
So you can just ignore that portion of the docs. You should see the customer portal link in .env.client instead"
The text was updated successfully, but these errors were encountered:
The documentation (https://docs.opensaas.sh/guides/stripe-integration/) says to add this code to the src/shared/constants.ts file:
isDev and checkStripePortalLinkExists are not defined and throw an error.
@vincanger mentioned in the Discord:
"Ah this looks like a mistake. We removed this check recently I believe but forgot to remove it from the docs
So you can just ignore that portion of the docs. You should see the customer portal link in .env.client instead"
The text was updated successfully, but these errors were encountered: