Error 400 Bad Request

POST https://preview.simpleproducts.de/api/_action/paypal/webhook/execute?sw-token=r7PJ7uFm5bcDht86a7pIfeEIc2sDhtLT

WebhookController :: executeWebhook

Request

GET Parameters

Key Value
sw-token
"r7PJ7uFm5bcDht86a7pIfeEIc2sDhtLT"

POST Parameters

Key Value
create_time
"2026-08-12T15:41:06.554Z"
event_type
"PAYMENT.CAPTURE.COMPLETED"
event_version
"1.0"
id
"WH-8YL57784TG129115Y-2S628306W08429252"
links
[
  [
    "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-8YL57784TG129115Y-2S628306W08429252"
    "rel" => "self"
    "method" => "GET"
  ]
  [
    "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-8YL57784TG129115Y-2S628306W08429252/resend"
    "rel" => "resend"
    "method" => "POST"
  ]
]
resource
[
  "id" => "33799441HX0678806"
  "amount" => [
    "currency_code" => "EUR"
    "value" => "41.70"
  ]
  "final_capture" => true
  "seller_protection" => [
    "status" => "ELIGIBLE"
    "dispute_categories" => [
      "ITEM_NOT_RECEIVED"
      "UNAUTHORIZED_TRANSACTION"
    ]
  ]
  "seller_receivable_breakdown" => [
    "gross_amount" => [
      "currency_code" => "EUR"
      "value" => "41.70"
    ]
    "paypal_fee" => [
      "currency_code" => "EUR"
      "value" => "1.22"
    ]
    "net_amount" => [
      "currency_code" => "EUR"
      "value" => "40.48"
    ]
  ]
  "invoice_id" => "164230"
  "custom_id" => "{"orderTransactionId":"019ff6a246d071d3b9521826d6652fc2","pluginVersion":"10.7.0","shopwareVersion":"6.7.10.2"}"
  "status" => "COMPLETED"
  "supplementary_data" => [
    "related_ids" => [
      "order_id" => "68B58704AM686054X"
    ]
  ]
  "payee" => [
    "email_address" => "info@simplepro.de"
    "merchant_id" => "NGYWZDWJN2X2E"
  ]
  "create_time" => "2026-08-12T15:41:01Z"
  "update_time" => "2026-08-12T15:41:01Z"
  "links" => [
    [
      "href" => "https://api.paypal.com/v2/payments/captures/33799441HX0678806"
      "rel" => "self"
      "method" => "GET"
    ]
    [
      "href" => "https://api.paypal.com/v2/payments/captures/33799441HX0678806/refund"
      "rel" => "refund"
      "method" => "POST"
    ]
    [
      "href" => "https://api.paypal.com/v2/checkout/orders/68B58704AM686054X"
      "rel" => "up"
      "method" => "GET"
    ]
  ]
]
resource_type
"capture"
resource_version
"2.0"
summary
"Payment completed for € 41.7 EUR"

Uploaded Files

No files were uploaded

Request Attributes

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

Request Headers

