#un!t-checkout
1 messages · Page 1 of 1 (latest)
hello! it sounds like you want to generate a new Price adhoc (at the same time you create the Checkout Session). If so, you can pass in the Price details here : https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-line_items-price_data
but i cant reuse one price over and over again?
You could reuse the price depending on how you calculate the reservation fee. For example, if you calculate the reservation fee based on number of days, you could set a price / day, then set that Price and Quantity (per day)
the calculation has a base fee + fee per day but has a max
so price / day is not realy a option
so i will make a "Reserveation Fee" product and add a price everytime a reservation is done and disable that price after?
yep. You don't have to disable that Price after. adhoc Prices are automatically archived.