Next, you will be managing the endpoints from the Connect applications. In Stripe, go to Developers > Webhooks > Add Endpoint
Here you will need to add the following:
Endpoint URL | Specific Events |
http(s)://{project-host}/omnyfy_stripe/webhooks (remember that you need to add the Admin URL in place of {project-host}) |
(NOTE: You can select the entire Payout group of events) |
One key thing that you will need to add is Listen to events on Connected accounts.
Select "Add endpoint".
Once you have saved it, you can copy the Signing secret below.
You will need to paste this in Omnyfy under Stores > Settings > Configuration > Omnyfy > Stripe Config > Connect Account Webhook Signing secret.
Save your configuration and test your webhook on Stripe using the "Send test event".
Note: Webhooks signing secret - This is an optional key that you can use to verify the origin of webhooks sent to your website. Although the setting is optional, you should set it to ensure that the webhooks you receive are sent by Stripe, rather than a third party. You can retrieve the signing key from the specific webhook that you configured for your website. If you configure the same webhook endpoint for both live and test mode, the signing secret will be different for each mode.