Error 400 Bad Request

POST https://staging-65.berger-shop.de/api/_action/paypal/webhook/execute?sw-token=5Y7e66LgmTTemauCKqocHrgn8vkrjI9P

WebhookController :: executeWebhook

Request

GET Parameters

Key Value
sw-token
"5Y7e66LgmTTemauCKqocHrgn8vkrjI9P"

POST Parameters

Key Value
create_time
"2026-02-24T15:51:53.840Z"
event_type
"PAYMENT.CAPTURE.COMPLETED"
event_version
"1.0"
id
"WH-9PM31609HN974243Y-3FC52019FD530110N"
links
[
  [
    "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-9PM31609HN974243Y-3FC52019FD530110N"
    "rel" => "self"
    "method" => "GET"
  ]
  [
    "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-9PM31609HN974243Y-3FC52019FD530110N/resend"
    "rel" => "resend"
    "method" => "POST"
  ]
]
resource
[
  "id" => "6XG192494E120053P"
  "amount" => [
    "currency_code" => "EUR"
    "value" => "184.45"
  ]
  "final_capture" => true
  "seller_protection" => [
    "status" => "ELIGIBLE"
    "dispute_categories" => [
      "ITEM_NOT_RECEIVED"
      "UNAUTHORIZED_TRANSACTION"
    ]
  ]
  "seller_receivable_breakdown" => [
    "gross_amount" => [
      "currency_code" => "EUR"
      "value" => "184.45"
    ]
    "paypal_fee" => [
      "currency_code" => "EUR"
      "value" => "5.91"
    ]
    "net_amount" => [
      "currency_code" => "EUR"
      "value" => "178.54"
    ]
  ]
  "invoice_id" => "12903"
  "custom_id" => "{"orderTransactionId":"019c90596925735bb07d3b4b6370369a","pluginVersion":"8.0.0","shopwareVersion":"6.5.8.7"}"
  "status" => "COMPLETED"
  "supplementary_data" => [
    "related_ids" => [
      "order_id" => "04C471641M9815244"
    ]
  ]
  "payee" => [
    "email_address" => "meyer@berger-betriebseinrichtungen.de"
    "merchant_id" => "GWJVWR7U94QQ6"
  ]
  "create_time" => "2026-02-24T15:51:49Z"
  "update_time" => "2026-02-24T15:51:49Z"
  "links" => [
    [
      "href" => "https://api.paypal.com/v2/payments/captures/6XG192494E120053P"
      "rel" => "self"
      "method" => "GET"
    ]
    [
      "href" => "https://api.paypal.com/v2/payments/captures/6XG192494E120053P/refund"
      "rel" => "refund"
      "method" => "POST"
    ]
    [
      "href" => "https://api.paypal.com/v2/checkout/orders/04C471641M9815244"
      "rel" => "up"
      "method" => "GET"
    ]
  ]
]
resource_type
"capture"
resource_version
"2.0"
summary
"Payment completed for € 184.45 EUR"

Uploaded Files

No files were uploaded

Request Attributes

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

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip"
content-length
"1691"
content-type
"application/json"
correlation-id
"8fe98f983f79f"
host
"staging-65.berger-shop.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
"bdc71cc4-1198-11f1-ba46-e3b4d84bcf9b"
paypal-transmission-sig
"JOZOmswP8AmDJzuNIsLU3BArycvoxUQUDWwPM5npHDP5P8EeoV8L1yMmOzrL+o3znGC6gbS+daYh1j7BWOUKaaMeQ7gTqZf9Y44gWKXHOO/LrHLK9qu8Q9ZobG8H1y9FKBihFKFXTpQJ1hLWwBTLaYIbxaL4Xq/30h3CG8ZYfy76SuSsrrEUzXBax/af9P17/d3XR0Gdz8f/uGMR1/W7/75YhafaAbCzSvt9wy2HAZygfwTe+8dX8jcoqg0P/capY3Vh8epKQ6TtaP001IZdOie8OZk0DuAvxa+zGmCQj7Kqq3Jj/fGthrvws3s+kGvJ93OInuWBtKhIwgk2FbwrrQ=="
paypal-transmission-time
"2026-02-24T15:51:54Z"
user-agent
"PayPal/AUHR-1.0-1"
x-forwarded-for
"173.0.81.140, 127.0.0.1"
x-forwarded-host
"staging-65.berger-shop.de"
x-forwarded-port
"443"
x-forwarded-proto
"https"
x-forwarded-server
"7f10bf7a475e"
x-php-ob-level
"1"
x-real-ip
"173.0.81.140"

