Error 400 Bad Request

POST https://sw6-shop-dev.tackenberg.de/api/_action/paypal/webhook/execute?sw-token=z6cwiwnCoq9Gw3wEcomgKFNgsJyLz8qh

WebhookController :: executeWebhook

Request

GET Parameters

Key Value
sw-token
"z6cwiwnCoq9Gw3wEcomgKFNgsJyLz8qh"

POST Parameters

Key Value
create_time
"2026-04-02T08:18:37.407Z"
event_type
"PAYMENT.CAPTURE.COMPLETED"
event_version
"1.0"
id
"WH-2MH45366Y2415091R-8L969995MA766020N"
links
[
  [
    "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-2MH45366Y2415091R-8L969995MA766020N"
    "rel" => "self"
    "method" => "GET"
  ]
  [
    "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-2MH45366Y2415091R-8L969995MA766020N/resend"
    "rel" => "resend"
    "method" => "POST"
  ]
]
resource
[
  "id" => "3MS46794HK2537502"
  "amount" => [
    "currency_code" => "EUR"
    "value" => "111.79"
  ]
  "final_capture" => true
  "seller_protection" => [
    "status" => "ELIGIBLE"
    "dispute_categories" => [
      "ITEM_NOT_RECEIVED"
      "UNAUTHORIZED_TRANSACTION"
    ]
  ]
  "disbursement_mode" => "INSTANT"
  "seller_receivable_breakdown" => [
    "gross_amount" => [
      "currency_code" => "EUR"
      "value" => "111.79"
    ]
    "paypal_fee" => [
      "currency_code" => "EUR"
      "value" => "2.18"
    ]
    "net_amount" => [
      "currency_code" => "EUR"
      "value" => "109.61"
    ]
  ]
  "invoice_id" => "2026326"
  "custom_id" => "{"orderTransactionId":"019d1ac011c37219a9c06f45953511ac","pluginVersion":"9.7.5-c","shopwareVersion":"6.6.4.1"}"
  "status" => "COMPLETED"
  "supplementary_data" => [
    "related_ids" => [
      "order_id" => "8PW436113Y962441M"
      "authorization_id" => "9L588887L0996302N"
    ]
  ]
  "payee" => [
    "email_address" => "bh@tackenberg.de"
    "merchant_id" => "FZ4XWRNAU8N7J"
  ]
  "create_time" => "2026-04-02T08:18:32Z"
  "update_time" => "2026-04-02T08:18:32Z"
  "links" => [
    [
      "href" => "https://api.paypal.com/v2/payments/captures/3MS46794HK2537502"
      "rel" => "self"
      "method" => "GET"
    ]
    [
      "href" => "https://api.paypal.com/v2/payments/captures/3MS46794HK2537502/refund"
      "rel" => "refund"
      "method" => "POST"
    ]
    [
      "href" => "https://api.paypal.com/v2/payments/authorizations/9L588887L0996302N"
      "rel" => "up"
      "method" => "GET"
    ]
  ]
]
resource_type
"capture"
resource_version
"2.0"
summary
"Payment completed for € 111.79 EUR"

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"Swag\PayPal\Webhook\WebhookController::executeWebhook"
_cspNonce
"jfk3kHc4UbM="
_route
"api.action.paypal.webhook.execute"
_routeScope
[
  "api"
]
_route_params
[
  "auth_required" => false
]
_stopwatch_token
"2e019d"
auth_required
false
sw-context
Shopware\Core\Framework\Context {#2689
  #extensions: []
  #languageIdChain: [
    "2fbb5fe2e29a4d70aa5854ce7ce3e20b"
  ]
  #scope: "system"
  #rulesLocked: false
  #source: Shopware\Core\Framework\Api\Context\SystemSource {#2687 …}
  #ruleIds: []
  #currencyId: "b7d2554b0ce847cd82f3ac9bd1c0dfca"
  #versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425"
  #currencyFactor: 1.0
  #considerInheritance: false
  #taxState: "gross"
  #rounding: Shopware\Core\Framework\DataAbstractionLayer\Pricing\CashRoundingConfig {#2691 …}
  -states: []
}

Request Headers

