Error 400 Bad Request

POST https://staging.aze-tuning.de/api/_action/paypal/webhook/execute?sw-token=xijB01qr1vMGJx6LU35jhKVUa44ij8Wi

WebhookController :: executeWebhook

Request

GET Parameters

Key Value
sw-token
"xijB01qr1vMGJx6LU35jhKVUa44ij8Wi"

POST Parameters

Key Value
create_time
"2025-06-29T09:00:24.600Z"
event_type
"PAYMENT.CAPTURE.COMPLETED"
event_version
"1.0"
id
"WH-419939165R7158540-7XD35556DV418014C"
links
[
  [
    "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-419939165R7158540-7XD35556DV418014C"
    "rel" => "self"
    "method" => "GET"
  ]
  [
    "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-419939165R7158540-7XD35556DV418014C/resend"
    "rel" => "resend"
    "method" => "POST"
  ]
]
resource
[
  "id" => "53248742PR6018042"
  "amount" => [
    "currency_code" => "EUR"
    "value" => "26.50"
  ]
  "final_capture" => true
  "seller_protection" => [
    "status" => "ELIGIBLE"
    "dispute_categories" => [
      "ITEM_NOT_RECEIVED"
      "UNAUTHORIZED_TRANSACTION"
    ]
  ]
  "seller_receivable_breakdown" => [
    "gross_amount" => [
      "currency_code" => "EUR"
      "value" => "26.50"
    ]
    "paypal_fee" => [
      "currency_code" => "EUR"
      "value" => "0.80"
    ]
    "net_amount" => [
      "currency_code" => "EUR"
      "value" => "25.70"
    ]
  ]
  "invoice_id" => "18313"
  "custom_id" => "{"orderTransactionId":"0164855ef3b14cd4aebb56143a5e8e6a","pluginVersion":"6.5.0","shopwareVersion":"6.4.16.0"}"
  "status" => "COMPLETED"
  "supplementary_data" => [
    "related_ids" => [
      "order_id" => "9WV49853A9798935U"
    ]
  ]
  "payee" => [
    "email_address" => "paypal@aze-tuning.de"
    "merchant_id" => "HJT6WW2F9ERRY"
  ]
  "create_time" => "2025-06-29T09:00:20Z"
  "update_time" => "2025-06-29T09:00:20Z"
  "links" => [
    [
      "href" => "https://api.paypal.com/v2/payments/captures/53248742PR6018042"
      "rel" => "self"
      "method" => "GET"
    ]
    [
      "href" => "https://api.paypal.com/v2/payments/captures/53248742PR6018042/refund"
      "rel" => "refund"
      "method" => "POST"
    ]
    [
      "href" => "https://api.paypal.com/v2/checkout/orders/9WV49853A9798935U"
      "rel" => "up"
      "method" => "GET"
    ]
  ]
]
resource_type
"capture"
resource_version
"2.0"
summary
"Payment completed for € 26.5 EUR"

Uploaded Files

No files were uploaded

Request Attributes

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

Request Headers

