Error 400 Bad Request

POST https://baer.tools/8445uix23f9e8b66zreo/api/_action/paypal/webhook/execute?sw-token=KCJMeIvqPBilanUR4UjKa5VuMLiVRdmd

WebhookController :: executeWebhook

Request

GET Parameters

Key Value
sw-token
"KCJMeIvqPBilanUR4UjKa5VuMLiVRdmd"

POST Parameters

Key Value
create_time
"2025-08-04T07:21:56.924Z"
event_type
"PAYMENT.CAPTURE.COMPLETED"
event_version
"1.0"
id
"WH-49T76396W08430644-1N685383EW1888624"
links
[
  [
    "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-49T76396W08430644-1N685383EW1888624"
    "rel" => "self"
    "method" => "GET"
  ]
  [
    "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-49T76396W08430644-1N685383EW1888624/resend"
    "rel" => "resend"
    "method" => "POST"
  ]
]
resource
[
  "id" => "0N165178XM922494K"
  "amount" => [
    "currency_code" => "EUR"
    "value" => "13.82"
  ]
  "final_capture" => true
  "seller_protection" => [
    "status" => "ELIGIBLE"
    "dispute_categories" => [
      "ITEM_NOT_RECEIVED"
      "UNAUTHORIZED_TRANSACTION"
    ]
  ]
  "seller_receivable_breakdown" => [
    "gross_amount" => [
      "currency_code" => "EUR"
      "value" => "13.82"
    ]
    "paypal_fee" => [
      "currency_code" => "EUR"
      "value" => "0.80"
    ]
    "net_amount" => [
      "currency_code" => "EUR"
      "value" => "13.02"
    ]
  ]
  "invoice_id" => "627242"
  "custom_id" => "{"orderTransactionId":"019873f5447970f69b428502f6597104","pluginVersion":"9.7.6","shopwareVersion":"6.6.10.5"}"
  "status" => "COMPLETED"
  "supplementary_data" => [
    "related_ids" => [
      "order_id" => "75430840M55917137"
    ]
  ]
  "payee" => [
    "email_address" => "baercoil@gewindebohrer.de"
    "merchant_id" => "LP28RYL9XRB4L"
  ]
  "create_time" => "2025-08-04T07:21:53Z"
  "update_time" => "2025-08-04T07:21:53Z"
  "links" => [
    [
      "href" => "https://api.paypal.com/v2/payments/captures/0N165178XM922494K"
      "rel" => "self"
      "method" => "GET"
    ]
    [
      "href" => "https://api.paypal.com/v2/payments/captures/0N165178XM922494K/refund"
      "rel" => "refund"
      "method" => "POST"
    ]
    [
      "href" => "https://api.paypal.com/v2/checkout/orders/75430840M55917137"
      "rel" => "up"
      "method" => "GET"
    ]
  ]
]
resource_type
"capture"
resource_version
"2.0"
summary
"Payment completed for € 13.82 EUR"

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"Swag\PayPal\Webhook\WebhookController::executeWebhook"
_cspNonce
"JV8zPaIF1b8="
_route
"api.action.paypal.webhook.execute"
_routeScope
[
  "api"
]
_route_params
[
  "auth_required" => false
]
_stopwatch_token
"7cf136"
auth_required
false
kielcoding-current-url
"https://baer.tools/8445uix23f9e8b66zreo/api/_action/paypal/webhook/execute"
sw-context
Shopware\Core\Framework\Context {#2279
  #extensions: []
  #scope: "system"
  #rulesLocked: false
  #source: Shopware\Core\Framework\Api\Context\SystemSource {#2277 …}
  #ruleIds: []
  #currencyId: "b7d2554b0ce847cd82f3ac9bd1c0dfca"
  #languageIdChain: [
    "2fbb5fe2e29a4d70aa5854ce7ce3e20b"
  ]
  #versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425"
  #currencyFactor: 1.0
  #considerInheritance: false
  #taxState: "gross"
  #rounding: Shopware\Core\Framework\DataAbstractionLayer\Pricing\CashRoundingConfig {#2281 …}
  #states: []
}

Request Headers

