whatisagi
whatisagi2w ago

lol I have been trying to get this to

lol I have been trying to get this to work for the last couple of hours. Still not working yet (not able to retrieve the list of products created in polar yet). I’ll try again later tonight.
7 Replies
erquhart
erquhart2w ago
Can you share any details on what’s happening?
whatisagi
whatisagiOP2w ago
It’s not showing any errors, just an empty list of products, even though I created products in polar Btw, webhooks on the polar sites show 404 errors too.
erquhart
erquhart2w ago
You’ll want to confirm that the webhook url in polar is correct, and that you’ve done the http.ts setup step from the docs under “set up polar webhooks”
whatisagi
whatisagiOP2w ago
Yes I’ve followed the instructions from your repo, and I’ve double checked a couple of times already
erquhart
erquhart2w ago
The 404 means the endpoint doesn’t exist, so we’re missing something here. Can you check the functions list on your deployment dashboard? When you have components installed you’ll see a dropdown above the functions list where you can select which component (or the app) to view functions for. There should be an events/polar endpoint if you haven’t customized the path.
whatisagi
whatisagiOP2w ago
Thanks for the info. I have some stuff going on now so I’ll check this a bit later today and get back to you. Polar is important for us, we have payment in our app. Sorry @erquhart I haven’t had time to touch polar payment again, working on other parts of the app. I’ll let you know as soon as I touch polar again.
erquhart
erquhart2w ago
no problem, happy to help if there's an issue

Did you find this page helpful?