> For the complete documentation index, see [llms.txt](https://docs.adpage.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.adpage.io/extensions/extensions-nl/plugins/shopware-webhook-plugin.md).

# Shopware Webhook-plugin

Installeer en valideer AdPage-aankoopwebhooks voor je Shopware-winkel.

Gebruik de AdPage Shopware-plug-in om aankoopgegevens vanuit de backend van uw winkel door te sturen.

<a href="https://github.com/AdPageGroup/Shopware" class="button primary" data-icon="github">Bekijk de Shopware-plug-in</a>

### Voordat u begint

Zorg dat u toegang hebt tot uw Shopware-server, verkoopkanaalconfiguratie en AdPage-servercontainer. Verwijder dubbele aankoop-webhooks voordat u de plug-in test.

Maak een back-up van uw winkel en test de installatie eerst in een stagingomgeving.

### Installeer de plug-in

{% stepper %}
{% step %}

#### Installeer de AdPage Webhook-plug-in

Open de plug-inrepository en installeer de plug-in via Composer. Volg de installatie-instructies in de repository voor uw Shopware-versie.
{% endstep %}

{% step %}

#### Configureer elk verkoopkanaal

Open de AdPage-plug-ininstellingen in Shopware. Selecteer elk verkoopkanaal waarvan u de bestellingen wilt doorsturen.

Voer de tagging-URL in voor elk geselecteerd kanaal. Deze moet overeenkomen met de tagging-URL die is geconfigureerd in uw AdPage-servercontainer.
{% endstep %}

{% step %}

#### Publiceer uw wijzigingen

Sla de plug-inconfiguratie op en leeg de Shopware-caches. Publiceer uw Google Tag Manager-servercontainer nadat u de integratie in voorbeeldmodus hebt gevalideerd.
{% endstep %}
{% endstepper %}

### Valideer de installatie

Plaats een testbestelling via elk geconfigureerd verkoopkanaal. Controleer vervolgens of de aankoop-webhook uw AdPage-servercontainer bereikt.

Controleer of de bestelling de verwachte transacti-ID, waarde, valuta en items bevat. Gebruik de voorbeeldweergave van Google Tag Manager Server om te controleren of uw downstream-tags maar één keer worden geactiveerd.

### Beschikbare Shopware-webhookgebeurtenis

De plug-in verzendt de voltooide bestelling als een aankoop-webhook. Deze wordt verzonden vanuit de Shopware-backend.

Dit beschermt de aankooptracking wanneer scripts aan de browserzijde niet worden uitgevoerd. Gebruik het samen met uw e-commerce data layer in de storefront voor volledige tracking.

Zie [Shopware](https://docs.adpage.io/documentation/documentation-nl/integraties-websites/shopware.md) voor de inrichting van de data layer en GTM.

{% hint style="warning" %}
Test aankopen niet met een live betaalmethode. Gebruik een testbetaalmethode of een stagingwinkel.
{% endhint %}

### Probleemoplossing

Als de webhook niet aankomt, controleer dan of de plug-in actief is. Controleer de tagging-URL voor het betreffende verkoopkanaal en leeg de Shopware-caches.

Als aankopen worden gedupliceerd, schakel dan overlappende order-webhooks van Shopware of derden uit. Test opnieuw met één testbestelling per verkoopkanaal.

#### Instellingen

Stelt de webhooks per verkoopkanaal in. U moet de webhook per verkoopkanaal instellen.&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.adpage.io/extensions/extensions-nl/plugins/shopware-webhook-plugin.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
