#shree-harsha_best-practices

1 messages ¡ Page 1 of 1 (latest)

proper lagoonBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1242397899342610514

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

sweet coralBOT
grim tulip
sweet coralBOT
viscid sapphire
#

From this docs link https://docs.stripe.com/payment-links/api#product-catalog under Customer chooses price section it still asks for product_id and we want to send a fixed custom amount from the server.

We don't have fixed products. With suggested ways for every custom amount, I have to keep on creating products.

glass summit
#

Are you always going to be automatically generating individual links for your customers?

glass summit
#

If so, you should use Stripe Checkout, and use Session.items.price_data.amount to set the amount dynamically, without pre-creating the Prices.

viscid sapphire
#

I would always add the amount dynamically. I will try that. Thanks

glass summit
#

Happy to help.