#doublem

1 messages ยท Page 1 of 1 (latest)

finite sealBOT
wild willow
#

Hello ๐Ÿ‘‹
Customer portal only allows you to manage subscriptions, It doesn't offer capability to subscribe to new products

glacial badger
#

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?

wild willow
#

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?

glacial badger
#

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.

wild willow
#

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

glacial badger
#

but they are still not logged in it seems

wild willow
#

logged in where?

glacial badger
#

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

wild willow
#

Ah I see. I don't think there's a way for pricing table to pre-auth customer portal links unfortunately..

glacial badger
#

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.

wild willow
#

Not really, you'll need to create a subscription by calling the API when they sign up for an account on your site

glacial badger
#

ok, i will check this out. thanks for the fast support. if you collect feedback: pricing table should be shown in the customer portal ๐Ÿ™‚