Error 400 Bad Request

POST https://shure-beta.startup-blitz.de/api/_action/paypal/webhook/execute?sw-token=RUJtUh7KKOuhhin59AifPN1bd15DM8EB

WebhookController :: executeWebhook

Request

GET Parameters

Key Value
sw-token
"RUJtUh7KKOuhhin59AifPN1bd15DM8EB"

POST Parameters

Key Value
create_time
"2025-10-07T08:18:32.339Z"
event_type
"PAYMENT.CAPTURE.COMPLETED"
event_version
"1.0"
id
"WH-2BU85881SF3495208-3U640010R3462405K"
links
[
  [
    "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-2BU85881SF3495208-3U640010R3462405K"
    "rel" => "self"
    "method" => "GET"
  ]
  [
    "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-2BU85881SF3495208-3U640010R3462405K/resend"
    "rel" => "resend"
    "method" => "POST"
  ]
]
resource
[
  "id" => "64K27462300056329"
  "amount" => [
    "currency_code" => "GBP"
    "value" => "58.90"
  ]
  "final_capture" => true
  "seller_protection" => [
    "status" => "ELIGIBLE"
    "dispute_categories" => [
      "ITEM_NOT_RECEIVED"
      "UNAUTHORIZED_TRANSACTION"
    ]
  ]
  "seller_receivable_breakdown" => [
    "gross_amount" => [
      "currency_code" => "GBP"
      "value" => "58.90"
    ]
    "paypal_fee" => [
      "currency_code" => "GBP"
      "value" => "2.81"
    ]
    "net_amount" => [
      "currency_code" => "GBP"
      "value" => "56.09"
    ]
  ]
  "invoice_id" => "20061942"
  "custom_id" => "{"orderTransactionId":"0199bdbf22fa738aa76133d86ef84d48","pluginVersion":"9.6.5","shopwareVersion":"6.6.9.0"}"
  "status" => "COMPLETED"
  "supplementary_data" => [
    "related_ids" => [
      "order_id" => "7UY28754SB8446408"
    ]
  ]
  "payee" => [
    "email_address" => "shure@11ecom.de"
    "merchant_id" => "432FEPC3FPS2N"
  ]
  "create_time" => "2025-10-07T08:18:27Z"
  "update_time" => "2025-10-07T08:18:27Z"
  "links" => [
    [
      "href" => "https://api.paypal.com/v2/payments/captures/64K27462300056329"
      "rel" => "self"
      "method" => "GET"
    ]
    [
      "href" => "https://api.paypal.com/v2/payments/captures/64K27462300056329/refund"
      "rel" => "refund"
      "method" => "POST"
    ]
    [
      "href" => "https://api.paypal.com/v2/checkout/orders/7UY28754SB8446408"
      "rel" => "up"
      "method" => "GET"
    ]
  ]
]
resource_type
"capture"
resource_version
"2.0"
summary
"Payment completed for £ 58.9 GBP"

Uploaded Files

No files were uploaded

Request Attributes

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

Request Headers