Request Content

Pretty

{
    "id": "WH-9PM31609HN974243Y-3FC52019FD530110N",
    "event_version": "1.0",
    "create_time": "2026-02-24T15:51:53.840Z",
    "resource_type": "capture",
    "resource_version": "2.0",
    "event_type": "PAYMENT.CAPTURE.COMPLETED",
    "summary": "Payment completed for \u20ac 184.45 EUR",
    "resource": {
        "id": "6XG192494E120053P",
        "amount": {
            "currency_code": "EUR",
            "value": "184.45"
        },
        "final_capture": true,
        "seller_protection": {
            "status": "ELIGIBLE",
            "dispute_categories": [
                "ITEM_NOT_RECEIVED",
                "UNAUTHORIZED_TRANSACTION"
            ]
        },
        "seller_receivable_breakdown": {
            "gross_amount": {
                "currency_code": "EUR",
                "value": "184.45"
            },
            "paypal_fee": {
                "currency_code": "EUR",
                "value": "5.91"
            },
            "net_amount": {
                "currency_code": "EUR",
                "value": "178.54"
            }
        },
        "invoice_id": "12903",
        "custom_id": "{\"orderTransactionId\":\"019c90596925735bb07d3b4b6370369a\",\"pluginVersion\":\"8.0.0\",\"shopwareVersion\":\"6.5.8.7\"}",
        "status": "COMPLETED",
        "supplementary_data": {
            "related_ids": {
                "order_id": "04C471641M9815244"
            }
        },
        "payee": {
            "email_address": "meyer@berger-betriebseinrichtungen.de",
            "merchant_id": "GWJVWR7U94QQ6"
        },
        "create_time": "2026-02-24T15:51:49Z",
        "update_time": "2026-02-24T15:51:49Z",
        "links": [
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/6XG192494E120053P",
                "rel": "self",
                "method": "GET"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/6XG192494E120053P\/refund",
                "rel": "refund",
                "method": "POST"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/04C471641M9815244",
                "rel": "up",
                "method": "GET"
            }
        ]
    },
    "links": [
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-9PM31609HN974243Y-3FC52019FD530110N",
            "rel": "self",
            "method": "GET"
        },
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-9PM31609HN974243Y-3FC52019FD530110N\/resend",
            "rel": "resend",
            "method": "POST"
        }
    ]
}

Raw

