#ssloan
1 messages · Page 1 of 1 (latest)
👋 happy to help
I'm not sure I fully understand the question
would you mind elaborating a bit more
yeah
i use price list on stripe's Dashboard
with 2 product
these are subscriptions, monthly and annual
do you mean pricing table?
yeaah
<stripe-pricing-table
pricing-table-id="prctbl_xxxxxxxxxx
publishable-key="pk_test_xxxxxxxxxxxxxx>
</stripe-pricing-table>
sorry for my english
AFAIK, the first product is the one pre-selected
yes but I want to know if I can change it manually by passing the product id I want somewhere (in url or in the code)
Because in fact, my customer can choose a product and click on "subscribe", and I will store the product ID they have chosen at that moment. This is because if they are not logged into my site, they will be redirected to the "register" page. Then, after they have finished creating an account, they are redirected to the Stripe page. However, I would like to directly put them on the product that they had previously chosen, the one for which I had stored the ID.
unfortunately that's not possible
I'm not sure I follow your workflow
let's start there
your customer go to your website where the Pricing Table is displayed
what happens next?
yeah
what's next?
they will select a product and be redirected to the Checkout Session right?
Actually, my customer arrives on a page where they can see the different rates. Then they click on one of the rates, which takes them to the Stripe page where the Pricing Table is displayed, but only if they are logged in. If not, it redirects them to the login page. Once they have created their account, I send them back to the Stripe page where the Pricing Table is displayed.
after , yes they will select a product and be redirected to the Checkout Session
could you share the url in test mode so I can take a look at the experience?
I'm not sure it would be enough, again, the problem isn't with the pricing table since the feature you want is not possible
you need to change your UX
ok but we agree that the url of the checkout page is encoded
and I tell myself that the product id must certainly be in the url somewhere
no ?
@azure river this feature is not supported by the Pricing Table. you can suggest this feature request by contacting https://support.stripe.com/?contact=true
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.