Header Value
accept
"*/*"
authorization
""
content-length
"1677"
content-type
"application/json"
correlation-id
"f650418c6dc7e"
forwarded
"for="173.0.81.140";host="baer.tools";proto=https"
host
"baer.tools"
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
"b60dbf3e-7103-11f0-b26d-cbfe69f5f0f1"
paypal-transmission-sig
"Fy0MduKVf8JKRucRSiC3WDWWmucYGSKk3ZdRstGbGSTYtaKx1Zn+i6ckQ0QVLoiR//oR+3+McFXT3dlDbsxyyju2zyWL0fFCzs4SSIobBuHB1OK/TV/EJetTTttSo5T+T+lEG7Q8OWeN7dl2Hfq2Ew/98Ao+Yk0gv0dgs2EHufsPEudMo6+uonU6DcTNMWhg+Mi1Ld+hBUoPjlBiqlz4M2bgK3gEgyhq7W972kZhaC5q5A1+GghmRh80cqMb5Yu9czaLXw4c3qe4UzvVkD+KgQtILhTeNX9EXr7d6yOoE6jeDw8YWFCp4dFMxDiYp1rHsqrzeXalpJTP6eJXkPPG+Q=="
paypal-transmission-time
"2025-08-04T07:22:00Z"
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-49T76396W08430644-1N685383EW1888624",
    "event_version": "1.0",
    "create_time": "2025-08-04T07:21:56.924Z",
    "resource_type": "capture",
    "resource_version": "2.0",
    "event_type": "PAYMENT.CAPTURE.COMPLETED",
    "summary": "Payment completed for \u20ac 13.82 EUR",
    "resource": {
        "id": "0N165178XM922494K",
        "amount": {
            "currency_code": "EUR",
            "value": "13.82"
        },
        "final_capture": true,
        "seller_protection": {
            "status": "ELIGIBLE",
            "dispute_categories": [
                "ITEM_NOT_RECEIVED",
                "UNAUTHORIZED_TRANSACTION"
            ]
        },
        "seller_receivable_breakdown": {
            "gross_amount": {
                "currency_code": "EUR",
                "value": "13.82"
            },
            "paypal_fee": {
                "currency_code": "EUR",
                "value": "0.80"
            },
            "net_amount": {
                "currency_code": "EUR",
                "value": "13.02"
            }
        },
        "invoice_id": "627242",
        "custom_id": "{\"orderTransactionId\":\"019873f5447970f69b428502f6597104\",\"pluginVersion\":\"9.7.6\",\"shopwareVersion\":\"6.6.10.5\"}",
        "status": "COMPLETED",
        "supplementary_data": {
            "related_ids": {
                "order_id": "75430840M55917137"
            }
        },
        "payee": {
            "email_address": "baercoil@gewindebohrer.de",
            "merchant_id": "LP28RYL9XRB4L"
        },
        "create_time": "2025-08-04T07:21:53Z",
        "update_time": "2025-08-04T07:21:53Z",
        "links": [
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/0N165178XM922494K",
                "rel": "self",
                "method": "GET"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/0N165178XM922494K\/refund",
                "rel": "refund",
                "method": "POST"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/75430840M55917137",
                "rel": "up",
                "method": "GET"
            }
        ]
    },
    "links": [
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-49T76396W08430644-1N685383EW1888624",
            "rel": "self",
            "method": "GET"
        },
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-49T76396W08430644-1N685383EW1888624\/resend",
            "rel": "resend",
            "method": "POST"
        }
    ]
}

Raw

