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-07-03T19:29:08.217Z"
event_type
"PAYMENT.CAPTURE.COMPLETED"
event_version
"1.0"
id
"WH-3E904918RG151271X-8C154648LK512630B"
links
[
  [
    "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-3E904918RG151271X-8C154648LK512630B"
    "rel" => "self"
    "method" => "GET"
  ]
  [
    "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-3E904918RG151271X-8C154648LK512630B/resend"
    "rel" => "resend"
    "method" => "POST"
  ]
]
resource
[
  "id" => "5AW71508NP6882837"
  "amount" => [
    "currency_code" => "EUR"
    "value" => "25.95"
  ]
  "final_capture" => true
  "seller_protection" => [
    "status" => "ELIGIBLE"
    "dispute_categories" => [
      "ITEM_NOT_RECEIVED"
      "UNAUTHORIZED_TRANSACTION"
    ]
  ]
  "seller_receivable_breakdown" => [
    "gross_amount" => [
      "currency_code" => "EUR"
      "value" => "25.95"
    ]
    "paypal_fee" => [
      "currency_code" => "EUR"
      "value" => "0.79"
    ]
    "net_amount" => [
      "currency_code" => "EUR"
      "value" => "25.16"
    ]
  ]
  "invoice_id" => "18354"
  "custom_id" => "{"orderTransactionId":"a9d08fc44cf84111bb89f5a79e512f66","pluginVersion":"6.5.0","shopwareVersion":"6.4.16.0"}"
  "status" => "COMPLETED"
  "supplementary_data" => [
    "related_ids" => [
      "order_id" => "0DW20660LK788203E"
    ]
  ]
  "payee" => [
    "email_address" => "paypal@aze-tuning.de"
    "merchant_id" => "HJT6WW2F9ERRY"
  ]
  "create_time" => "2025-07-03T19:29:03Z"
  "update_time" => "2025-07-03T19:29:03Z"
  "links" => [
    [
      "href" => "https://api.paypal.com/v2/payments/captures/5AW71508NP6882837"
      "rel" => "self"
      "method" => "GET"
    ]
    [
      "href" => "https://api.paypal.com/v2/payments/captures/5AW71508NP6882837/refund"
      "rel" => "refund"
      "method" => "POST"
    ]
    [
      "href" => "https://api.paypal.com/v2/checkout/orders/0DW20660LK788203E"
      "rel" => "up"
      "method" => "GET"
    ]
  ]
]
resource_type
"capture"
resource_version
"2.0"
summary
"Payment completed for € 25.95 EUR"

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"Swag\PayPal\Webhook\WebhookController::executeWebhook"
_cspNonce
"jIhhW+BgKO4="
_route
"api.action.paypal.webhook.execute"
_routeScope
[
  "api"
]
_route_params
[
  "auth_required" => false
]
_stopwatch_token
"6731e9"
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
"1671"
content-type
"application/json"
correlation-id
"cbfdf0a60a7cc"
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
"ff97d8e8-5843-11f0-8e1b-bf82619effad"
paypal-transmission-sig
"TD5m+csUjpX46p7EptGdK1GPQewFs0blHSW8np+8z/qsrC6DJiUP9G1DSoPiCjnTzk4rnWu4KnR+glgj2YZTFpk44RXhVdErBy67okSkEBhVblaavzlN5SOzlXwm+XpvDmxLzKrFaqnVn44KMa8vzSbxAFgbAky5+BATzHmWixHPiA6C4odflWjduZ/qccBNc7flSImwZiMveV4bt6cVTZaSBueD+3GZ6QjqJQMy3UsT64CoeW1AsdWvBQPTARPKTVZR04tmWFLNTI2qeFWgNDL1kT2h1JFWz+Betpe233x+0ChLTIZ6+GKgAqrjdNmN0G6KWrcqe7tW6vSHjWlLNQ=="
paypal-transmission-time
"2025-07-03T19:29:12Z"
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-3E904918RG151271X-8C154648LK512630B",
    "event_version": "1.0",
    "create_time": "2025-07-03T19:29:08.217Z",
    "resource_type": "capture",
    "resource_version": "2.0",
    "event_type": "PAYMENT.CAPTURE.COMPLETED",
    "summary": "Payment completed for \u20ac 25.95 EUR",
    "resource": {
        "id": "5AW71508NP6882837",
        "amount": {
            "currency_code": "EUR",
            "value": "25.95"
        },
        "final_capture": true,
        "seller_protection": {
            "status": "ELIGIBLE",
            "dispute_categories": [
                "ITEM_NOT_RECEIVED",
                "UNAUTHORIZED_TRANSACTION"
            ]
        },
        "seller_receivable_breakdown": {
            "gross_amount": {
                "currency_code": "EUR",
                "value": "25.95"
            },
            "paypal_fee": {
                "currency_code": "EUR",
                "value": "0.79"
            },
            "net_amount": {
                "currency_code": "EUR",
                "value": "25.16"
            }
        },
        "invoice_id": "18354",
        "custom_id": "{\"orderTransactionId\":\"a9d08fc44cf84111bb89f5a79e512f66\",\"pluginVersion\":\"6.5.0\",\"shopwareVersion\":\"6.4.16.0\"}",
        "status": "COMPLETED",
        "supplementary_data": {
            "related_ids": {
                "order_id": "0DW20660LK788203E"
            }
        },
        "payee": {
            "email_address": "paypal@aze-tuning.de",
            "merchant_id": "HJT6WW2F9ERRY"
        },
        "create_time": "2025-07-03T19:29:03Z",
        "update_time": "2025-07-03T19:29:03Z",
        "links": [
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/5AW71508NP6882837",
                "rel": "self",
                "method": "GET"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/5AW71508NP6882837\/refund",
                "rel": "refund",
                "method": "POST"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/0DW20660LK788203E",
                "rel": "up",
                "method": "GET"
            }
        ]
    },
    "links": [
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-3E904918RG151271X-8C154648LK512630B",
            "rel": "self",
            "method": "GET"
        },
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-3E904918RG151271X-8C154648LK512630B\/resend",
            "rel": "resend",
            "method": "POST"
        }
    ]
}

