#timsiegelkow
1 messages ยท Page 1 of 1 (latest)
Hi there
Hey ๐
Can you share your endpoint code? I'd be happy to take a look
I'm assuming you want to do an Authorization header like: -H "Authorization: Bearer sk_test_4eC39HqLyjWDarjtT1zdp7dc"
We show an example of this here: https://stripe.com/docs/api/authentication
currently it looks like this. the function is triggered successfully by the webhook, but, as you can read on the far right, authorization is missing
yes, exactly, you got it ๐
unfortunately I don't know how exactly to place this Bearer Authorization within the function, you know?
Yeah I'm not familiar with Deluge so I don't know how exactly that app works
There should be some more code somewhere that actually builds the endpoint and receives the event
That is where you will want to add the API key
okay I have an update
i wrote the function so that it would take the JSON data coming from the webhook and turn it into a "Task" within Zoho CRM that includes some of the Stripe data within its description -- just to check whether data is actually coming through the webhook
this is the response
webhook works fine, but apparently no data is transmitted
Oh that's good overall
It means your server is receiving the webhook and sending back a 200
So now you just need to actually receive the event body
Maybe try content = response.getJson("body")
okay I'm sorry, I somehow managed to hide the actual problem -- we still have the authentication problem