Error 400 Bad Request

POST https://stage-shop.kontorhaussylt.de/api/_action/paypal/webhook/execute?sw-token=GQWdBJkQMRrSMCYDLwHpZTCkOvsuA4rS

WebhookController :: executeWebhook

Request

GET Parameters

Key Value
sw-token
"GQWdBJkQMRrSMCYDLwHpZTCkOvsuA4rS"

POST Parameters

Key Value
create_time
"2026-09-23T06:43:43.337Z"
event_type
"PAYMENT.CAPTURE.REFUNDED"
event_version
"1.0"
id
"WH-5UL83470EU353005F-2G734038XY546763U"
links
[
  [
    "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-5UL83470EU353005F-2G734038XY546763U"
    "rel" => "self"
    "method" => "GET"
  ]
  [
    "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-5UL83470EU353005F-2G734038XY546763U/resend"
    "rel" => "resend"
    "method" => "POST"
  ]
]
resource
[
  "id" => "6LP703390L660051V"
  "amount" => [
    "currency_code" => "EUR"
    "value" => "5.62"
  ]
  "note_to_payer" => "Rückzahlung Bestellnr. 31601"
  "seller_payable_breakdown" => [
    "gross_amount" => [
      "currency_code" => "EUR"
      "value" => "5.62"
    ]
    "paypal_fee" => [
      "currency_code" => "EUR"
      "value" => "0.17"
    ]
    "net_amount" => [
      "currency_code" => "EUR"
      "value" => "5.45"
    ]
    "total_refunded_amount" => [
      "currency_code" => "EUR"
      "value" => "5.62"
    ]
  ]
  "invoice_id" => "20023039"
  "custom_id" => "{"orderTransactionId":"01a0c47dc6cb733aa2ac3f383cb36ca0","pluginVersion":"9.8.0","shopwareVersion":"6.6.10.6"}"
  "status" => "COMPLETED"
  "create_time" => "2026-09-22T23:43:39-07:00"
  "update_time" => "2026-09-22T23:43:39-07:00"
  "payer" => [
    "email_address" => "bestellung@kontorhaussylt.de"
    "merchant_id" => "DSYZH99TL3C54"
  ]
  "links" => [
    [
      "href" => "https://api.paypal.com/v2/payments/refunds/6LP703390L660051V"
      "rel" => "self"
      "method" => "GET"
    ]
    [
      "href" => "https://api.paypal.com/v2/payments/captures/5BL11561YV508180A"
      "rel" => "up"
      "method" => "GET"
    ]
  ]
]
resource_type
"refund"
resource_version
"2.0"
summary
"A € 5.62 EUR capture payment was refunded"

Uploaded Files

No files were uploaded

Request Attributes

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

Request Headers

