#talmax

1 messages · Page 1 of 1 (latest)

carmine egretBOT
vocal needle
#

👋 This channel is for questions with direct integration with Stripe. We are not familiar with third party apps

strong ore
#

How do you dynamically get prices?

#

from a callback

#

do you know to add it to the stripe session?

vocal needle
#

Are the prices created with Stripe, or are they your internal prices?

strong ore
#

Well, I need to calculate price by product

#

for shipping

#

because I am using the "flat_rate" option

vocal needle
#

I see! In this case, one way I can think of is:

  1. Store the price ID and its amount in your own database
  2. When the customer selects the price and quantity, calculate the total amount
  3. Calculate the shipping based on the total amount
strong ore
#

is there documentation or a sample project that demonstrates what you said

#

?

vocal needle
#

Sorry, the discord server is busy

#

We don't have documentation for this as it's usually implemented within your own system