Header Value
accept
"*/*"
content-length
"1666"
content-type
"application/json"
correlation-id
"ee586198fb3e0"
forwarded
"for="173.0.81.65";host="shure-beta.startup-blitz.de";proto=https"
host
"shure-beta.startup-blitz.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
"385402fd-a356-11f0-8ac4-4dccb4d6b429"
paypal-transmission-sig
"hD+H+nk/NczU1qlYbq66KDCdB3E8Lbv1m1vLIEkXnvCgxTqjSBLgTDNGjNYvj6YkFX0VKC9/Wrtm1b6a4MQ5PGLTWjRM/LdcQCqxxJI9/aLnALVWtpd/pzug30WM7pGKSWtYrjbW/ivEF9RCctMdG1lfA3IYgv1RLthTDEbfz32es4QcI+4WIsTdawuQrubCuNmuNhOb7eUOzA4oOfNPudRbDN1G0oNXamsoj7spxLaR0SikNxOqjleyzeBE1UssvIodWVv6OzanKqq0grOXXLehX6Gct9+GlyocNMoPnW2n+4hQVAn8UyIeBc9DpyG6XEYEXRbNkAI7NYZsxzlSTw=="
paypal-transmission-time
"2025-10-07T08:18:35Z"
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-2BU85881SF3495208-3U640010R3462405K",
    "event_version": "1.0",
    "create_time": "2025-10-07T08:18:32.339Z",
    "resource_type": "capture",
    "resource_version": "2.0",
    "event_type": "PAYMENT.CAPTURE.COMPLETED",
    "summary": "Payment completed for \u00a3 58.9 GBP",
    "resource": {
        "id": "64K27462300056329",
        "amount": {
            "currency_code": "GBP",
            "value": "58.90"
        },
        "final_capture": true,
        "seller_protection": {
            "status": "ELIGIBLE",
            "dispute_categories": [
                "ITEM_NOT_RECEIVED",
                "UNAUTHORIZED_TRANSACTION"
            ]
        },
        "seller_receivable_breakdown": {
            "gross_amount": {
                "currency_code": "GBP",
                "value": "58.90"
            },
            "paypal_fee": {
                "currency_code": "GBP",
                "value": "2.81"
            },
            "net_amount": {
                "currency_code": "GBP",
                "value": "56.09"
            }
        },
        "invoice_id": "20061942",
        "custom_id": "{\"orderTransactionId\":\"0199bdbf22fa738aa76133d86ef84d48\",\"pluginVersion\":\"9.6.5\",\"shopwareVersion\":\"6.6.9.0\"}",
        "status": "COMPLETED",
        "supplementary_data": {
            "related_ids": {
                "order_id": "7UY28754SB8446408"
            }
        },
        "payee": {
            "email_address": "shure@11ecom.de",
            "merchant_id": "432FEPC3FPS2N"
        },
        "create_time": "2025-10-07T08:18:27Z",
        "update_time": "2025-10-07T08:18:27Z",
        "links": [
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/64K27462300056329",
                "rel": "self",
                "method": "GET"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/64K27462300056329\/refund",
                "rel": "refund",
                "method": "POST"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/7UY28754SB8446408",
                "rel": "up",
                "method": "GET"
            }
        ]
    },
    "links": [
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-2BU85881SF3495208-3U640010R3462405K",
            "rel": "self",
            "method": "GET"
        },
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-2BU85881SF3495208-3U640010R3462405K\/resend",
            "rel": "resend",
            "method": "POST"
        }
    ]
}

Raw

