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:27:25.863Z"
event_type
"PAYMENT.AUTHORIZATION.VOIDED"
event_version
"1.0"
id
"WH-5X491125L7809363V-9YC422139M2391401"
links
[
  [
    "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-5X491125L7809363V-9YC422139M2391401"
    "rel" => "self"
    "method" => "GET"
  ]
  [
    "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-5X491125L7809363V-9YC422139M2391401/resend"
    "rel" => "resend"
    "method" => "POST"
  ]
]
resource
[
  "id" => "9AP34655FT221964H"
  "status" => "VOIDED"
  "amount" => [
    "currency_code" => "EUR"
    "value" => "84.26"
  ]
  "invoice_id" => "2027468"
  "custom_id" => "{"orderTransactionId":"019d2f5bdb2272df83e9fe7e36045e6a","pluginVersion":"9.7.5-c","shopwareVersion":"6.6.4.1"}"
  "seller_protection" => [
    "status" => "ELIGIBLE"
    "dispute_categories" => [
      "ITEM_NOT_RECEIVED"
      "UNAUTHORIZED_TRANSACTION"
    ]
  ]
  "supplementary_data" => [
    "related_ids" => [
      "order_id" => "9AC05029RW693850D"
    ]
  ]
  "payee" => [
    "email_address" => "bh@tackenberg.de"
    "merchant_id" => "FZ4XWRNAU8N7J"
  ]
  "expiration_time" => "2026-04-25T12:54:07Z"
  "create_time" => "2026-03-27T12:54:07Z"
  "update_time" => "2026-04-02T08:27:22Z"
  "links" => [
    [
      "href" => "https://api.paypal.com/v2/payments/authorizations/9AP34655FT221964H"
      "rel" => "self"
      "method" => "GET"
    ]
    [
      "href" => "https://api.paypal.com/v2/payments/authorizations/9AP34655FT221964H/capture"
      "rel" => "capture"
      "method" => "POST"
    ]
    [
      "href" => "https://api.paypal.com/v2/payments/authorizations/9AP34655FT221964H/void"
      "rel" => "void"
      "method" => "POST"
    ]
    [
      "href" => "https://api.paypal.com/v2/payments/authorizations/9AP34655FT221964H/reauthorize"
      "rel" => "reauthorize"
      "method" => "POST"
    ]
  ]
]
resource_type
"authorization"
resource_version
"2.0"
summary
"A payment authorization was voided."

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"Swag\PayPal\Webhook\WebhookController::executeWebhook"
_cspNonce
"q26d/TFPn8g="
_route
"api.action.paypal.webhook.execute"
_routeScope
[
  "api"
]
_route_params
[
  "auth_required" => false
]
_stopwatch_token
"847a74"
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
"1661"
content-type
"application/json"
correlation-id
"f808009844fcd"
forwarded
"for="173.0.81.65";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
"c7e9ff5a-2e6d-11f1-b41a-974dd0590a0c"
paypal-transmission-sig
"ashTplFdOotMpBa1m2DfPu7iqoojrzOWx+MFrHv7lQi34Rkjs1n6msXQcMhwzxMue2sDP5/IcwgGzZABE66yLnfsla2/XgLCj9m++7eOxyji0QIQjbnHIiKaUCZZt9WJF3qz0olxE3goCrTD63Swym9+Ibl7+RAVAiDsxj8uG9FlvyTJU9agQ09We4YW2nC1HS3GAj+ykGEadQO5rR7DDHWeiA1J57YPmVoHpPh+9xcmpTlRZ/QLop28q2LwAgcm9SS8NE5n+13y8FrjiFHPV38RCIYqlbZD95LTHFHcO/rpRNGEwZZGbyWwEiBSUhmjjTDCy+jnAMVKRFf6Ahmshw=="
paypal-transmission-time
"2026-04-02T08:27:26Z"
surrogate-capability
"symfony="ESI/1.0""
user-agent
"PayPal/AUHR-1.0-1"
x-forwarded-for
"173.0.81.65"
x-php-ob-level
"1"

Request Content

Pretty

