Receiving Payment Notifications via Webhooks
Overview
The Webhook feature allows you to send form submission data to external services using webhooks. This feature is available in all plans, both Free and Pro.
Features
- Configure webhooks at the form level.
- Set the Webhook URL, request type (only
POST
is supported), and custom headers. - Automatically trigger the webhook on a successful transaction.
- A dedicated "Webhook" tab in the form settings for easy configuration.
- A "Test Webhook" button to verify the connection.
Configuration
1. Accessing the Webhook Settings
To configure a webhook:
- Navigate to the form settings.
- Click on the Webhook tab.
2. Adding a Webhook
- Enter the Webhook URL where the data should be sent.
- Specify any Headers (e.g.,
Content-Type: application/json
). - Click Save Changes.
3. Supported Request Type
- Only POST requests are supported. The form submission data is too large for GET requests, which may cause failures.
4. Testing the Webhook
To ensure the webhook is working correctly:
- Click the Test Webhook button.
- You can use https://webhook.site/ to receive and inspect webhook requests.
When is the Webhook Triggered?
The webhook is triggered only when a transaction is successfully recorded.
Notes
- Webhooks allow seamless integration with external platforms, enabling automation and real-time data exchange.
- Ensure the endpoint you configure is set up to handle
POST
requests and parse JSON payloads correctly. - If the webhook fails, check the response logs in your receiving service.
Conclusion
The Webhook Add-on provides a powerful way to connect your forms with external systems. By leveraging this feature, you can automate workflows and integrate payment forms with third-party services efficiently.