> For the complete documentation index, see [llms.txt](https://docs.helpyousponsor.com/guides/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.helpyousponsor.com/guides/getting-started/quick-start-guide/payment-gateways/stripe-setup/stripe-webhook.md).

# Stripe Webhook

These are the guidelines on how to add the Gratona webhook to your Stripe account. First, log in to your Stripe account and navigate to the Webhook page.

> **Note**: T*he stripe Webhook is only needed for the accounts using the legacy stripe API keys. This is not needed if you configured stripe connect*

{% embed url="<https://dashboard.stripe.com/test/workbench/webhooks>" %}
webhook
{% endembed %}

<figure><img src="/files/H5TpVNoRNAyaVavq4MHX" alt="webhook"><figcaption><p>webhook</p></figcaption></figure>

<figure><img src="/files/fv923x0LMA0D00fZmulP" alt="events"><figcaption><p>events</p></figcaption></figure>

<figure><img src="/files/ikL3bZo0sLFg6Ciu3GG4" alt="Opera Snapshot 2025 01 13 143946 dashboard.stripe.com"><figcaption><p>Opera Snapshot 2025 01 13 143946 dashboard.stripe.com</p></figcaption></figure>

Click the “**Add destination**” button to add a new endpoint. Select “**Events**” from your account options. In the “**Events**” section, choose “**charge succeeded.**”

Next, select the “Webhook endpoint” option. Later, add the endpoint you received from Gratona.

### Adding your WebSocket secret to Gratona

For security reasons we need to make sure that the request going to our Gratona endpoint is truly from your Stripe account, we would require that you add the WebSocket secret that you got from stripe into Gratona.

<figure><img src="/files/QzDVvOanA8haquQqyNyG" alt="get secret signing"><figcaption><p>get secret signing</p></figcaption></figure>

Once you copy the secret key, add it onto your Stripe payment settings in Gratona

<figure><img src="/files/UqXFjnfKfeeUGV7HQ7Wo" alt="signing secret"><figcaption><p>signing secret</p></figcaption></figure>

With these actions Gratona will be able to monitor transactions in your Stripe account and be able to update the donations table.