Raw

{"id":"WH-3E904918RG151271X-8C154648LK512630B","event_version":"1.0","create_time":"2025-07-03T19:29:08.217Z","resource_type":"capture","resource_version":"2.0","event_type":"PAYMENT.CAPTURE.COMPLETED","summary":"Payment completed for € 25.95 EUR","resource":{"id":"5AW71508NP6882837","amount":{"currency_code":"EUR","value":"25.95"},"final_capture":true,"seller_protection":{"status":"ELIGIBLE","dispute_categories":["ITEM_NOT_RECEIVED","UNAUTHORIZED_TRANSACTION"]},"seller_receivable_breakdown":{"gross_amount":{"currency_code":"EUR","value":"25.95"},"paypal_fee":{"currency_code":"EUR","value":"0.79"},"net_amount":{"currency_code":"EUR","value":"25.16"}},"invoice_id":"18354","custom_id":"{\"orderTransactionId\":\"a9d08fc44cf84111bb89f5a79e512f66\",\"pluginVersion\":\"6.5.0\",\"shopwareVersion\":\"6.4.16.0\"}","status":"COMPLETED","supplementary_data":{"related_ids":{"order_id":"0DW20660LK788203E"}},"payee":{"email_address":"paypal@aze-tuning.de","merchant_id":"HJT6WW2F9ERRY"},"create_time":"2025-07-03T19:29:03Z","update_time":"2025-07-03T19:29:03Z","links":[{"href":"https://api.paypal.com/v2/payments/captures/5AW71508NP6882837","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v2/payments/captures/5AW71508NP6882837/refund","rel":"refund","method":"POST"},{"href":"https://api.paypal.com/v2/checkout/orders/0DW20660LK788203E","rel":"up","method":"GET"}]},"links":[{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-3E904918RG151271X-8C154648LK512630B","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-3E904918RG151271X-8C154648LK512630B/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, 04 Jul 2025 05:36:20 GMT"
server-timing
""
x-debug-token
"1b45d9"

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
"1671"
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
"1671"
HTTP_CONTENT_TYPE
"application/json"
HTTP_CORRELATION_ID
"cbfdf0a60a7cc"
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
"ff97d8e8-5843-11f0-8e1b-bf82619effad"
HTTP_PAYPAL_TRANSMISSION_SIG
"TD5m+csUjpX46p7EptGdK1GPQewFs0blHSW8np+8z/qsrC6DJiUP9G1DSoPiCjnTzk4rnWu4KnR+glgj2YZTFpk44RXhVdErBy67okSkEBhVblaavzlN5SOzlXwm+XpvDmxLzKrFaqnVn44KMa8vzSbxAFgbAky5+BATzHmWixHPiA6C4odflWjduZ/qccBNc7flSImwZiMveV4bt6cVTZaSBueD+3GZ6QjqJQMy3UsT64CoeW1AsdWvBQPTARPKTVZR04tmWFLNTI2qeFWgNDL1kT2h1JFWz+Betpe233x+0ChLTIZ6+GKgAqrjdNmN0G6KWrcqe7tW6vSHjWlLNQ=="
HTTP_PAYPAL_TRANSMISSION_TIME
"2025-07-03T19:29:12Z"
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
"21642"
REQUEST_METHOD
"POST"
REQUEST_TIME
1751607380
REQUEST_TIME_FLOAT
1751607380.0024
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"