Webhook Function and Product Purchase not Responding [RE-UPLOAD]

Still, nothing is being outputted. I believe it must be an error in the PostAsync but I don’t know how or where it would be. I have also been working on this problem for more than 2 hours now so I’m probably going to take a break after we talk a little more.

I’m not sure of what the problem could be, as I mostly just copied your script and put it to what mine would look like, and it worked fine

local url = "https://webhook.lewistehminerz.dev/api/webhooks/notshowingthislol"

local data = {
	embeds = {
		{
			author = {
				name = "Kaid3n22",
				icon_url = "https://www.roblox.com/headshot-thumbnail/image?userId=418979551&width=150&height=150&format=png"
			},
			title = "Product Purchased",
			description = "Kaid3n22 has purchased a product.",
			fields = {
				{
					name = "Player ID",
					value = "418979551"
				},
				{
					name = "Product ID",
					value = "nil"
				}
			}
		}
	}
}

local https = game:GetService("HttpService")
https:PostAsync(url, https:JSONEncode(data))

Could you try and recopy your webhook and replace the end of the url?

Please remember that there are two functions going on in this script.

that shouldn’t be a problem. If it skips the stage fine and the data works, there shouldn’t be a problem there. But, either way, try and add a task.wait(1) before the return Enum.ProductPurchaseDecision.PurchaseGranted

Okay so the server proxy has just been disabled because of some people trying to abuse it. I’m sure that’s the problem. If it isn’t I’m sure I’ll get it at some point. Thanks for helping me with this!

Not sure, it works fine for me, but alright.

Use hydra proxy, I believe that’s still up and running? Hydra Proxy.

Thank you! It seems that has solved my problem!

@Kaid3n22 Thank you for helping me.

1 Like