Stripe Webhook
Last updated
Last updated
These are the guidelines on how to add the HelpYouSponsor webhook to your Stripe account. First, log in to your Stripe account and navigate to the Webhook page.
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 HYS.
For security reasons we need to make sure that the request going to our HYS endpoint is truly from your Stripe account, we would require that you add the WebSocket secret that you got from stripe into HYS.
Once you copy the secret key, add it onto your Stripe payment settings in HYS
With these actions HYS will be able to monitor transactions in your Stripe account and be able to update the donations table.