going off of @Mememoxzine’s comment, Discord has blocked Roblox from sending webhooks, so change the https://discordapp.com/api to https://webhook.lewistehminerz.dev/api (which is what I use to post to discord)
I must discommend the idea of using discord as it’s against Discord’s ToS to use it as a logging service. It’s free to make a nodejs type of logger. With Roblox’s compliance over the various “Right to be Forgotten” laws, you’re liable to have to clean up any profilable data you’re storing which would extend to your logs, and it looks like you intend to store profilable data indefinitely.
On a side note, it’s a bit creepy to log specifically who and when is spending money, isn’t it? Roblox gives satisfactory analytics about gamepass sales already
Please stop using discord as a logging service, if you really want to then make a simple script which stores purchases in a datastore and so if you receive a request to wipe all player’s data you can just remove every record associated with their userId instead of going through all the Webhook’s messages
Like the replies said above, do not use discird as a LOGGING SERVICE as it is against the discord tos.
One alternative you can try which i’ve seen someone do it is using MessagingService to publicly post a server message whenever someone buys a gamepass/developer product