#doublem
1 messages ยท Page 1 of 1 (latest)
Hello ๐
Customer portal only allows you to manage subscriptions, It doesn't offer capability to subscribe to new products
hmm ok thanks. i did also embed the pricing table but when you click on "subscribe" the user is redirected to some other portal where he has to login?
as a workaround i thought could signup a new user to a free plan? would that be a workaround?
i did also embed the pricing table but when you click on "subscribe" the user is redirected to some other portal where he has to login?
Not sure, can you share an example/screenshots?
does the pricing table also offers the session logic like the customer portal so the user is already authenticated? i just dont want the user to signin again.
So that's not a sign in page, that's a Stripe hosted Checkout page.
does the pricing table also offers the session logic like the customer portal so the user is already authenticated? i just dont want the user to signin again.
The pricing table doesn't have session logic, your app can authenticate the customers and prefill the email
https://stripe.com/docs/payments/checkout/pricing-table#customer-email
You can also just limit the customer to one sub which then automatically redirects the customers to customer portal when they click on the pricing table links
https://stripe.com/docs/payments/checkout/pricing-table#limit-subscriptions
but they are still not logged in it seems
logged in where?
in stripe. i enabled "limit to 1 sub" but the pricing table links to the portal where the user has to login again. the goal is: when a user is logged in in my site they should not login again on strip. this works fine for the customer portal but not for the first subscription.
or at least an email
Ah I see. I don't think there's a way for pricing table to pre-auth customer portal links unfortunately..
ok, is there an option that every new stripe user gets a free plan on signup? this way it would show up in the customer portal where you can switch to a paid plan.
Not really, you'll need to create a subscription by calling the API when they sign up for an account on your site
ok, i will check this out. thanks for the fast support. if you collect feedback: pricing table should be shown in the customer portal ๐