#quest_api

1 messages ยท Page 1 of 1 (latest)

somber minnowBOT
#

๐Ÿ‘‹ 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/1286303345430237204

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

ruby hedge
#

hi there!

#

An idea i had was to have a webhook that on payment it would update the metadata section with the data it was paid
that's what I would have suggested ๐Ÿ™‚

safe olive
#

ahh ok

#

If that is the best solution I will do that.

#

Thanks for the confirmation

ruby hedge
#

happy to help ๐Ÿ™‚

safe olive
#

ahh wait i have another question about this

#

If it was to store the date in the meta data it says it will be a token type

#

does that mean I will be unable to use > < critera when searching

#

like when searching using the created field which is an numeric?

#

The reason for this Is I don't want to make a api call for every possible epic time. I just want to do it for a time greater than my last api fetch

ruby hedge
#

oh I think you are right

#

then I guess you should store that information in your own database instead of the metadata field

safe olive
#

I guess I would then use the stripe api "retrieve a PaymentIntent" to then bring induvial records over one at a time?

ruby hedge
#

correct

safe olive
#

ok. I will look into this and get back if I need anything. Thanks for the help!