Error 400 Bad Request

POST https://stage-shop.kontorhaussylt.de/api/_action/paypal/webhook/execute?sw-token=GQWdBJkQMRrSMCYDLwHpZTCkOvsuA4rS

WebhookController :: executeWebhook

Request

GET Parameters

Key Value
sw-token
"GQWdBJkQMRrSMCYDLwHpZTCkOvsuA4rS"

POST Parameters

Key Value
create_time
"2026-08-21T08:50:39.827Z"
event_type
"PAYMENT.CAPTURE.COMPLETED"
event_version
"1.0"
id
"WH-9EJ3812885803963A-14W34609JB776263P"
links
[
  [
    "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-9EJ3812885803963A-14W34609JB776263P"
    "rel" => "self"
    "method" => "GET"
  ]
  [
    "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-9EJ3812885803963A-14W34609JB776263P/resend"
    "rel" => "resend"
    "method" => "POST"
  ]
]
resource
[
  "id" => "078616810P372580G"
  "amount" => [
    "currency_code" => "EUR"
    "value" => "85.30"
  ]
  "final_capture" => true
  "seller_protection" => [
    "status" => "NOT_ELIGIBLE"
  ]
  "seller_receivable_breakdown" => [
    "gross_amount" => [
      "currency_code" => "EUR"
      "value" => "85.30"
    ]
    "paypal_fee" => [
      "currency_code" => "EUR"
      "value" => "2.94"
    ]
    "net_amount" => [
      "currency_code" => "EUR"
      "value" => "82.36"
    ]
  ]
  "invoice_id" => "31276"
  "custom_id" => "{"orderTransactionId":"01a02383ad4e7265a62b8e5e0745375f","pluginVersion":"9.8.0","shopwareVersion":"6.6.10.6"}"
  "status" => "COMPLETED"
  "processor_response" => [
    "avs_code" => "S"
    "cvv_code" => "M"
    "response_code" => "0000"
  ]
  "supplementary_data" => [
    "related_ids" => [
      "order_id" => "6NG65519F20593934"
    ]
  ]
  "payee" => [
    "email_address" => "bestellung@kontorhaussylt.de"
    "merchant_id" => "DSYZH99TL3C54"
  ]
  "create_time" => "2026-08-21T08:50:34Z"
  "update_time" => "2026-08-21T08:50:34Z"
  "links" => [
    [
      "href" => "https://api.paypal.com/v2/payments/captures/078616810P372580G"
      "rel" => "self"
      "method" => "GET"
    ]
    [
      "href" => "https://api.paypal.com/v2/payments/captures/078616810P372580G/refund"
      "rel" => "refund"
      "method" => "POST"
    ]
    [
      "href" => "https://api.paypal.com/v2/checkout/orders/6NG65519F20593934"
      "rel" => "up"
      "method" => "GET"
    ]
  ]
  "network_transaction_reference" => [
    "id" => "MCSS129TZ"
    "date" => "0821"
    "network" => "MASTERCARD"
  ]
]
resource_type
"capture"
resource_version
"2.0"
summary
"Payment completed for € 85.3 EUR"

Uploaded Files

No files were uploaded

Request Attributes

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

Request Headers

