#Pavan

1 messages · Page 1 of 1 (latest)

steady radishBOT
hallow solstice
#

Hi
Not sure I understand you completely, can you share the priceId that you want to use in the Checkout Session ? can you give a concrete example of what you want to achieve ?

tacit hound
#

I have a product where we have multiple price id
let's say
Product 1 has Priceid1, Priceid2,Priceid3,Priceid4,Priceid5

We are creating a checkout session for the Users to do payments at this phase I want to create a session for the default price ID of the product.

The reason is it is a recurring subscription modal and next time User need to pay for the default priceID tagged to the product and not the old priceID as there will be increasing or decreasing in price of the product

#

Real-world Example:
The user paid for a Subscription 10 dollars and purchased a service which is a recurring payment, next month the same service is 20 dollars since it is a subscription modal he should be charged 20 dollars and not 10 dollars

in stripe under a product, we are creating multiple price id

hallow solstice
#

Thanks for sharing these details, checking...

#

The user paid for a Subscription 10 dollars and purchased a service which is a recurring payment, next month the same service is 20 dollars since it is a subscription modal he should be charged 20 dollars and not 10 dollars
You create a Checkout Session that creates the Subscription. Then you update the Subscription to use the other price using API or Dashboard

tacit hound
#

How to pass product details in the checkout session as in the documentation I can't see any points on this

midnight stream
#

👋 taking over for my colleague. Let me know if there's any follow-up Qs I can answer!

steady radishBOT