Header Value
accept
"*/*"
authorization
""
content-length
"1751"
content-type
"application/json"
correlation-id
"55ec962d87147"
forwarded
"for="173.0.81.140";host="sw6-shop-dev.tackenberg.de";proto=https"
host
"sw6-shop-dev.tackenberg.de"
paypal-auth-algo
"SHA256withRSA"
paypal-auth-version
"v2"
paypal-cert-url
"https://api.paypal.com/v1/notifications/certs/CERT-360caa42-fca2a594-5b82a069"
paypal-transmission-id
"8ce8f99e-2e6c-11f1-96ac-5f3fee2a2efb"
paypal-transmission-sig
"dYEwhAqwpLSFVxYtkubKq8K/RnMqPSADZqT/dCZZoQJeuG0E3QKDKumM3kg3Cbd9hNGwTQ/TcT3rJdHAhXBLPR3lR6lSoKDKGkKxD6STIMPyKmNL+psyjbmOc9DpAeKQHbF8RiZiyQfr32XQ4MRnga4Gy17bzTH6MLY7OHMx4a3k6v6pZjRcwSZTfDnlhcDGYy7ZncZrYHolK+L3JIQyaeBjTMNrfIvdbTBueZ9VRudoIJuhWynqV+a2qO3LwOE1GCDGXxJ1RfeLJdvpiJzI83wDB8ICSUVPQFEqmjxeN9LZjM4yX8XzTvbsTQoNcM5UxaNxXHsffk9Jqick/ZXpaQ=="
paypal-transmission-time
"2026-04-02T08:18:38Z"
surrogate-capability
"symfony="ESI/1.0""
user-agent
"PayPal/AUHR-1.0-1"
x-forwarded-for
"173.0.81.140"
x-php-ob-level
"1"

Request Content

Pretty

{
    "id": "WH-2MH45366Y2415091R-8L969995MA766020N",
    "event_version": "1.0",
    "create_time": "2026-04-02T08:18:37.407Z",
    "resource_type": "capture",
    "resource_version": "2.0",
    "event_type": "PAYMENT.CAPTURE.COMPLETED",
    "summary": "Payment completed for \u20ac 111.79 EUR",
    "resource": {
        "id": "3MS46794HK2537502",
        "amount": {
            "currency_code": "EUR",
            "value": "111.79"
        },
        "final_capture": true,
        "seller_protection": {
            "status": "ELIGIBLE",
            "dispute_categories": [
                "ITEM_NOT_RECEIVED",
                "UNAUTHORIZED_TRANSACTION"
            ]
        },
        "disbursement_mode": "INSTANT",
        "seller_receivable_breakdown": {
            "gross_amount": {
                "currency_code": "EUR",
                "value": "111.79"
            },
            "paypal_fee": {
                "currency_code": "EUR",
                "value": "2.18"
            },
            "net_amount": {
                "currency_code": "EUR",
                "value": "109.61"
            }
        },
        "invoice_id": "2026326",
        "custom_id": "{\"orderTransactionId\":\"019d1ac011c37219a9c06f45953511ac\",\"pluginVersion\":\"9.7.5-c\",\"shopwareVersion\":\"6.6.4.1\"}",
        "status": "COMPLETED",
        "supplementary_data": {
            "related_ids": {
                "order_id": "8PW436113Y962441M",
                "authorization_id": "9L588887L0996302N"
            }
        },
        "payee": {
            "email_address": "bh@tackenberg.de",
            "merchant_id": "FZ4XWRNAU8N7J"
        },
        "create_time": "2026-04-02T08:18:32Z",
        "update_time": "2026-04-02T08:18:32Z",
        "links": [
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/3MS46794HK2537502",
                "rel": "self",
                "method": "GET"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/3MS46794HK2537502\/refund",
                "rel": "refund",
                "method": "POST"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/authorizations\/9L588887L0996302N",
                "rel": "up",
                "method": "GET"
            }
        ]
    },
    "links": [
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-2MH45366Y2415091R-8L969995MA766020N",
            "rel": "self",
            "method": "GET"
        },
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-2MH45366Y2415091R-8L969995MA766020N\/resend",
            "rel": "resend",
            "method": "POST"
        }
    ]
}

Raw