Header Value
accept
"*/*"
content-length
"1490"
content-type
"application/json"
correlation-id
"f3172058efa1b"
forwarded
"for="173.0.81.65";host="stage-shop.kontorhaussylt.de";proto=https"
host
"stage-shop.kontorhaussylt.de"
paypal-auth-algo
"SHA256withRSA"
paypal-auth-version
"v2"
paypal-cert-url
"https://api.paypal.com/v1/notifications/certs/CERT-360caa42-fca2a594-ba64dfce"
paypal-transmission-id
"20a1c03d-b71a-11f1-bcba-db917329d0d8"
paypal-transmission-sig
"KW0hriO78L59WAmfEqRxGEx/dx1zGU3ub3deZy8KKpmOMaBum+pzlcrHb8XQLK5HMuaMkghqvTNoosKKRL6evTK66dFetVqIlYTigzMZjVFufOeGr1fesQrQznblV2LrYx7nhYlj+ycrm3SSNv2iVz9Z4dNWrLRFu7bwHtd4UMhqIchos15kPdUNIhPVbvBDY7ByRcz1SlkHH9EFMP8veREeC7wVEEXEDFz6gScUzicYekfWJ9P+FMZrsXylyLTyjih/q+adpHrTtICvYvWCRud6VEoV4SWasg6BwF4XYE+ra7Jg8IMgZmn3QuR5ZG/WJlf6qLhU4uAT7RETgPTMBw=="
paypal-transmission-time
"2026-09-23T06:43:46Z"
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-5UL83470EU353005F-2G734038XY546763U",
    "event_version": "1.0",
    "create_time": "2026-09-23T06:43:43.337Z",
    "resource_type": "refund",
    "resource_version": "2.0",
    "event_type": "PAYMENT.CAPTURE.REFUNDED",
    "summary": "A \u20ac 5.62 EUR capture payment was refunded",
    "resource": {
        "id": "6LP703390L660051V",
        "amount": {
            "currency_code": "EUR",
            "value": "5.62"
        },
        "note_to_payer": "R\u00fcckzahlung Bestellnr. 31601",
        "seller_payable_breakdown": {
            "gross_amount": {
                "currency_code": "EUR",
                "value": "5.62"
            },
            "paypal_fee": {
                "currency_code": "EUR",
                "value": "0.17"
            },
            "net_amount": {
                "currency_code": "EUR",
                "value": "5.45"
            },
            "total_refunded_amount": {
                "currency_code": "EUR",
                "value": "5.62"
            }
        },
        "invoice_id": "20023039",
        "custom_id": "{\"orderTransactionId\":\"01a0c47dc6cb733aa2ac3f383cb36ca0\",\"pluginVersion\":\"9.8.0\",\"shopwareVersion\":\"6.6.10.6\"}",
        "status": "COMPLETED",
        "create_time": "2026-09-22T23:43:39-07:00",
        "update_time": "2026-09-22T23:43:39-07:00",
        "payer": {
            "email_address": "bestellung@kontorhaussylt.de",
            "merchant_id": "DSYZH99TL3C54"
        },
        "links": [
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/refunds\/6LP703390L660051V",
                "rel": "self",
                "method": "GET"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/5BL11561YV508180A",
                "rel": "up",
                "method": "GET"
            }
        ]
    },
    "links": [
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-5UL83470EU353005F-2G734038XY546763U",
            "rel": "self",
            "method": "GET"
        },
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-5UL83470EU353005F-2G734038XY546763U\/resend",
            "rel": "resend",
            "method": "POST"
        }
    ]
}

Raw

