#chloe_code

1 messages ¡ Page 1 of 1 (latest)

leaden wraithBOT
#

👋 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/1285584816758063104

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

opaque frost
#

hi there!

#

what do you mean by "without filtering away data"?
in general, if you plan to display information to your user, it's often best to store that information in your own database instead of making API calls to Stripe every time.

#

any sensitive data in products or prices data?
not really, unless you added some sensitive data there yourslef

leaden wraithBOT
wanton birch
#

the product/price objects do have a lot of extra fields though. nothing sensitive (unless you added it, as soma notes), but you'll likely want to take care to display the details of those objects nicely, only showing information relevant to your cusotmers making a choice.

knotty oasis
#

Ok i will make my own tables for product and prices then. To be able to sync them, say i do changes in stripe for the product or prices, i just add webhook that listen for changes to price and product, and then update my products and prices rows in sql tables?

wanton birch