{"id":"WH-2MH45366Y2415091R-8L969995MA766020N","event_version":"1.0","create_time":"2026-04-02T08:18:37.407Z","resource_type":"capture","resource_version":"2.0","event_type":"PAYMENT.CAPTURE.COMPLETED","summary":"Payment completed for € 111.79 EUR","resource":{"id":"3MS46794HK2537502","amount":{"currency_code":"EUR","value":"111.79"},"final_capture":true,"seller_protection":{"status":"ELIGIBLE","dispute_categories":["ITEM_NOT_RECEIVED","UNAUTHORIZED_TRANSACTION"]},"disbursement_mode":"INSTANT","seller_receivable_breakdown":{"gross_amount":{"currency_code":"EUR","value":"111.79"},"paypal_fee":{"currency_code":"EUR","value":"2.18"},"net_amount":{"currency_code":"EUR","value":"109.61"}},"invoice_id":"2026326","custom_id":"{\"orderTransactionId\":\"019d1ac011c37219a9c06f45953511ac\",\"pluginVersion\":\"9.7.5-c\",\"shopwareVersion\":\"6.6.4.1\"}","status":"COMPLETED","supplementary_data":{"related_ids":{"order_id":"8PW436113Y962441M","authorization_id":"9L588887L0996302N"}},"payee":{"email_address":"bh@tackenberg.de","merchant_id":"FZ4XWRNAU8N7J"},"create_time":"2026-04-02T08:18:32Z","update_time":"2026-04-02T08:18:32Z","links":[{"href":"https://api.paypal.com/v2/payments/captures/3MS46794HK2537502","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v2/payments/captures/3MS46794HK2537502/refund","rel":"refund","method":"POST"},{"href":"https://api.paypal.com/v2/payments/authorizations/9L588887L0996302N","rel":"up","method":"GET"}]},"links":[{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-2MH45366Y2415091R-8L969995MA766020N","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-2MH45366Y2415091R-8L969995MA766020N/resend","rel":"resend","method":"POST"}]}

Response

Response Headers

Header Value
access-control-allow-headers
"Content-Type,Authorization,sw-context-token,sw-access-key,sw-language-id,sw-version-id,sw-inheritance,indexing-behavior,sw-include-seo-urls"
access-control-allow-methods
"GET,POST,PUT,PATCH,DELETE"
access-control-allow-origin
"*"
access-control-expose-headers
"Content-Type,Authorization,sw-context-token,sw-access-key,sw-language-id,sw-version-id,sw-inheritance,indexing-behavior,sw-include-seo-urls"
cache-control
"no-cache, private"
content-type
"text/html; charset=UTF-8"
date
"Fri, 03 Apr 2026 20:29:52 GMT"
x-debug-token
"94f3fd"

Cookies

Request Cookies

No request cookies

Response Cookies

No response cookies

Session

Session Metadata

No session metadata

Session Attributes

No session attributes

Session Usage

0 Usages
Stateless check enabled

Session not used.

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
ADMIN_OPENSEARCH_URL
"elasticsearch:9200"
APP_ENV
"dev"
APP_SECRET
"def00000aefdc76bbbfc56c92bc6351e03bc6e2d959528343ec6dfc3932d62a1ab2c6855e4264468d67d2b5367b50171d5d4829f137a33a0b3ffc5557b2aa2160408985a"
APP_URL
"https://sw6-shop-dev.tackenberg.de"
BLUE_GREEN_DEPLOYMENT
"0"
COMPOSER_HOME
"/var/www/share/sw6-shop-dev.tackenberg.de/current/var/cache/composer"
DATABASE_URL
"mysql://db-user-8:IDxonAmrSqOqwbiv2Xy5@localhost:3306/db-8"
LOCK_DSN
"flock"
MAILER_DSN
"native://default"
OPENSEARCH_URL
"http://localhost:9200"
PROXY_URL
"http://localhost"
REDIS_CACHE_HOST
"127.0.0.1"
REDIS_CACHE_PORT
"6379"
SHOPWARE_ADMIN_ES_ENABLED
"0"
SHOPWARE_ADMIN_ES_INDEX_PREFIX
"sw-admin"
SHOPWARE_ADMIN_ES_REFRESH_INDICES
"0"
SHOPWARE_CDN_STRATEGY_DEFAULT
"id"
SHOPWARE_ES_ENABLED
"0"
SHOPWARE_ES_INDEXING_ENABLED
"0"
SHOPWARE_ES_INDEX_PREFIX
"sw"
SHOPWARE_ES_THROW_EXCEPTION
"1"
SHOPWARE_HTTP_CACHE_ENABLED
"1"
SHOPWARE_HTTP_DEFAULT_TTL
"7200"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTENT_LENGTH
"1751"
CONTENT_TYPE
"application/json"
DOCUMENT_ROOT
"/var/www/share/sw6-shop-dev.tackenberg.de/htdocs/public"
DOCUMENT_URI
"/index.php"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/www/share"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_AUTHORIZATION
""
HTTP_CONTENT_LENGTH
"1751"
HTTP_CONTENT_TYPE
"application/json"
HTTP_CORRELATION_ID
"55ec962d87147"
HTTP_FORWARDED
"for="173.0.81.140";host="sw6-shop-dev.tackenberg.de";proto=https"
HTTP_HOST
"sw6-shop-dev.tackenberg.de"
HTTP_PAYPAL_AUTH_ALGO
"SHA256withRSA"
HTTP_PAYPAL_AUTH_VERSION
"v2"
HTTP_PAYPAL_CERT_URL
"https://api.paypal.com/v1/notifications/certs/CERT-360caa42-fca2a594-5b82a069"
HTTP_PAYPAL_TRANSMISSION_ID
"8ce8f99e-2e6c-11f1-96ac-5f3fee2a2efb"
HTTP_PAYPAL_TRANSMISSION_SIG
"dYEwhAqwpLSFVxYtkubKq8K/RnMqPSADZqT/dCZZoQJeuG0E3QKDKumM3kg3Cbd9hNGwTQ/TcT3rJdHAhXBLPR3lR6lSoKDKGkKxD6STIMPyKmNL+psyjbmOc9DpAeKQHbF8RiZiyQfr32XQ4MRnga4Gy17bzTH6MLY7OHMx4a3k6v6pZjRcwSZTfDnlhcDGYy7ZncZrYHolK+L3JIQyaeBjTMNrfIvdbTBueZ9VRudoIJuhWynqV+a2qO3LwOE1GCDGXxJ1RfeLJdvpiJzI83wDB8ICSUVPQFEqmjxeN9LZjM4yX8XzTvbsTQoNcM5UxaNxXHsffk9Jqick/ZXpaQ=="
HTTP_PAYPAL_TRANSMISSION_TIME
"2026-04-02T08:18:38Z"
HTTP_USER_AGENT
"PayPal/AUHR-1.0-1"
HTTP_X_FORWARDED_FOR
"173.0.81.140"
PHP_SELF
"/index.php"
QUERY_STRING
"sw-token=z6cwiwnCoq9Gw3wEcomgKFNgsJyLz8qh"
REDIRECT_STATUS
"200"
REMOTE_ADDR
"127.0.0.1"
REMOTE_PORT
"23976"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"https"
REQUEST_TIME
1775248192
REQUEST_TIME_FLOAT
1775248192.8481
REQUEST_URI
"/api/_action/paypal/webhook/execute?sw-token=z6cwiwnCoq9Gw3wEcomgKFNgsJyLz8qh"
SCRIPT_FILENAME
"/var/www/share/sw6-shop-dev.tackenberg.de/releases/38/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"109.71.75.104"
SERVER_NAME
"sw6-shop-dev.tackenberg.de"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"nginx/1.28.2"
SYMFONY_DOTENV_PATH
"/var/www/share/sw6-shop-dev.tackenberg.de/releases/38/.env"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_URL,APP_SECRET,DATABASE_URL,OPENSEARCH_URL,SHOPWARE_ES_ENABLED,SHOPWARE_ES_INDEXING_ENABLED,SHOPWARE_ES_INDEX_PREFIX,ADMIN_OPENSEARCH_URL,SHOPWARE_ADMIN_ES_INDEX_PREFIX,SHOPWARE_ADMIN_ES_ENABLED,SHOPWARE_ADMIN_ES_REFRESH_INDICES,SHOPWARE_HTTP_CACHE_ENABLED,SHOPWARE_HTTP_DEFAULT_TTL,SHOPWARE_CDN_STRATEGY_DEFAULT,BLUE_GREEN_DEPLOYMENT,MAILER_DSN,COMPOSER_HOME,LOCK_DSN,REDIS_CACHE_HOST,REDIS_CACHE_PORT,SHOPWARE_ES_THROW_EXCEPTION,PROXY_URL"
USER
"web-user"