Header Value
accept
"*/*"
content-length
"1670"
content-type
"application/json"
correlation-id
"434b408fa23db"
forwarded
"for="173.0.81.140";host="staging.aze-tuning.de";proto=https"
host
"staging.aze-tuning.de"
paypal-auth-algo
"SHA256withRSA"
paypal-auth-version
"v2"
paypal-cert-url
"https://api.paypal.com/v1/notifications/certs/CERT-360caa42-fca2a594-b0d12406"
paypal-transmission-id
"80c11d63-54c7-11f0-bd05-4d8b8ac805e1"
paypal-transmission-sig
"VJmMCV5CbfY6A5oKIGSTpF8h11MoS79MUe7bukZKFdj/lPSN/0dcoDLygoc9WtJHoOjBzJx+HswU97ZmueXh+5wFeXy98NF/hYz06zEDZAWFde4FQuQHoMO8evUMcjeKKYi6el/BQiWsX+g6tuzp/sm9Oq/hAChiuFmLGLhWHelDb6U+50vEcCkpWyW5vEYntg4X14gAda6UlUqnz7w/7VhulHnIxVbT6stUT8dkloHTovJtCNMfwxjqrUhZaDPnBsr1kcDI+FfEA+QvojhiwZ2aIdmvIRTX3Zm09O8RgznFiynKGw/ccOhQ/cI4aVRH3xj911QAKfWRQzNu85/GVg=="
paypal-transmission-time
"2025-06-29T09:00:28Z"
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-419939165R7158540-7XD35556DV418014C",
    "event_version": "1.0",
    "create_time": "2025-06-29T09:00:24.600Z",
    "resource_type": "capture",
    "resource_version": "2.0",
    "event_type": "PAYMENT.CAPTURE.COMPLETED",
    "summary": "Payment completed for \u20ac 26.5 EUR",
    "resource": {
        "id": "53248742PR6018042",
        "amount": {
            "currency_code": "EUR",
            "value": "26.50"
        },
        "final_capture": true,
        "seller_protection": {
            "status": "ELIGIBLE",
            "dispute_categories": [
                "ITEM_NOT_RECEIVED",
                "UNAUTHORIZED_TRANSACTION"
            ]
        },
        "seller_receivable_breakdown": {
            "gross_amount": {
                "currency_code": "EUR",
                "value": "26.50"
            },
            "paypal_fee": {
                "currency_code": "EUR",
                "value": "0.80"
            },
            "net_amount": {
                "currency_code": "EUR",
                "value": "25.70"
            }
        },
        "invoice_id": "18313",
        "custom_id": "{\"orderTransactionId\":\"0164855ef3b14cd4aebb56143a5e8e6a\",\"pluginVersion\":\"6.5.0\",\"shopwareVersion\":\"6.4.16.0\"}",
        "status": "COMPLETED",
        "supplementary_data": {
            "related_ids": {
                "order_id": "9WV49853A9798935U"
            }
        },
        "payee": {
            "email_address": "paypal@aze-tuning.de",
            "merchant_id": "HJT6WW2F9ERRY"
        },
        "create_time": "2025-06-29T09:00:20Z",
        "update_time": "2025-06-29T09:00:20Z",
        "links": [
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/53248742PR6018042",
                "rel": "self",
                "method": "GET"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/53248742PR6018042\/refund",
                "rel": "refund",
                "method": "POST"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/9WV49853A9798935U",
                "rel": "up",
                "method": "GET"
            }
        ]
    },
    "links": [
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-419939165R7158540-7XD35556DV418014C",
            "rel": "self",
            "method": "GET"
        },
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-419939165R7158540-7XD35556DV418014C\/resend",
            "rel": "resend",
            "method": "POST"
        }
    ]
}

Raw