Header Value
accept
"*/*"
connection
"close"
content-length
"1669"
content-type
"application/json"
correlation-id
"6ee122c3a6181"
forwarded
"for="173.0.81.140";host="preview.simpleproducts.de";proto=https"
host
"preview.simpleproducts.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
"3bb80e19-9664-11f1-9e1e-133c152e2f7b"
paypal-transmission-sig
"ECuggCx8ZLLgrvz7E75/MobQfiBh9MTU5RxTgxDZJaG5uoaO6Ynv/5JIoOGOfBFO7VixdNRh5oio/ifnXrrWv2k4ybJfxRL1YF598jU1wmOtPxzLpGy6dsgXYonKwlZ6DPNL3YjzFpZ0ym+iBuTtbmD2hrJqOR98cM4Jd6G77HfmMMAs35c3Pp2CitFg9rPjV+ImpU/NI3yX7YZdAOTFwvVV3wJ07pdW88HUCTNqc0bth8w4U9hf5Nij36c1BbmAM2AUYmuOYxRSdPB2e2jy5RkkBKXF6aMsCksfiGvJqXhbGu3LfovGVby3Ux9yWUdatEUzVfVBQ6hQ94mcSBNaxA=="
paypal-transmission-time
"2026-08-12T15:41:06Z"
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-8YL57784TG129115Y-2S628306W08429252",
    "event_version": "1.0",
    "create_time": "2026-08-12T15:41:06.554Z",
    "resource_type": "capture",
    "resource_version": "2.0",
    "event_type": "PAYMENT.CAPTURE.COMPLETED",
    "summary": "Payment completed for \u20ac 41.7 EUR",
    "resource": {
        "id": "33799441HX0678806",
        "amount": {
            "currency_code": "EUR",
            "value": "41.70"
        },
        "final_capture": true,
        "seller_protection": {
            "status": "ELIGIBLE",
            "dispute_categories": [
                "ITEM_NOT_RECEIVED",
                "UNAUTHORIZED_TRANSACTION"
            ]
        },
        "seller_receivable_breakdown": {
            "gross_amount": {
                "currency_code": "EUR",
                "value": "41.70"
            },
            "paypal_fee": {
                "currency_code": "EUR",
                "value": "1.22"
            },
            "net_amount": {
                "currency_code": "EUR",
                "value": "40.48"
            }
        },
        "invoice_id": "164230",
        "custom_id": "{\"orderTransactionId\":\"019ff6a246d071d3b9521826d6652fc2\",\"pluginVersion\":\"10.7.0\",\"shopwareVersion\":\"6.7.10.2\"}",
        "status": "COMPLETED",
        "supplementary_data": {
            "related_ids": {
                "order_id": "68B58704AM686054X"
            }
        },
        "payee": {
            "email_address": "info@simplepro.de",
            "merchant_id": "NGYWZDWJN2X2E"
        },
        "create_time": "2026-08-12T15:41:01Z",
        "update_time": "2026-08-12T15:41:01Z",
        "links": [
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/33799441HX0678806",
                "rel": "self",
                "method": "GET"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/33799441HX0678806\/refund",
                "rel": "refund",
                "method": "POST"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/68B58704AM686054X",
                "rel": "up",
                "method": "GET"
            }
        ]
    },
    "links": [
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-8YL57784TG129115Y-2S628306W08429252",
            "rel": "self",
            "method": "GET"
        },
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-8YL57784TG129115Y-2S628306W08429252\/resend",
            "rel": "resend",
            "method": "POST"
        }
    ]
}

Raw