{"id":"WH-5UL83470EU353005F-2G734038XY546763U","event_version":"1.0","create_time":"2026-09-23T06:43:43.337Z","resource_type":"refund","resource_version":"2.0","event_type":"PAYMENT.CAPTURE.REFUNDED","summary":"A € 5.62 EUR capture payment was refunded","resource":{"id":"6LP703390L660051V","amount":{"currency_code":"EUR","value":"5.62"},"note_to_payer":"Rückzahlung Bestellnr. 31601","seller_payable_breakdown":{"gross_amount":{"currency_code":"EUR","value":"5.62"},"paypal_fee":{"currency_code":"EUR","value":"0.17"},"net_amount":{"currency_code":"EUR","value":"5.45"},"total_refunded_amount":{"currency_code":"EUR","value":"5.62"}},"invoice_id":"20023039","custom_id":"{\"orderTransactionId\":\"01a0c47dc6cb733aa2ac3f383cb36ca0\",\"pluginVersion\":\"9.8.0\",\"shopwareVersion\":\"6.6.10.6\"}","status":"COMPLETED","create_time":"2026-09-22T23:43:39-07:00","update_time":"2026-09-22T23:43:39-07:00","payer":{"email_address":"bestellung@kontorhaussylt.de","merchant_id":"DSYZH99TL3C54"},"links":[{"href":"https://api.paypal.com/v2/payments/refunds/6LP703390L660051V","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v2/payments/captures/5BL11561YV508180A","rel":"up","method":"GET"}]},"links":[{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-5UL83470EU353005F-2G734038XY546763U","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-5UL83470EU353005F-2G734038XY546763U/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
"Thu, 24 Sep 2026 04:52:59 GMT"
server-timing
""
x-debug-token
"fb6fa9"

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
"def00000752cf9768b45dcabd5a6d7b972d61e9b2343169470cfaef7b5e3e9eed0ac64d18fd8c8eb1c317e805122fbb3d325721db70c83599f7816519f90990e28ce293f"
APP_URL
"https://stage-shop.kontorhaussylt.de"
BLUE_GREEN_DEPLOYMENT
"0"
DATABASE_URL
"mysql://p544217:y2ra%24Ggi4mx.hi@db002125.mydbserver.com:3306/usr_p544217_5"
INSTANCE_ID
"9zMq29QXsIezDYyTr9kCGGAi3j5dIxix"
LOCK_DSN
"flock"
MAILER_DSN
"smtp://p594034p3:q%3Bw05Aa%2Cliqtpt@mail.agenturserver.de:25"
MAILER_URL
"smtp://localhost:25?encryption=&auth_mode="
OPENSEARCH_URL
"http://localhost:9200"
PROXY_URL
"http://localhost"
SHOPWARE_CDN_STRATEGY_DEFAULT
"id"
SHOPWARE_ES_ENABLED
"0"
SHOPWARE_ES_HOSTS
"elasticsearch:9200"
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
"1490"
CONTENT_TYPE
"application/json"
CONTEXT_DOCUMENT_ROOT
"/home/www/p544217/html/shopware/public/"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/home/www/p544217/html/shopware/public/"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
GCONV_PATH
"/usr/local/php/lib64/gconv"
HOME
"/home/www/p544217"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_CORRELATION_ID
"f3172058efa1b"
HTTP_FORWARDED
"for="173.0.81.65";host="stage-shop.kontorhaussylt.de";proto=https"
HTTP_HOST
"stage-shop.kontorhaussylt.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-ba64dfce"
HTTP_PAYPAL_TRANSMISSION_ID
"20a1c03d-b71a-11f1-bcba-db917329d0d8"
HTTP_PAYPAL_TRANSMISSION_SIG
"KW0hriO78L59WAmfEqRxGEx/dx1zGU3ub3deZy8KKpmOMaBum+pzlcrHb8XQLK5HMuaMkghqvTNoosKKRL6evTK66dFetVqIlYTigzMZjVFufOeGr1fesQrQznblV2LrYx7nhYlj+ycrm3SSNv2iVz9Z4dNWrLRFu7bwHtd4UMhqIchos15kPdUNIhPVbvBDY7ByRcz1SlkHH9EFMP8veREeC7wVEEXEDFz6gScUzicYekfWJ9P+FMZrsXylyLTyjih/q+adpHrTtICvYvWCRud6VEoV4SWasg6BwF4XYE+ra7Jg8IMgZmn3QuR5ZG/WJlf6qLhU4uAT7RETgPTMBw=="
HTTP_PAYPAL_TRANSMISSION_TIME
"2026-09-23T06:43:46Z"
HTTP_USER_AGENT
"PayPal/AUHR-1.0-1"
HTTP_X_FORWARDED_FOR
"173.0.81.65"
LO_PATH
"/usr/local/php/lib64/locale"
MAGICK_C0DER_MODULE_PATH
"/usr/local/php/lib64/ImageMagick-6.9.11/modules-Q16/coders"
OPENSSL_CONF
"/etc/ssl/openssl.cnf"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/command"
PHP_SELF
"/index.php"
QS_AllConn
"27"
QS_ConnectionId
"1790225579025447023577183"
QS_SrvConn
"27"
QUERY_STRING
"sw-token=GQWdBJkQMRrSMCYDLwHpZTCkOvsuA4rS"
REDIRECT_HTTPS
"on"
REDIRECT_QS_AllConn
"27"
REDIRECT_QS_ConnectionId
"1790225579025447023577183"
REDIRECT_QS_SrvConn
"27"
REDIRECT_QUERY_STRING
"sw-token=GQWdBJkQMRrSMCYDLwHpZTCkOvsuA4rS"
REDIRECT_SSL_TLS_SNI
"stage-shop.kontorhaussylt.de"
REDIRECT_STATUS
"200"
REDIRECT_URL
"/api/_action/paypal/webhook/execute"
REMOTE_ADDR
"127.0.0.1"
REMOTE_PORT
"36653"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"https"
REQUEST_TIME
1790225579
REQUEST_TIME_FLOAT
1790225579.0278
REQUEST_URI
"/api/_action/paypal/webhook/execute?sw-token=GQWdBJkQMRrSMCYDLwHpZTCkOvsuA4rS"
SCRIPT_FILENAME
"/html/shopware/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"172.18.20.44"
SERVER_ADMIN
"[no address given]"
SERVER_NAME
"stage-shop.kontorhaussylt.de"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache"
SSL_TLS_SNI
"stage-shop.kontorhaussylt.de"
SYMFONY_DOTENV_PATH
"/html/shopware/.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,SHOPWARE_ES_HOSTS,SHOPWARE_CDN_STRATEGY_DEFAULT,MAILER_DSN"
USER
"p544217"