Webhook is a powerful web technology that allows you to inform your server that an event has occurred in Digistore24.
To connect your server to Digistore24, you need to set up an IPN connection for the target system Webhook in Digistore24.
This gives you all the options you can map on your server, e.g:
- Fill a database
- Assign access
- Send emails
- Trigger further actions
Requirements
- You have configured your server to accept the webhook from Digistore24
- You have configured your server to send the expected response to Digistore24 to confirm a successful transfer
Set up IPN connection
- Log into your Digistore24 account.
- Go to the Vendor view Settings > Integrations (IPN).
- Click on the Add new connection button. An overview of the connections is displayed.
- Click on the Webhook card. The input form will now open.
- Enter a Name. This is only visible to you.
- Select in the For products field for which products an IPN should be sent.
- Select in the For add-ons field whether an IPN should also be sent when the products are purchased as add-ons.
- You can select in the For orders in these languages field for which product languages an IPN should be sent.
- Select in the Send notifications for field for which events an IPN should be sent. Depending on the selection, additional input fields will now appear.
- If available: You can select in the For order events field for which customer order events an IPN should be sent.
- If available: You can select in the For new affiliates field for which affiliate partnership events an IPN should be sent.
- Enter the URL to which Digistore24 sends the HTTP POST message in the Webhook URL field.
- Select in the Perform also for follow-up payments field whether the IPN should only be sent for the first payment of an order or for the first payment and all subsequent payments, e.g. installments and subscriptions.
- Enter the names of the GET parameters in the GET parameter names area. See Enter GET parameter names.
- Select the response Digistore24 can expect from your server in the Success check is field to confirm a successful transfer:
- ... carried out via HTTP code: 2xx is expected (this is default).
- ... not carried out.
-
... carried out by text comparison - expected...
You must enter the text.
- Select when to send an IPN in the IPN timing field.
- Select whether the connection should be active immediately after saving in the Active field.
- You can enter one or more email addresses in the Email address for error notifications field. If there are errors in sending the IPN, you will be informed via these email addresses.
- Click on the Save button. The IPN connection is now set up.
Please note
You can use the Test connection button to check whether the IPN connection set up is working and IPNs are being transferred to the target system.