{"id":"WH-8YL57784TG129115Y-2S628306W08429252","event_version":"1.0","create_time":"2026-08-12T15:41:06.554Z","resource_type":"capture","resource_version":"2.0","event_type":"PAYMENT.CAPTURE.COMPLETED","summary":"Payment completed for € 41.7 EUR","resource":{"id":"33799441HX0678806","amount":{"currency_code":"EUR","value":"41.70"},"final_capture":true,"seller_protection":{"status":"ELIGIBLE","dispute_categories":["ITEM_NOT_RECEIVED","UNAUTHORIZED_TRANSACTION"]},"seller_receivable_breakdown":{"gross_amount":{"currency_code":"EUR","value":"41.70"},"paypal_fee":{"currency_code":"EUR","value":"1.22"},"net_amount":{"currency_code":"EUR","value":"40.48"}},"invoice_id":"164230","custom_id":"{\"orderTransactionId\":\"019ff6a246d071d3b9521826d6652fc2\",\"pluginVersion\":\"10.7.0\",\"shopwareVersion\":\"6.7.10.2\"}","status":"COMPLETED","supplementary_data":{"related_ids":{"order_id":"68B58704AM686054X"}},"payee":{"email_address":"info@simplepro.de","merchant_id":"NGYWZDWJN2X2E"},"create_time":"2026-08-12T15:41:01Z","update_time":"2026-08-12T15:41:01Z","links":[{"href":"https://api.paypal.com/v2/payments/captures/33799441HX0678806","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v2/payments/captures/33799441HX0678806/refund","rel":"refund","method":"POST"},{"href":"https://api.paypal.com/v2/checkout/orders/68B58704AM686054X","rel":"up","method":"GET"}]},"links":[{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-8YL57784TG129115Y-2S628306W08429252","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-8YL57784TG129115Y-2S628306W08429252/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, 13 Aug 2026 09:53:19 GMT"
x-debug-token
"4156a3"

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
ADMIN_OPENSEARCH_URL
"http://localhost:9200"
APP_ENV
"dev"
APP_SECRET
"def00000afaec33b44b5e1c6b9f5bfa739be0f2c7c158118e46db8d156d0e0de0d49f7ab7e47c71110161edcafc8fc8fc01ad2db4b252440309cc917bf364428c90fea0c"
APP_URL
"https://www.simpleproducts.de"
APP_URL_CHECK_DISABLED
"1"
BLUE_GREEN_DEPLOYMENT
"1"
COMPOSER_HOME
"/home/simtejvt/wn/simpleproducts-sw6-preview/src/var/cache/composer"
DATABASE_URL
"mysql://simtejvt4:O_w_pWYk1Ds@localhost:3306/usrdb_simtejvt4"
INSTANCE_ID
"LBkvrLQCCT8ACiJ4izNtqGKwNDinwy72"
LOCK_DSN
"flock"
MAILER_URL
"null://null"
OPENSEARCH_URL
"http://localhost:9200"
REDIS_SESSION_HOST
"127.0.0.1"
REDIS_SESSION_PORT
"6379"
REDIS_SESSION_SOCK
"/home/tmp/redis.sock"
SERVICE_REGISTRY_URL
"http://localhost"
SHOPWARE_ES_ENABLED
"0"
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"
STOREFRONT_PROXY_URL
"http://localhost"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
APP_PROJECT_DIR
"/home/simtejvt/wn/simpleproducts-sw6-preview/src"
APP_RUNTIME
"Symfony\Component\Runtime\SymfonyRuntime"
APP_RUNTIME_OPTIONS
[
  "project_dir" => "/home/simtejvt/wn/simpleproducts-sw6-preview/src"
]
CONTENT_LENGTH
"1669"
CONTENT_TYPE
"application/json"
CONTEXT_DOCUMENT_ROOT
"/usr/local/fastcgi-starter/"
CONTEXT_PREFIX
"/fastcgist/"
DOCUMENT_ROOT
"/home/simtejvt/wn/simpleproducts-sw6-preview/src/public/"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
GROUP
"simtejvt"
HOME
"/home/simtejvt"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_CONNECTION
"close"
HTTP_CORRELATION_ID
"6ee122c3a6181"
HTTP_FORWARDED
"for="173.0.81.140";host="preview.simpleproducts.de";proto=https"
HTTP_HOST
"preview.simpleproducts.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
"3bb80e19-9664-11f1-9e1e-133c152e2f7b"
HTTP_PAYPAL_TRANSMISSION_SIG
"ECuggCx8ZLLgrvz7E75/MobQfiBh9MTU5RxTgxDZJaG5uoaO6Ynv/5JIoOGOfBFO7VixdNRh5oio/ifnXrrWv2k4ybJfxRL1YF598jU1wmOtPxzLpGy6dsgXYonKwlZ6DPNL3YjzFpZ0ym+iBuTtbmD2hrJqOR98cM4Jd6G77HfmMMAs35c3Pp2CitFg9rPjV+ImpU/NI3yX7YZdAOTFwvVV3wJ07pdW88HUCTNqc0bth8w4U9hf5Nij36c1BbmAM2AUYmuOYxRSdPB2e2jy5RkkBKXF6aMsCksfiGvJqXhbGu3LfovGVby3Ux9yWUdatEUzVfVBQ6hQ94mcSBNaxA=="
HTTP_PAYPAL_TRANSMISSION_TIME
"2026-08-12T15:41:06Z"
HTTP_USER_AGENT
"PayPal/AUHR-1.0-1"
HTTP_X_FORWARDED_FOR
"173.0.81.140"
ORIG_PATH_INFO
"/index.php"
ORIG_PATH_TRANSLATED
"/home/simtejvt/wn/simpleproducts-sw6-preview/src/public/index.php"
ORIG_SCRIPT_FILENAME
"/usr/local/fastcgi-starter/php8.4"
ORIG_SCRIPT_NAME
"/fastcgist/php8.4"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PHP_FCGI_MAX_REQUESTS
"0"
PHP_SELF
"/index.php"
QUERY_STRING
"sw-token=r7PJ7uFm5bcDht86a7pIfeEIc2sDhtLT"
REDIRECT_GEOIP_ADDR
"173.0.81.140"
REDIRECT_GEOIP_CONTINENT_CODE
"NA"
REDIRECT_GEOIP_COUNTRY_CODE
"US"
REDIRECT_GEOIP_COUNTRY_NAME
"United States"
REDIRECT_HANDLER
"php-fastcgi8.4"
REDIRECT_HTTPS
"on"
REDIRECT_QUERY_STRING
"sw-token=r7PJ7uFm5bcDht86a7pIfeEIc2sDhtLT"
REDIRECT_REDIRECT_GEOIP_ADDR
"173.0.81.140"
REDIRECT_REDIRECT_GEOIP_CONTINENT_CODE
"NA"
REDIRECT_REDIRECT_GEOIP_COUNTRY_CODE
"US"
REDIRECT_REDIRECT_GEOIP_COUNTRY_NAME
"United States"
REDIRECT_REDIRECT_HTTPS
"on"
REDIRECT_REDIRECT_SSL_TLS_SNI
"preview.simpleproducts.de"
REDIRECT_REDIRECT_STATUS
"200"
REDIRECT_SSL_TLS_SNI
"preview.simpleproducts.de"
REDIRECT_STATUS
"200"
REDIRECT_URL
"/index.php"
REMOTE_ADDR
"127.0.0.1"
REMOTE_PORT
"20509"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"https"
REQUEST_TIME
1786614799
REQUEST_TIME_FLOAT
1786614799.4053
REQUEST_URI
"/api/_action/paypal/webhook/execute?sw-token=r7PJ7uFm5bcDht86a7pIfeEIc2sDhtLT"
SCRIPT_FILENAME
"/home/simtejvt/wn/simpleproducts-sw6-preview/src/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"178.250.9.26"
SERVER_ADMIN
"[no address given]"
SERVER_NAME
"preview.simpleproducts.de"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache"
SSL_TLS_SNI
"preview.simpleproducts.de"
SYMFONY_DOTENV_PATH
"/home/simtejvt/wn/simpleproducts-sw6-preview/src/.env"
SYMFONY_DOTENV_VARS
"LOCK_DSN,APP_ENV,APP_URL,APP_SECRET,INSTANCE_ID,BLUE_GREEN_DEPLOYMENT,DATABASE_URL,MAILER_URL,SERVICE_REGISTRY_URL,APP_URL_CHECK_DISABLED,OPENSEARCH_URL,SHOPWARE_ES_ENABLED,SHOPWARE_ES_INDEXING_ENABLED,SHOPWARE_ES_INDEX_PREFIX,SHOPWARE_ES_THROW_EXCEPTION,STOREFRONT_PROXY_URL,SHOPWARE_HTTP_CACHE_ENABLED,SHOPWARE_HTTP_DEFAULT_TTL,COMPOSER_HOME,ADMIN_OPENSEARCH_URL,REDIS_SESSION_HOST,REDIS_SESSION_PORT,REDIS_SESSION_SOCK"
USER
"simtejvt"