{
    "id": "WH-5X491125L7809363V-9YC422139M2391401",
    "event_version": "1.0",
    "create_time": "2026-04-02T08:27:25.863Z",
    "resource_type": "authorization",
    "resource_version": "2.0",
    "event_type": "PAYMENT.AUTHORIZATION.VOIDED",
    "summary": "A payment authorization was voided.",
    "resource": {
        "id": "9AP34655FT221964H",
        "status": "VOIDED",
        "amount": {
            "currency_code": "EUR",
            "value": "84.26"
        },
        "invoice_id": "2027468",
        "custom_id": "{\"orderTransactionId\":\"019d2f5bdb2272df83e9fe7e36045e6a\",\"pluginVersion\":\"9.7.5-c\",\"shopwareVersion\":\"6.6.4.1\"}",
        "seller_protection": {
            "status": "ELIGIBLE",
            "dispute_categories": [
                "ITEM_NOT_RECEIVED",
                "UNAUTHORIZED_TRANSACTION"
            ]
        },
        "supplementary_data": {
            "related_ids": {
                "order_id": "9AC05029RW693850D"
            }
        },
        "payee": {
            "email_address": "bh@tackenberg.de",
            "merchant_id": "FZ4XWRNAU8N7J"
        },
        "expiration_time": "2026-04-25T12:54:07Z",
        "create_time": "2026-03-27T12:54:07Z",
        "update_time": "2026-04-02T08:27:22Z",
        "links": [
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/authorizations\/9AP34655FT221964H",
                "rel": "self",
                "method": "GET"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/authorizations\/9AP34655FT221964H\/capture",
                "rel": "capture",
                "method": "POST"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/authorizations\/9AP34655FT221964H\/void",
                "rel": "void",
                "method": "POST"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/authorizations\/9AP34655FT221964H\/reauthorize",
                "rel": "reauthorize",
                "method": "POST"
            }
        ]
    },
    "links": [
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-5X491125L7809363V-9YC422139M2391401",
            "rel": "self",
            "method": "GET"
        },
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-5X491125L7809363V-9YC422139M2391401\/resend",
            "rel": "resend",
            "method": "POST"
        }
    ]
}

Raw

{"id":"WH-5X491125L7809363V-9YC422139M2391401","event_version":"1.0","create_time":"2026-04-02T08:27:25.863Z","resource_type":"authorization","resource_version":"2.0","event_type":"PAYMENT.AUTHORIZATION.VOIDED","summary":"A payment authorization was voided.","resource":{"id":"9AP34655FT221964H","status":"VOIDED","amount":{"currency_code":"EUR","value":"84.26"},"invoice_id":"2027468","custom_id":"{\"orderTransactionId\":\"019d2f5bdb2272df83e9fe7e36045e6a\",\"pluginVersion\":\"9.7.5-c\",\"shopwareVersion\":\"6.6.4.1\"}","seller_protection":{"status":"ELIGIBLE","dispute_categories":["ITEM_NOT_RECEIVED","UNAUTHORIZED_TRANSACTION"]},"supplementary_data":{"related_ids":{"order_id":"9AC05029RW693850D"}},"payee":{"email_address":"bh@tackenberg.de","merchant_id":"FZ4XWRNAU8N7J"},"expiration_time":"2026-04-25T12:54:07Z","create_time":"2026-03-27T12:54:07Z","update_time":"2026-04-02T08:27:22Z","links":[{"href":"https://api.paypal.com/v2/payments/authorizations/9AP34655FT221964H","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v2/payments/authorizations/9AP34655FT221964H/capture","rel":"capture","method":"POST"},{"href":"https://api.paypal.com/v2/payments/authorizations/9AP34655FT221964H/void","rel":"void","method":"POST"},{"href":"https://api.paypal.com/v2/payments/authorizations/9AP34655FT221964H/reauthorize","rel":"reauthorize","method":"POST"}]},"links":[{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-5X491125L7809363V-9YC422139M2391401","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-5X491125L7809363V-9YC422139M2391401/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:38:57 GMT"
x-debug-token
"f6779d"

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
"1661"
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
"1661"
HTTP_CONTENT_TYPE
"application/json"
HTTP_CORRELATION_ID
"f808009844fcd"
HTTP_FORWARDED
"for="173.0.81.65";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
"c7e9ff5a-2e6d-11f1-b41a-974dd0590a0c"
HTTP_PAYPAL_TRANSMISSION_SIG
"ashTplFdOotMpBa1m2DfPu7iqoojrzOWx+MFrHv7lQi34Rkjs1n6msXQcMhwzxMue2sDP5/IcwgGzZABE66yLnfsla2/XgLCj9m++7eOxyji0QIQjbnHIiKaUCZZt9WJF3qz0olxE3goCrTD63Swym9+Ibl7+RAVAiDsxj8uG9FlvyTJU9agQ09We4YW2nC1HS3GAj+ykGEadQO5rR7DDHWeiA1J57YPmVoHpPh+9xcmpTlRZ/QLop28q2LwAgcm9SS8NE5n+13y8FrjiFHPV38RCIYqlbZD95LTHFHcO/rpRNGEwZZGbyWwEiBSUhmjjTDCy+jnAMVKRFf6Ahmshw=="
HTTP_PAYPAL_TRANSMISSION_TIME
"2026-04-02T08:27:26Z"
HTTP_USER_AGENT
"PayPal/AUHR-1.0-1"
HTTP_X_FORWARDED_FOR
"173.0.81.65"
PHP_SELF
"/index.php"
QUERY_STRING
"sw-token=z6cwiwnCoq9Gw3wEcomgKFNgsJyLz8qh"
REDIRECT_STATUS
"200"
REMOTE_ADDR
"127.0.0.1"
REMOTE_PORT
"36284"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"https"
REQUEST_TIME
1775248737
REQUEST_TIME_FLOAT
1775248737.1095
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"