#ssloan

1 messages · Page 1 of 1 (latest)

versed oliveBOT
fallen rivet
#

👋 happy to help

#

I'm not sure I fully understand the question

#

would you mind elaborating a bit more

azure river
#

yeah

#

i use price list on stripe's Dashboard

#

with 2 product

#

these are subscriptions, monthly and annual

fallen rivet
azure river
#

<stripe-pricing-table

    pricing-table-id="prctbl_xxxxxxxxxx
    publishable-key="pk_test_xxxxxxxxxxxxxx>

</stripe-pricing-table>

#

sorry for my english

fallen rivet
#

AFAIK, the first product is the one pre-selected

azure river
#

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.

fallen rivet
#

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?

azure river
#

yeah

fallen rivet
#

what's next?

#

they will select a product and be redirected to the Checkout Session right?

azure river
#

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

fallen rivet
#

could you share the url in test mode so I can take a look at the experience?

azure river
#

ye

#

the url is on local

#

can give you the code of pricing table ?

fallen rivet
#

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

azure river
#

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 ?

fallen rivet
#

@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