fix: redirect when creating orgs onboarding v3 (#25390)

* Fix redirect

* fix redirect
This commit is contained in:
sean-brydon authored and GitHub committed 2025-11-26 09:54:16 +00:00
1 parent 71e7f16b29
commit a09dfe37a1
2 files changed
+86 -2

No files matched your search

@@ -287,8 +287,8 @@ export class OrganizationPaymentService {
return this.billingService.createSubscriptionCheckout({
customerId: stripeCustomerId,
successUrl: `${WEBAPP_URL}/settings/organizations/new/status?session_id={CHECKOUT_SESSION_ID}&paymentStatus=success&${params.toString()}`,
cancelUrl: `${WEBAPP_URL}/settings/organizations/new/status?session_id={CHECKOUT_SESSION_ID}&paymentStatus=failed&${params.toString()}`,
successUrl: `${WEBAPP_URL}/api/organizations/payment-redirect?session_id={CHECKOUT_SESSION_ID}&paymentStatus=success&${params.toString()}`,
cancelUrl: `${WEBAPP_URL}/api/organizations/payment-redirect?session_id={CHECKOUT_SESSION_ID}&paymentStatus=failed&${params.toString()}`,
priceId,
quantity: config.seats,
metadata: {