#florian_webhooks

1 messages ยท Page 1 of 1 (latest)

frozen elmBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1358719578271780954

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

glad galleon
#

hi there!

steady raft
glad galleon
steady raft
#

I use this method in the Stripe App

    async (uri: string, { headers, ...options }: RequestInit = {}) => {
      const headersObject = new Headers(headers);
      headersObject.append("stripe-user-id", userContext?.id ?? "");
      headersObject.append("stripe-account-id", userContext?.account.id ?? "");
      headersObject.append("stripe-signature", await fetchStripeSignature());

      return await fetch(uri, {
        ...options,
        headers: headersObject,
      });
    },
    [userContext]
  );```
glad galleon
#

have you read the link I shared? have you tried everything that is mentioned there (double checking the secret, making sure you use the raw body, etc.)

steady raft
#

ok, let me read it again and try everything. I will keep you updated. Thanks ๐Ÿ™‚