Header Value
accept
"*/*"
content-length
"1776"
content-type
"application/json"
correlation-id
"426b57237b288"
forwarded
"for="173.0.81.140";host="stage-shop.kontorhaussylt.de";proto=https"
host
"stage-shop.kontorhaussylt.de"
paypal-auth-algo
"SHA256withRSA"
paypal-auth-version
"v2"
paypal-cert-url
"https://api.paypal.com/v1/notifications/certs/CERT-360caa42-fca2a594-ba64dfce"
paypal-transmission-id
"62d15d81-9d3d-11f1-a464-c5da90043a51"
paypal-transmission-sig
"ibQXM46fbgNJrQvVRk7Y3i1kvMG3bwBjn85PXLOWnN6D/To9EB9I6bkMPkbP8VIZwjGkAw4CGFYDdNF+kwE0CL7ZHPKFP0dz268kmfW0P2ybWWkKnXQM4o7fR+HoDPlp4QnkYXaGgYS/vpJN2WnEahbqBYLHDecSgpHFqPfRLZxIcOHp3s4V9BxLMQG965wK7QXsa0BE9p5qrwojQ+z8+VRAxHrkZwSBgfFh04X78YpEN3aSzSoc8sgZ/kRQk5tYTyB/T4CXiON1nhJjjITfXaMBqLncpUXHkBdRdecvYqUFfsDUFR+XXtcmbg2UvoQoEkuYYcWAB7ujogzrjIYkKg=="
paypal-transmission-time
"2026-08-21T08:50:40Z"
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-9EJ3812885803963A-14W34609JB776263P",
    "event_version": "1.0",
    "create_time": "2026-08-21T08:50:39.827Z",
    "resource_type": "capture",
    "resource_version": "2.0",
    "event_type": "PAYMENT.CAPTURE.COMPLETED",
    "summary": "Payment completed for \u20ac 85.3 EUR",
    "resource": {
        "id": "078616810P372580G",
        "amount": {
            "currency_code": "EUR",
            "value": "85.30"
        },
        "final_capture": true,
        "seller_protection": {
            "status": "NOT_ELIGIBLE"
        },
        "seller_receivable_breakdown": {
            "gross_amount": {
                "currency_code": "EUR",
                "value": "85.30"
            },
            "paypal_fee": {
                "currency_code": "EUR",
                "value": "2.94"
            },
            "net_amount": {
                "currency_code": "EUR",
                "value": "82.36"
            }
        },
        "invoice_id": "31276",
        "custom_id": "{\"orderTransactionId\":\"01a02383ad4e7265a62b8e5e0745375f\",\"pluginVersion\":\"9.8.0\",\"shopwareVersion\":\"6.6.10.6\"}",
        "status": "COMPLETED",
        "processor_response": {
            "avs_code": "S",
            "cvv_code": "M",
            "response_code": "0000"
        },
        "supplementary_data": {
            "related_ids": {
                "order_id": "6NG65519F20593934"
            }
        },
        "payee": {
            "email_address": "bestellung@kontorhaussylt.de",
            "merchant_id": "DSYZH99TL3C54"
        },
        "create_time": "2026-08-21T08:50:34Z",
        "update_time": "2026-08-21T08:50:34Z",
        "links": [
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/078616810P372580G",
                "rel": "self",
                "method": "GET"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/078616810P372580G\/refund",
                "rel": "refund",
                "method": "POST"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/6NG65519F20593934",
                "rel": "up",
                "method": "GET"
            }
        ],
        "network_transaction_reference": {
            "id": "MCSS129TZ",
            "date": "0821",
            "network": "MASTERCARD"
        }
    },
    "links": [
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-9EJ3812885803963A-14W34609JB776263P",
            "rel": "self",
            "method": "GET"
        },
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-9EJ3812885803963A-14W34609JB776263P\/resend",
            "rel": "resend",
            "method": "POST"
        }
    ]
}

Raw

