All Questions
87 questions
0
votes
1
answer
253
views
webhooks of octokit are not working when i am using them through the express server
I have created a webhook handler using the octokit but the webhook server is not when when using it through the express server.
Although the docs of the octokit mention that it supports the web server ...
1
vote
0
answers
407
views
Lemonsqueezy webhook x-signature returns invalid every time
I'm doing an integration of my app with Lemonsqueezy and use webhook to get data about subscriptions. I use everything from LS official guides, however I receive invalid x-signature used to validate ...
0
votes
1
answer
229
views
How can I deliver simple text and clickable URLs via a Teams chat webhook without the text being clipped short?
My humble goal is to do in Teams what can be so easily done with Slack Webhooks, like this:
await fetch(slackWebhook, {
method: 'POST',
headers: {
'Content-Type': '...
0
votes
1
answer
953
views
fastify route handler not initiating after onRequest hook
i'm writing a fastify app that is supposed to listen for post requests and capture the raw body of the request for authentication purposes. Since i've searched far and wide for it it seems that ...
0
votes
2
answers
192
views
NODEJS Object Value Is a Key Value Pair
I have a request I receive through a webhook which returns the following object as req.body:
{"appId":"7HPEPVBTZGDCP","merchants":{"6RDH804A896K1":[{"...
0
votes
1
answer
276
views
Splitting Payments Between Users Using Stripe Connect and PaymentIntents - Insufficient Balance Error
I am developing an affiliate marketing feature for an e-commerce platform, where we allow our sellers to create affiliate programs. I am currently using Stripe Connect with the PaymentIntents API.
...
1
vote
1
answer
1k
views
How to see list of watch channels for a specific calender in google calendar api?
I am able to create events watch channel for getting notified on change in events.
const { google } = require('googleapis');
const oauth2Client = new google.auth.OAuth2(
config.gauth.clientId,
...
1
vote
1
answer
919
views
Updating Stripe Payment Intent throws Authentication error (401 error)
I have the following code which uses a stripe webhook to update the customer database based on the payment intent event from stripe. The signature is verified and it works fine. But when the update ...
1
vote
1
answer
233
views
How do I call a function in another javascript file when receiving a webhook in server.js?
I have a project which uses express to receive webhooks which are sent to a specific url. The project contains also a index.html which implements (via tag) the script game.js with a simple tic tac ...
-1
votes
1
answer
93
views
How can fetch both using json and file?
I am trying to upload photo message with text to discord webhook using javascript fetch api. How can I upload both my json and file?
var discordWebHookBody = new FormData()
discordWebHookBody.append(&...
1
vote
1
answer
527
views
I'm trying to setup a webhook eventsub from the Twitch API using ngrok as a gateway
When i trigger a test event using the Twitch CLI i get an error response back saying:
Post "https://1562-5-182-32-19.ngrok.io/api/twitch/eventsub/": context deadline exceeded (Client.Timeout ...
2
votes
1
answer
3k
views
Update Vue.js website content after receiving a webhook?
I have a Vue 3 website showing a list fetched from a REST-API (using the fetch method).
Then sometimes this list is modified in the original DB and I would like to update my vue component accordingly.
...
0
votes
1
answer
560
views
Getting 422 error when trying to get github webhook deliveries using API
I am using the Github API to get the list of deliveries and I am using their API which is working fine for everything except then I try and get the list of deliveries.
Using their code:
const {
...
0
votes
1
answer
884
views
How to verify cashfree gateway's webhook signature in js
I am using cashfree payments gateway.
Everything is working fine, but I don't know how to verify webhooks signature.
This is how they are asking to do.
How to write javascript code for it ?
0
votes
0
answers
31
views
Google Actions keeps loading the same response even though the response should be random via the API
I'm am currently trying to create a simple Google Action that says the title and summary of a random wikipedia article. I'm using this API here: https://en.wikipedia.org/api/rest_v1/page/random/...