#Akii
1 messages · Page 1 of 1 (latest)
Yes you have price_data and product_data inside the line_items parameters when you create a Checkout Session
so even though that order has no product data can I still pay for it?
It's not exactly no product data, it's product data created on-the-fly
Appreciate the response. Can I give a scenario of what I'm trying to do? Just want to clarify something
Sure
I have this Portal(Webpage) wherein the products + prices are getting stored in a separate database which is Dataverse. The price and product changes based on a condition (some fields) then when proceeding to checkout I want to redirect it to Stripe Checkout. Is this possible?
Yes. You should be able to dynamically specify price_data and product_data as I suggested above
oh ok. So I can specify more than 1 product right?
More than one price, then each price of different products
Got it so what will happen I click the button checkout then it creates a dynamic list of products and prices then proceed to Stripe Checkout then get the total amount? Is this correct?
Yes!
Thank you very much @pastel pivot