{"id":"WH-49T76396W08430644-1N685383EW1888624","event_version":"1.0","create_time":"2025-08-04T07:21:56.924Z","resource_type":"capture","resource_version":"2.0","event_type":"PAYMENT.CAPTURE.COMPLETED","summary":"Payment completed for € 13.82 EUR","resource":{"id":"0N165178XM922494K","amount":{"currency_code":"EUR","value":"13.82"},"final_capture":true,"seller_protection":{"status":"ELIGIBLE","dispute_categories":["ITEM_NOT_RECEIVED","UNAUTHORIZED_TRANSACTION"]},"seller_receivable_breakdown":{"gross_amount":{"currency_code":"EUR","value":"13.82"},"paypal_fee":{"currency_code":"EUR","value":"0.80"},"net_amount":{"currency_code":"EUR","value":"13.02"}},"invoice_id":"627242","custom_id":"{\"orderTransactionId\":\"019873f5447970f69b428502f6597104\",\"pluginVersion\":\"9.7.6\",\"shopwareVersion\":\"6.6.10.5\"}","status":"COMPLETED","supplementary_data":{"related_ids":{"order_id":"75430840M55917137"}},"payee":{"email_address":"baercoil@gewindebohrer.de","merchant_id":"LP28RYL9XRB4L"},"create_time":"2025-08-04T07:21:53Z","update_time":"2025-08-04T07:21:53Z","links":[{"href":"https://api.paypal.com/v2/payments/captures/0N165178XM922494K","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v2/payments/captures/0N165178XM922494K/refund","rel":"refund","method":"POST"},{"href":"https://api.paypal.com/v2/checkout/orders/75430840M55917137","rel":"up","method":"GET"}]},"links":[{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-49T76396W08430644-1N685383EW1888624","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-49T76396W08430644-1N685383EW1888624/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
"Tue, 05 Aug 2025 15:30:57 GMT"
server-timing
""
x-debug-token
"0c814e"

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
ACCESSIBILITY_TWEAKS
"0"
APP_DEBUG
"1"
APP_ENV
"dev"
APP_SECRET
"def0000090be01e78c634941b947666a689ada2c7fd801e30b97ac3d519dd4f936f28c369adf779a353f681d72a6c2d16230826a6eefa28fd9f3e8d180699af864cd2576"
APP_URL
"https://baer.dev.ahorn.io"
APP_URL_CHECK_DISABLED
"1"
BLUE_GREEN_DEPLOYMENT
"1"
COMPOSER_HOME
"var/cache/composer"
DATABASE_URL
"mysql://db-user-5:jw5Cf57ZRoJHxgC4OJF4@127.0.0.1:3306/db-5"
INSTANCE_ID
"vljjPLkTmKUavkH2hbe03F6Unm3BuTKM"
LOCK_DSN
"flock"
MAILER_DSN
"null://localhost"
OPENSEARCH_URL
""
REDIS_CACHE_DATABASE
"2"
REDIS_CACHE_HOST
"127.0.0.1"
REDIS_CACHE_PORT
"6379"
REDIS_CACHE_SESSION_DATABASE
"2"
REDIS_CACHE_SESSION_HOST
"127.0.0.1"
REDIS_CACHE_SESSION_PORT
"6380"
SHOPWARE_CACHE_ID
"689ada2c7fd801e30b97ac3d519dd4f9"
SHOPWARE_CDN_STRATEGY_DEFAULT
"id"
SHOPWARE_ES_ENABLED
"0"
SHOPWARE_ES_INDEXING_ENABLED
"0"
SHOPWARE_ES_INDEX_PREFIX
"sw"
SHOPWARE_HTTP_CACHE_ENABLED
"1"
SHOPWARE_HTTP_DEFAULT_TTL
"86400"

Defined as regular env variables

Key Value
BASE
"/8445uix23f9e8b66zreo"
CONTENT_LENGTH
"1677"
CONTENT_TYPE
"application/json"
CONTEXT_DOCUMENT_ROOT
"/var/www/share/baer.tools/htdocs"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/share/baer.tools/htdocs"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/www/share"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_AUTHORIZATION
""
HTTP_CORRELATION_ID
"f650418c6dc7e"
HTTP_FORWARDED
"for="173.0.81.140";host="baer.tools";proto=https"
HTTP_HOST
"baer.tools"
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
"b60dbf3e-7103-11f0-b26d-cbfe69f5f0f1"
HTTP_PAYPAL_TRANSMISSION_SIG
"Fy0MduKVf8JKRucRSiC3WDWWmucYGSKk3ZdRstGbGSTYtaKx1Zn+i6ckQ0QVLoiR//oR+3+McFXT3dlDbsxyyju2zyWL0fFCzs4SSIobBuHB1OK/TV/EJetTTttSo5T+T+lEG7Q8OWeN7dl2Hfq2Ew/98Ao+Yk0gv0dgs2EHufsPEudMo6+uonU6DcTNMWhg+Mi1Ld+hBUoPjlBiqlz4M2bgK3gEgyhq7W972kZhaC5q5A1+GghmRh80cqMb5Yu9czaLXw4c3qe4UzvVkD+KgQtILhTeNX9EXr7d6yOoE6jeDw8YWFCp4dFMxDiYp1rHsqrzeXalpJTP6eJXkPPG+Q=="
HTTP_PAYPAL_TRANSMISSION_TIME
"2025-08-04T07:22:00Z"
HTTP_USER_AGENT
"PayPal/AUHR-1.0-1"
HTTP_X_FORWARDED_FOR
"173.0.81.140"
MC_QUERY_STRING
"-"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PHP_SELF
"/8445uix23f9e8b66zreo/index.php"
QUERY_STRING
"sw-token=KCJMeIvqPBilanUR4UjKa5VuMLiVRdmd"
REDIRECT_BASE
"/8445uix23f9e8b66zreo"
REDIRECT_HTTPS
"on"
REDIRECT_HTTP_AUTHORIZATION
""
REDIRECT_MC_QUERY_STRING
"-"
REDIRECT_QUERY_STRING
"sw-token=KCJMeIvqPBilanUR4UjKa5VuMLiVRdmd"
REDIRECT_SCRIPT_URI
"https://baer.tools/8445uix23f9e8b66zreo/api/_action/paypal/webhook/execute"
REDIRECT_SCRIPT_URL
"/8445uix23f9e8b66zreo/api/_action/paypal/webhook/execute"
REDIRECT_SSL_TLS_SNI
"baer.tools"
REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"aJIjsX1CkBqRAryW-9Vf1gAAAIA"
REDIRECT_URL
"/8445uix23f9e8b66zreo/api/_action/paypal/webhook/execute"
REMOTE_ADDR
"127.0.0.1"
REMOTE_PORT
"14303"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"https"
REQUEST_TIME
1754407857
REQUEST_TIME_FLOAT
1754407857.4585
REQUEST_URI
"/8445uix23f9e8b66zreo/api/_action/paypal/webhook/execute?sw-token=KCJMeIvqPBilanUR4UjKa5VuMLiVRdmd"
SCRIPT_FILENAME
"/var/www/share/baer.dev.ahorn.io/releases/266/public/index.php"
SCRIPT_NAME
"/8445uix23f9e8b66zreo/index.php"
SCRIPT_URI
"https://baer.tools/8445uix23f9e8b66zreo/api/_action/paypal/webhook/execute"
SCRIPT_URL
"/8445uix23f9e8b66zreo/api/_action/paypal/webhook/execute"
SERVER_ADDR
"62.113.230.30"
SERVER_ADMIN
"root@localhost"
SERVER_NAME
"baer.tools"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache"
SSL_CIPHER
"TLS_AES_256_GCM_SHA384"
SSL_CIPHER_ALGKEYSIZE
"256"
SSL_CIPHER_EXPORT
"false"
SSL_CIPHER_USEKEYSIZE
"256"
SSL_CLIENT_VERIFY
"NONE"
SSL_COMPRESS_METHOD
"NULL"
SSL_PROTOCOL
"TLSv1.3"
SSL_SECURE_RENEG
"false"
SSL_SERVER_A_KEY
"id-ecPublicKey"
SSL_SERVER_A_SIG
"ecdsa-with-SHA384"
SSL_SERVER_I_DN
"CN=E6,O=Let's Encrypt,C=US"
SSL_SERVER_I_DN_C
"US"
SSL_SERVER_I_DN_CN
"E6"
SSL_SERVER_I_DN_O
"Let's Encrypt"
SSL_SERVER_M_SERIAL
"0511B5BA4C9437F2E022AE9A8CD6AD072CDA"
SSL_SERVER_M_VERSION
"3"
SSL_SERVER_SAN_DNS_0
"baer.tools"
SSL_SERVER_SAN_DNS_1
"www.baer.tools"
SSL_SERVER_S_DN
"CN=baer.tools"
SSL_SERVER_S_DN_CN
"baer.tools"
SSL_SERVER_V_END
"Sep 11 06:22:24 2025 GMT"
SSL_SERVER_V_START
"Jun 13 06:22:25 2025 GMT"
SSL_SESSION_ID
"4ef33b0d07d1958bf6e0fc03c4d4d177d132a38b901e1daef5e9b46d8add6a2f"
SSL_SESSION_RESUMED
"Initial"
SSL_TLS_SNI
"baer.tools"
SSL_VERSION_INTERFACE
"mod_ssl/2.4.52"
SSL_VERSION_LIBRARY
"OpenSSL/3.0.2"
SYMFONY_DOTENV_PATH
"/var/www/share/baer.dev.ahorn.io/releases/266/.env"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_DEBUG,APP_SECRET,APP_URL,APP_URL_CHECK_DISABLED,ACCESSIBILITY_TWEAKS,MAILER_DSN,DATABASE_URL,COMPOSER_HOME,INSTANCE_ID,BLUE_GREEN_DEPLOYMENT,SHOPWARE_HTTP_CACHE_ENABLED,SHOPWARE_HTTP_DEFAULT_TTL,SHOPWARE_CACHE_ID,OPENSEARCH_URL,SHOPWARE_ES_ENABLED,SHOPWARE_ES_INDEXING_ENABLED,SHOPWARE_ES_INDEX_PREFIX,SHOPWARE_CDN_STRATEGY_DEFAULT,LOCK_DSN,REDIS_CACHE_HOST,REDIS_CACHE_PORT,REDIS_CACHE_DATABASE,REDIS_CACHE_SESSION_HOST,REDIS_CACHE_SESSION_PORT,REDIS_CACHE_SESSION_DATABASE"
UNIQUE_ID
"aJIjsX1CkBqRAryW-9Vf1gAAAIA"
USER
"web-user"
proxy-nokeepalive
"1"