{"id":"WH-9PM31609HN974243Y-3FC52019FD530110N","event_version":"1.0","create_time":"2026-02-24T15:51:53.840Z","resource_type":"capture","resource_version":"2.0","event_type":"PAYMENT.CAPTURE.COMPLETED","summary":"Payment completed for € 184.45 EUR","resource":{"id":"6XG192494E120053P","amount":{"currency_code":"EUR","value":"184.45"},"final_capture":true,"seller_protection":{"status":"ELIGIBLE","dispute_categories":["ITEM_NOT_RECEIVED","UNAUTHORIZED_TRANSACTION"]},"seller_receivable_breakdown":{"gross_amount":{"currency_code":"EUR","value":"184.45"},"paypal_fee":{"currency_code":"EUR","value":"5.91"},"net_amount":{"currency_code":"EUR","value":"178.54"}},"invoice_id":"12903","custom_id":"{\"orderTransactionId\":\"019c90596925735bb07d3b4b6370369a\",\"pluginVersion\":\"8.0.0\",\"shopwareVersion\":\"6.5.8.7\"}","status":"COMPLETED","supplementary_data":{"related_ids":{"order_id":"04C471641M9815244"}},"payee":{"email_address":"meyer@berger-betriebseinrichtungen.de","merchant_id":"GWJVWR7U94QQ6"},"create_time":"2026-02-24T15:51:49Z","update_time":"2026-02-24T15:51:49Z","links":[{"href":"https://api.paypal.com/v2/payments/captures/6XG192494E120053P","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v2/payments/captures/6XG192494E120053P/refund","rel":"refund","method":"POST"},{"href":"https://api.paypal.com/v2/checkout/orders/04C471641M9815244","rel":"up","method":"GET"}]},"links":[{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-9PM31609HN974243Y-3FC52019FD530110N","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-9PM31609HN974243Y-3FC52019FD530110N/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
"application/json"
date
"Wed, 25 Feb 2026 16:01:00 GMT"
x-debug-token
"40c033"
x-frame-options
"deny"

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
(no data)

Defined as regular env variables

Key Value
APP_DEBUG
"1"
APP_ENV
"dev"
APP_RUNTIME_OPTIONS
[
  "disable_dotenv" => true
]
APP_SECRET
"b9de6844f9a92945f24097d3e5b95adc4f5b19e23ddabdc98afcd534b0c4c049"
APP_URL
"https://staging-65.berger-shop.de/"
APP_URL_CHECK_DISABLED
"1"
AUTH_TYPE
""
BLUE_GREEN_DEPLOYMENT
"0"
COMPOSER_HOME
"/tmp/composer"
COMPOSER_ROOT_VERSION
"1.0.0"
CONTENT_LENGTH
"1691"
CONTENT_TYPE
"application/json"
DATABASE_HOST
"148.251.8.88"
DATABASE_PORT
"3306"
DATABASE_SSL_DONT_VERIFY_SERVER_CERT
"1"
DATABASE_URL
"mysql://shopware_base:vAxxjMyD:xXEnBfa43yNTv*9kzyEvQ@148.251.8.88:3307/shopware_staging_65"
DISABLE_ADMIN_WORKER
"true"
DOCUMENT_ROOT
"/var/www/html/public"
DOCUMENT_URI
"/index.php"
FCGI_ROLE
"RESPONDER"
FPM_LISTEN
"/tmp/php-fpm.sock"
FPM_PING_PATH
"/-/fpm/ping"
FPM_PM
"dynamic"
FPM_PM_MAX_CHILDREN
"150"
FPM_PM_MAX_REQUESTS
"0"
FPM_PM_MAX_SPARE_SERVERS
"3"
FPM_PM_MIN_SPARE_SERVERS
"1"
FPM_PM_START_SERVERS
"2"
FPM_PM_STATUS_PATH
"/-/fpm/status"
GATEWAY_INTERFACE
"CGI/1.1"
GPG_KEYS
"39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC"
HOME
"/home/www-data"
HOSTNAME
"febed8291774"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip"
HTTP_CONTENT_LENGTH
"1691"
HTTP_CONTENT_TYPE
"application/json"
HTTP_CORRELATION_ID
"8fe98f983f79f"
HTTP_HOST
"staging-65.berger-shop.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
"bdc71cc4-1198-11f1-ba46-e3b4d84bcf9b"
HTTP_PAYPAL_TRANSMISSION_SIG
"JOZOmswP8AmDJzuNIsLU3BArycvoxUQUDWwPM5npHDP5P8EeoV8L1yMmOzrL+o3znGC6gbS+daYh1j7BWOUKaaMeQ7gTqZf9Y44gWKXHOO/LrHLK9qu8Q9ZobG8H1y9FKBihFKFXTpQJ1hLWwBTLaYIbxaL4Xq/30h3CG8ZYfy76SuSsrrEUzXBax/af9P17/d3XR0Gdz8f/uGMR1/W7/75YhafaAbCzSvt9wy2HAZygfwTe+8dX8jcoqg0P/capY3Vh8epKQ6TtaP001IZdOie8OZk0DuAvxa+zGmCQj7Kqq3Jj/fGthrvws3s+kGvJ93OInuWBtKhIwgk2FbwrrQ=="
HTTP_PAYPAL_TRANSMISSION_TIME
"2026-02-24T15:51:54Z"
HTTP_USER_AGENT
"PayPal/AUHR-1.0-1"
HTTP_X_FORWARDED_FOR
"173.0.81.140, 127.0.0.1"
HTTP_X_FORWARDED_HOST
"staging-65.berger-shop.de"
HTTP_X_FORWARDED_PORT
"443"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_FORWARDED_SERVER
"7f10bf7a475e"
HTTP_X_REAL_IP
"173.0.81.140"
INSTALL_ADMIN_PASSWORD
"shopware"
INSTALL_ADMIN_USERNAME
"admin"
INSTALL_CURRENCY
"EUR"
INSTALL_LOCALE
"en-GB"
INSTANCE_ID
"9a96a18497c752b740518ada55039c1175d02b7871e7ebd88c335150bdf75541"
IS_FRONTEND
"1"
LOCK_DSN
"flock"
MAILER_DSN
"null://localhost"
MYSQL_WAIT_SECONDS
"20"
NOMAD_ADDR_connect_proxy_shopware_65_staging_webserver
"10.0.0.3:26952"
NOMAD_ALLOC_DIR
"/alloc"
NOMAD_ALLOC_ID
"25aa1493-f369-9a15-141f-134498bb5d9e"
NOMAD_ALLOC_INDEX
"0"
NOMAD_ALLOC_NAME
"shopware-65-staging.shopware-65-staging[0]"
NOMAD_ALLOC_PORT_connect-proxy-shopware-65-staging-webserver
"26952"
NOMAD_CPU_LIMIT
"1024"
NOMAD_DC
"dc1"
NOMAD_GROUP_NAME
"shopware-65-staging"
NOMAD_HOST_ADDR_connect-proxy-shopware-65-staging-webserver
"10.0.0.3:26952"
NOMAD_HOST_IP_connect-proxy-shopware-65-staging-webserver
"10.0.0.3"
NOMAD_HOST_PORT_connect_proxy_shopware_65_staging_webserver
"26952"
NOMAD_IP_connect_proxy_shopware_65_staging_webserver
"10.0.0.3"
NOMAD_JOB_ID
"shopware-65-staging"
NOMAD_JOB_NAME
"shopware-65-staging"
NOMAD_MEMORY_LIMIT
"512"
NOMAD_NAMESPACE
"default"
NOMAD_PARENT_CGROUP
"nomad.slice"
NOMAD_PORT_connect_proxy_shopware_65_staging_webserver
"26952"
NOMAD_REGION
"global"
NOMAD_SECRETS_DIR
"/secrets"
NOMAD_SHORT_ALLOC_ID
"25aa1493"
NOMAD_TASK_DIR
"/local"
NOMAD_TASK_NAME
"shopware-65-staging-webserver"
NOMAD_UPSTREAM_ADDR_elasticsearch-http
"127.0.0.1:9200"
NOMAD_UPSTREAM_ADDR_elasticsearch-transport
"127.0.0.1:9300"
NOMAD_UPSTREAM_ADDR_elasticsearch_http
"127.0.0.1:9200"
NOMAD_UPSTREAM_ADDR_elasticsearch_transport
"127.0.0.1:9300"
NOMAD_UPSTREAM_ADDR_redis
"127.0.0.1:7701"
NOMAD_UPSTREAM_IP_elasticsearch-http
"127.0.0.1"
NOMAD_UPSTREAM_IP_elasticsearch-transport
"127.0.0.1"
NOMAD_UPSTREAM_IP_elasticsearch_http
"127.0.0.1"
NOMAD_UPSTREAM_IP_elasticsearch_transport
"127.0.0.1"
NOMAD_UPSTREAM_IP_redis
"127.0.0.1"
NOMAD_UPSTREAM_PORT_elasticsearch-http
"9200"
NOMAD_UPSTREAM_PORT_elasticsearch-transport
"9300"
NOMAD_UPSTREAM_PORT_elasticsearch_http
"9200"
NOMAD_UPSTREAM_PORT_elasticsearch_transport
"9300"
NOMAD_UPSTREAM_PORT_redis
"7701"
OPENSEARCH_URL
"localhost:9200"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PATH_INFO
""
PHPIZE_DEPS
"autoconf \t\tdpkg-dev dpkg \t\tfile \t\tg++ \t\tgcc \t\tlibc-dev \t\tmake \t\tpkgconf \t\tre2c"
PHP_ASC_URL
"https://www.php.net/distributions/php-8.2.26.tar.xz.asc"
PHP_CFLAGS
"-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
PHP_CPPFLAGS
"-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
PHP_DISPLAY_ERRORS
"Off"
PHP_ERROR_REPORTING
"E_ALL"
PHP_INI_DIR
"/usr/local/etc/php"
PHP_LDFLAGS
"-Wl,-O1 -pie"
PHP_MAX_EXECUTION_TIME
"65"
PHP_MAX_UPLOAD_SIZE
"128m"
PHP_MEMORY_LIMIT
"2048m"
PHP_OPCACHE_ENABLE_CLI
"0"
PHP_OPCACHE_FILE_CACHE
""
PHP_OPCACHE_FILE_CACHE_ONLY
"0"
PHP_OPCACHE_FILE_OVERRIDE
"1"
PHP_OPCACHE_INTERNED_STRINGS_BUFFER
"20"
PHP_OPCACHE_MAX_ACCELERATED_FILES
"10000"
PHP_OPCACHE_MEMORY_CONSUMPTION
"128"
PHP_OPCACHE_VALIDATE_TIMESTAMPS
"0"
PHP_REALPATH_CACHE_SIZE
"4096K"
PHP_REALPATH_CACHE_TTL
"3600"
PHP_SELF
"/index.php"
PHP_SESSION_COOKIE_LIFETIME
"0"
PHP_SESSION_GC_MAXLIFETIME
"1440"
PHP_SESSION_HANDLER
"files"
PHP_SESSION_SAVE_PATH
""
PHP_SHA256
"54747400cb4874288ad41a785e6147e2ff546cceeeb55c23c00c771ac125c6ef"
PHP_URL
"https://www.php.net/distributions/php-8.2.26.tar.xz"
PHP_VERSION
"8.2.26"
QUERY_STRING
"sw-token=5Y7e66LgmTTemauCKqocHrgn8vkrjI9P"
REDIS_HTTP_CACHE_URL
"redis://127.0.0.1:7701/4"
REDIS_URL
"redis://127.0.0.1:7701/3"
REMOTE_ADDR
"127.0.0.1"
REMOTE_HOST
"127.0.0.1"
REMOTE_IDENT
""
REMOTE_PORT
"36996"
REMOTE_USER
""
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"http"
REQUEST_TIME
1772035260
REQUEST_TIME_FLOAT
1772035260.5905
REQUEST_URI
"/api/_action/paypal/webhook/execute?sw-token=5Y7e66LgmTTemauCKqocHrgn8vkrjI9P"
SCRIPT_FILENAME
"/var/www/html/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_NAME
"staging-65.berger-shop.de"
SERVER_PORT
"80"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"Caddy/(devel)_custom"
SHOPWARE_CACHE_ID
"docker"
SHOPWARE_ES_ENABLED
"1"
SHOPWARE_ES_INDEXING_ENABLED
"1"
SHOPWARE_ES_INDEX_PREFIX
"staging-65"
SHOPWARE_ES_THROW_EXCEPTION
"1"
SHOPWARE_HTTP_CACHE_ENABLED
"0"
SHOPWARE_HTTP_DEFAULT_TTL
"7200"
SHOPWARE_SKIP_WEBINSTALLER
"1"
STOREFRONT_PROXY_URL
"https://staging-65.berger-shop.de/"
SUPERCRONIC
"supercronic-linux-amd64"
SUPERCRONIC_SHA1SUM
"cd48d45c4b10f3f0bfdd3a57d054cd05ac96812b"
SUPERCRONIC_URL
"https://github.com/aptible/supercronic/releases/download/v0.2.29/supercronic-linux-amd64"
SUPERVISOR_ENABLED
"1"
SUPERVISOR_GROUP_NAME
"php-fpm"
SUPERVISOR_PROCESS_NAME
"php-fpm"
TEST
"T15"
TRUSTED_PROXIES
"127.0.0.1,REMOTE_ADDR"
USER
"www-data"