{"id":"WH-9EJ3812885803963A-14W34609JB776263P","event_version":"1.0","create_time":"2026-08-21T08:50:39.827Z","resource_type":"capture","resource_version":"2.0","event_type":"PAYMENT.CAPTURE.COMPLETED","summary":"Payment completed for € 85.3 EUR","resource":{"id":"078616810P372580G","amount":{"currency_code":"EUR","value":"85.30"},"final_capture":true,"seller_protection":{"status":"NOT_ELIGIBLE"},"seller_receivable_breakdown":{"gross_amount":{"currency_code":"EUR","value":"85.30"},"paypal_fee":{"currency_code":"EUR","value":"2.94"},"net_amount":{"currency_code":"EUR","value":"82.36"}},"invoice_id":"31276","custom_id":"{\"orderTransactionId\":\"01a02383ad4e7265a62b8e5e0745375f\",\"pluginVersion\":\"9.8.0\",\"shopwareVersion\":\"6.6.10.6\"}","status":"COMPLETED","processor_response":{"avs_code":"S","cvv_code":"M","response_code":"0000"},"supplementary_data":{"related_ids":{"order_id":"6NG65519F20593934"}},"payee":{"email_address":"bestellung@kontorhaussylt.de","merchant_id":"DSYZH99TL3C54"},"create_time":"2026-08-21T08:50:34Z","update_time":"2026-08-21T08:50:34Z","links":[{"href":"https://api.paypal.com/v2/payments/captures/078616810P372580G","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v2/payments/captures/078616810P372580G/refund","rel":"refund","method":"POST"},{"href":"https://api.paypal.com/v2/checkout/orders/6NG65519F20593934","rel":"up","method":"GET"}],"network_transaction_reference":{"id":"MCSS129TZ","date":"0821","network":"MASTERCARD"}},"links":[{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-9EJ3812885803963A-14W34609JB776263P","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-9EJ3812885803963A-14W34609JB776263P/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
"Sat, 22 Aug 2026 21:02:23 GMT"
server-timing
""
x-debug-token
"759e5a"

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
APP_ENV
"dev"
APP_SECRET
"def00000752cf9768b45dcabd5a6d7b972d61e9b2343169470cfaef7b5e3e9eed0ac64d18fd8c8eb1c317e805122fbb3d325721db70c83599f7816519f90990e28ce293f"
APP_URL
"https://stage-shop.kontorhaussylt.de"
BLUE_GREEN_DEPLOYMENT
"0"
DATABASE_URL
"mysql://p544217:y2ra%24Ggi4mx.hi@db002125.mydbserver.com:3306/usr_p544217_5"
INSTANCE_ID
"9zMq29QXsIezDYyTr9kCGGAi3j5dIxix"
LOCK_DSN
"flock"
MAILER_DSN
"smtp://p594034p3:q%3Bw05Aa%2Cliqtpt@mail.agenturserver.de:25"
MAILER_URL
"smtp://localhost:25?encryption=&auth_mode="
OPENSEARCH_URL
"http://localhost:9200"
PROXY_URL
"http://localhost"
SHOPWARE_CDN_STRATEGY_DEFAULT
"id"
SHOPWARE_ES_ENABLED
"0"
SHOPWARE_ES_HOSTS
"elasticsearch:9200"
SHOPWARE_ES_INDEXING_ENABLED
"0"
SHOPWARE_ES_INDEX_PREFIX
"sw"
SHOPWARE_ES_THROW_EXCEPTION
"1"
SHOPWARE_HTTP_CACHE_ENABLED
"0"
SHOPWARE_HTTP_DEFAULT_TTL
"7200"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTENT_LENGTH
"1776"
CONTENT_TYPE
"application/json"
CONTEXT_DOCUMENT_ROOT
"/home/www/p544217/html/shopware/public/"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/home/www/p544217/html/shopware/public/"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
GCONV_PATH
"/usr/local/php/lib64/gconv"
HOME
"/home/www/p544217"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_CORRELATION_ID
"426b57237b288"
HTTP_FORWARDED
"for="173.0.81.140";host="stage-shop.kontorhaussylt.de";proto=https"
HTTP_HOST
"stage-shop.kontorhaussylt.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-ba64dfce"
HTTP_PAYPAL_TRANSMISSION_ID
"62d15d81-9d3d-11f1-a464-c5da90043a51"
HTTP_PAYPAL_TRANSMISSION_SIG
"ibQXM46fbgNJrQvVRk7Y3i1kvMG3bwBjn85PXLOWnN6D/To9EB9I6bkMPkbP8VIZwjGkAw4CGFYDdNF+kwE0CL7ZHPKFP0dz268kmfW0P2ybWWkKnXQM4o7fR+HoDPlp4QnkYXaGgYS/vpJN2WnEahbqBYLHDecSgpHFqPfRLZxIcOHp3s4V9BxLMQG965wK7QXsa0BE9p5qrwojQ+z8+VRAxHrkZwSBgfFh04X78YpEN3aSzSoc8sgZ/kRQk5tYTyB/T4CXiON1nhJjjITfXaMBqLncpUXHkBdRdecvYqUFfsDUFR+XXtcmbg2UvoQoEkuYYcWAB7ujogzrjIYkKg=="
HTTP_PAYPAL_TRANSMISSION_TIME
"2026-08-21T08:50:40Z"
HTTP_USER_AGENT
"PayPal/AUHR-1.0-1"
HTTP_X_FORWARDED_FOR
"173.0.81.140"
LO_PATH
"/usr/local/php/lib64/locale"
MAGICK_C0DER_MODULE_PATH
"/usr/local/php/lib64/ImageMagick-6.9.11/modules-Q16/coders"
OPENSSL_CONF
"/etc/ssl/openssl.cnf"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/command"
PHP_SELF
"/index.php"
QUERY_STRING
"sw-token=GQWdBJkQMRrSMCYDLwHpZTCkOvsuA4rS"
REDIRECT_HTTPS
"on"
REDIRECT_QUERY_STRING
"sw-token=GQWdBJkQMRrSMCYDLwHpZTCkOvsuA4rS"
REDIRECT_SSL_TLS_SNI
"stage-shop.kontorhaussylt.de"
REDIRECT_STATUS
"200"
REDIRECT_URL
"/api/_action/paypal/webhook/execute"
REMOTE_ADDR
"127.0.0.1"
REMOTE_PORT
"62504"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"https"
REQUEST_TIME
1787432542
REQUEST_TIME_FLOAT
1787432542.915
REQUEST_URI
"/api/_action/paypal/webhook/execute?sw-token=GQWdBJkQMRrSMCYDLwHpZTCkOvsuA4rS"
SCRIPT_FILENAME
"/html/shopware/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"172.18.20.44"
SERVER_ADMIN
"[no address given]"
SERVER_NAME
"stage-shop.kontorhaussylt.de"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache"
SSL_TLS_SNI
"stage-shop.kontorhaussylt.de"
SYMFONY_DOTENV_PATH
"/html/shopware/.env"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_URL,APP_SECRET,INSTANCE_ID,BLUE_GREEN_DEPLOYMENT,DATABASE_URL,MAILER_URL,OPENSEARCH_URL,SHOPWARE_ES_ENABLED,SHOPWARE_ES_INDEXING_ENABLED,SHOPWARE_ES_INDEX_PREFIX,SHOPWARE_ES_THROW_EXCEPTION,PROXY_URL,SHOPWARE_HTTP_CACHE_ENABLED,SHOPWARE_HTTP_DEFAULT_TTL,LOCK_DSN,SHOPWARE_ES_HOSTS,SHOPWARE_CDN_STRATEGY_DEFAULT,MAILER_DSN"
USER
"p544217"