{"id":"WH-419939165R7158540-7XD35556DV418014C","event_version":"1.0","create_time":"2025-06-29T09:00:24.600Z","resource_type":"capture","resource_version":"2.0","event_type":"PAYMENT.CAPTURE.COMPLETED","summary":"Payment completed for € 26.5 EUR","resource":{"id":"53248742PR6018042","amount":{"currency_code":"EUR","value":"26.50"},"final_capture":true,"seller_protection":{"status":"ELIGIBLE","dispute_categories":["ITEM_NOT_RECEIVED","UNAUTHORIZED_TRANSACTION"]},"seller_receivable_breakdown":{"gross_amount":{"currency_code":"EUR","value":"26.50"},"paypal_fee":{"currency_code":"EUR","value":"0.80"},"net_amount":{"currency_code":"EUR","value":"25.70"}},"invoice_id":"18313","custom_id":"{\"orderTransactionId\":\"0164855ef3b14cd4aebb56143a5e8e6a\",\"pluginVersion\":\"6.5.0\",\"shopwareVersion\":\"6.4.16.0\"}","status":"COMPLETED","supplementary_data":{"related_ids":{"order_id":"9WV49853A9798935U"}},"payee":{"email_address":"paypal@aze-tuning.de","merchant_id":"HJT6WW2F9ERRY"},"create_time":"2025-06-29T09:00:20Z","update_time":"2025-06-29T09:00:20Z","links":[{"href":"https://api.paypal.com/v2/payments/captures/53248742PR6018042","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v2/payments/captures/53248742PR6018042/refund","rel":"refund","method":"POST"},{"href":"https://api.paypal.com/v2/checkout/orders/9WV49853A9798935U","rel":"up","method":"GET"}]},"links":[{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-419939165R7158540-7XD35556DV418014C","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-419939165R7158540-7XD35556DV418014C/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
"Sun, 29 Jun 2025 11:07:14 GMT"
server-timing
""
x-debug-token
"6777f2"

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
"def00000c24c3c9d8ee8fca35824362ff22b17dc4fb585029b155addaa9c0c813730d3f8ab243e7999b0bf4412c25a54cb775839a982a19e8be6e6ac20fd91ba5e857c2c"
APP_URL
"https://www.aze-tuning.de"
BLUE_GREEN_DEPLOYMENT
"1"
COMPOSER_HOME
"/home/aze-tuning-staging/htdocs/staging.aze-tuning.de/shopware/var/cache/composer"
DATABASE_URL
"mysql://sw-staging-user:RJ4EJMl9Z93OChcBGJmV@localhost:3306/sw-staging"
INSTANCE_ID
"LOOBpmiLSEAoE7ohewZ0aXrG20iekIjZ"
LOCK_DSN
"flock"
MAILER_URL
"null://localhost"
OPENSEARCH_URL
"http://localhost:9200"
PROXY_URL
"http://localhost"
SHOPWARE_CACHE_ID
"aze"
SHOPWARE_CDN_STRATEGY_DEFAULT
"id"
SHOPWARE_ES_ENABLED
"0"
SHOPWARE_ES_HOSTS
""
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
"1670"
CONTENT_TYPE
"application/json"
DOCUMENT_ROOT
"/home/aze-tuning-staging/htdocs/staging.aze-tuning.de/public"
DOCUMENT_URI
"/index.php"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
GEOIP_CITY
"San Jose"
GEOIP_CITY_CONTINENT_CODE
"NA"
GEOIP_CITY_COUNTRY_CODE
"US"
GEOIP_CITY_COUNTRY_CODE3
"USA"
GEOIP_CITY_COUNTRY_NAME
"United States"
GEOIP_COUNTRY_CODE
"US"
GEOIP_COUNTRY_CODE3
"USA"
GEOIP_COUNTRY_NAME
"United States"
GEOIP_LATITUDE
"37.2972"
GEOIP_LONGITUDE
"-121.8868"
GEOIP_POSTAL_CODE
"95125"
GEOIP_REGION
"CA"
HOME
"/home/aze-tuning-staging"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_CONTENT_LENGTH
"1670"
HTTP_CONTENT_TYPE
"application/json"
HTTP_CORRELATION_ID
"434b408fa23db"
HTTP_FORWARDED
"for="173.0.81.140";host="staging.aze-tuning.de";proto=https"
HTTP_HOST
"staging.aze-tuning.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-b0d12406"
HTTP_PAYPAL_TRANSMISSION_ID
"80c11d63-54c7-11f0-bd05-4d8b8ac805e1"
HTTP_PAYPAL_TRANSMISSION_SIG
"VJmMCV5CbfY6A5oKIGSTpF8h11MoS79MUe7bukZKFdj/lPSN/0dcoDLygoc9WtJHoOjBzJx+HswU97ZmueXh+5wFeXy98NF/hYz06zEDZAWFde4FQuQHoMO8evUMcjeKKYi6el/BQiWsX+g6tuzp/sm9Oq/hAChiuFmLGLhWHelDb6U+50vEcCkpWyW5vEYntg4X14gAda6UlUqnz7w/7VhulHnIxVbT6stUT8dkloHTovJtCNMfwxjqrUhZaDPnBsr1kcDI+FfEA+QvojhiwZ2aIdmvIRTX3Zm09O8RgznFiynKGw/ccOhQ/cI4aVRH3xj911QAKfWRQzNu85/GVg=="
HTTP_PAYPAL_TRANSMISSION_TIME
"2025-06-29T09:00:28Z"
HTTP_USER_AGENT
"PayPal/AUHR-1.0-1"
HTTP_X_FORWARDED_FOR
"173.0.81.140"
MGT
"1"
PHP_SELF
"/index.php"
PHP_VALUE
"""
\n
error_log=/home/aze-tuning-staging/logs/php/error.log;\n
memory_limit=4G;\n
max_execution_time=300;\n
max_input_time=300;\n
max_input_vars=10000;\n
post_max_size=1G;\n
upload_max_filesize=1G;\n
date.timezone=UTC;\n
display_errors=off;\n
zend.assertions=-1;\n
opcache.enable_file_override=0;\n
opcache.interned_strings_buffer=20;\n
opcache.validate_timestamps=1;\n
opcache.enable=0;\n
zend.detect_unicode=0;\n
realpath_cache_ttl=3600;\n
opcache.memory_consumption=2048;
"""
QUERY_STRING
"sw-token=xijB01qr1vMGJx6LU35jhKVUa44ij8Wi"
REDIRECT_STATUS
"200"
REMOTE_ADDR
"127.0.0.1"
REMOTE_PORT
"37135"
REQUEST_METHOD
"POST"
REQUEST_TIME
1751195234
REQUEST_TIME_FLOAT
1751195234.2479
REQUEST_URI
"/api/_action/paypal/webhook/execute?sw-token=xijB01qr1vMGJx6LU35jhKVUa44ij8Wi"
SCRIPT_FILENAME
"/home/aze-tuning-staging/htdocs/staging.aze-tuning.de/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"49.13.13.235"
SERVER_NAME
"staging.aze-tuning.de"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"nginx/1.21.4"
SYMFONY_DOTENV_PATH
"/home/aze-tuning-staging/htdocs/staging.aze-tuning.de/.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,COMPOSER_HOME,SHOPWARE_ES_HOSTS,SHOPWARE_CACHE_ID,SHOPWARE_CDN_STRATEGY_DEFAULT"
USER
"aze-tuning-staging"