{"id":"WH-2BU85881SF3495208-3U640010R3462405K","event_version":"1.0","create_time":"2025-10-07T08:18:32.339Z","resource_type":"capture","resource_version":"2.0","event_type":"PAYMENT.CAPTURE.COMPLETED","summary":"Payment completed for £ 58.9 GBP","resource":{"id":"64K27462300056329","amount":{"currency_code":"GBP","value":"58.90"},"final_capture":true,"seller_protection":{"status":"ELIGIBLE","dispute_categories":["ITEM_NOT_RECEIVED","UNAUTHORIZED_TRANSACTION"]},"seller_receivable_breakdown":{"gross_amount":{"currency_code":"GBP","value":"58.90"},"paypal_fee":{"currency_code":"GBP","value":"2.81"},"net_amount":{"currency_code":"GBP","value":"56.09"}},"invoice_id":"20061942","custom_id":"{\"orderTransactionId\":\"0199bdbf22fa738aa76133d86ef84d48\",\"pluginVersion\":\"9.6.5\",\"shopwareVersion\":\"6.6.9.0\"}","status":"COMPLETED","supplementary_data":{"related_ids":{"order_id":"7UY28754SB8446408"}},"payee":{"email_address":"shure@11ecom.de","merchant_id":"432FEPC3FPS2N"},"create_time":"2025-10-07T08:18:27Z","update_time":"2025-10-07T08:18:27Z","links":[{"href":"https://api.paypal.com/v2/payments/captures/64K27462300056329","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v2/payments/captures/64K27462300056329/refund","rel":"refund","method":"POST"},{"href":"https://api.paypal.com/v2/checkout/orders/7UY28754SB8446408","rel":"up","method":"GET"}]},"links":[{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-2BU85881SF3495208-3U640010R3462405K","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-2BU85881SF3495208-3U640010R3462405K/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
"Wed, 08 Oct 2025 20:28:26 GMT"
server-timing
""
x-debug-token
"a9a1c3"

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
"def000003164e88c8d2b1a5f6c28c8ae9218e2a2396c4c2f308560ac5ad668304025bc1cb8fb895e86dcfb2e156648310169d61e639aa628c33fc572854109cc07fad99e"
APP_URL
"https://shure-beta.startup-blitz.de"
BLUE_GREEN_DEPLOYMENT
"1"
COMPOSER_HOME
"/var/www/shopware/beta/var/cache/composer"
DATABASE_URL
"mysql://shure_shopware6_beta:UVwdsenAArVcQNZPa7AWE21Wfz19vL7m%@localhost:3306/shure_shopware6_beta"
INSTANCE_ID
"0bDwngNj03sFSNImAUyszcG9g0L6Sb8j"
LOCK_DSN
"flock"
MAILER_URL
"null://localhost"
OPENSEARCH_URL
"http://localhost:9200"
PROXY_URL
"http://localhost"
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
"1"
SHOPWARE_HTTP_DEFAULT_TTL
"7200"
SHURE_DUMP_ROOT
"/var/www/shopware/beta/var/shureDump"
SHURE_IMPORT_ROOT
"/var/www/shopware/beta/var/shureImport"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTENT_LENGTH
"1666"
CONTENT_TYPE
"application/json"
DOCUMENT_ROOT
"/var/www/shopware/beta/public"
DOCUMENT_URI
"/index.php"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/www"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_CONTENT_LENGTH
"1666"
HTTP_CONTENT_TYPE
"application/json"
HTTP_CORRELATION_ID
"ee586198fb3e0"
HTTP_FORWARDED
"for="173.0.81.65";host="shure-beta.startup-blitz.de";proto=https"
HTTP_HOST
"shure-beta.startup-blitz.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
"385402fd-a356-11f0-8ac4-4dccb4d6b429"
HTTP_PAYPAL_TRANSMISSION_SIG
"hD+H+nk/NczU1qlYbq66KDCdB3E8Lbv1m1vLIEkXnvCgxTqjSBLgTDNGjNYvj6YkFX0VKC9/Wrtm1b6a4MQ5PGLTWjRM/LdcQCqxxJI9/aLnALVWtpd/pzug30WM7pGKSWtYrjbW/ivEF9RCctMdG1lfA3IYgv1RLthTDEbfz32es4QcI+4WIsTdawuQrubCuNmuNhOb7eUOzA4oOfNPudRbDN1G0oNXamsoj7spxLaR0SikNxOqjleyzeBE1UssvIodWVv6OzanKqq0grOXXLehX6Gct9+GlyocNMoPnW2n+4hQVAn8UyIeBc9DpyG6XEYEXRbNkAI7NYZsxzlSTw=="
HTTP_PAYPAL_TRANSMISSION_TIME
"2025-10-07T08:18:35Z"
HTTP_USER_AGENT
"PayPal/AUHR-1.0-1"
HTTP_X_FORWARDED_FOR
"173.0.81.65"
PHP_SELF
"/index.php"
QUERY_STRING
"sw-token=RUJtUh7KKOuhhin59AifPN1bd15DM8EB"
REDIRECT_STATUS
"200"
REMOTE_ADDR
"127.0.0.1"
REMOTE_PORT
"20905"
REMOTE_USER
""
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"https"
REQUEST_TIME
1759955306
REQUEST_TIME_FLOAT
1759955306.3056
REQUEST_URI
"/api/_action/paypal/webhook/execute?sw-token=RUJtUh7KKOuhhin59AifPN1bd15DM8EB"
SCRIPT_FILENAME
"/var/www/shopware/beta/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"138.201.117.177"
SERVER_NAME
"shure-beta.startup-blitz.de"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"nginx/1.24.0"
SYMFONY_DOTENV_PATH
"/var/www/shopware/beta/.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,SHURE_DUMP_ROOT,SHURE_IMPORT_ROOT,COMPOSER_HOME,SHOPWARE_ES_HOSTS,SHOPWARE_CDN_STRATEGY_DEFAULT"
USER
"www-data"