Error 400 Bad Request

POST https://tcgshop-moers.com/api/_action/paypal/webhook/execute?sw-token=vjqXEU2bdPMm3nAN4inDMBwtoPyE6nKd

WebhookController :: executeWebhook

Request

GET Parameters

Key Value
sw-token
"vjqXEU2bdPMm3nAN4inDMBwtoPyE6nKd"

POST Parameters

Key Value
create_time
"2025-07-13T16:05:02.133Z"
event_type
"CHECKOUT.ORDER.APPROVED"
event_version
"1.0"
id
"WH-45U85479V93630404-26B90646HB323204C"
links
[
  [
    "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-45U85479V93630404-26B90646HB323204C"
    "rel" => "self"
    "method" => "GET"
  ]
  [
    "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-45U85479V93630404-26B90646HB323204C/resend"
    "rel" => "resend"
    "method" => "POST"
  ]
]
resource
[
  "create_time" => "2025-07-13T15:49:20Z"
  "purchase_units" => [
    [
      "reference_id" => "default"
      "amount" => [
        "currency_code" => "EUR"
        "value" => "162.98"
        "breakdown" => [
          "item_total" => [
            "currency_code" => "EUR"
            "value" => "155.99"
          ]
          "shipping" => [
            "currency_code" => "EUR"
            "value" => "6.99"
          ]
          "handling" => [
            "currency_code" => "EUR"
            "value" => "0.00"
          ]
          "tax_total" => [
            "currency_code" => "EUR"
            "value" => "0.00"
          ]
        ]
      ]
      "payee" => [
        "email_address" => "info@multi-music-corner.de"
        "merchant_id" => "48RUWAAU5S8AU"
        "display_data" => [
          "brand_name" => "TCG Shop Moers"
        ]
      ]
      "custom_id" => "{"orderTransactionId":"019803a6299771f587487a4600683ec8","pluginVersion":"9.7.7","shopwareVersion":"6.6.10.2"}"
      "invoice_id" => "WS1-WS1-10041"
      "items" => [
        [
          "name" => "Dragon Ball Super Fusion World Rivals Clash FB06 - Booster (englisch)"
          "unit_amount" => [
            "currency_code" => "EUR"
            "value" => "4.50"
          ]
          "tax" => [
            "currency_code" => "EUR"
            "value" => "0.00"
          ]
          "quantity" => "18"
          "sku" => "810158831612"
          "tax_rate" => "0"
          "category" => "PHYSICAL_GOODS"
        ]
        [
          "name" => "Umschalten auf Lichtgeschwindigkeit (Booster-Display) Englisch"
          "unit_amount" => [
            "currency_code" => "EUR"
            "value" => "74.99"
          ]
          "tax" => [
            "currency_code" => "EUR"
            "value" => "0.00"
          ]
          "quantity" => "1"
          "sku" => "841333128012"
          "tax_rate" => "0"
          "category" => "PHYSICAL_GOODS"
        ]
      ]
      "shipping" => [
        "name" => [
          "full_name" => "Björn Moritz"
        ]
        "address" => [
          "address_line_1" => "Köllerweg 6"
          "admin_area_2" => "Horn-Bad Meinberg"
          "postal_code" => "32805"
          "country_code" => "DE"
        ]
      ]
    ]
  ]
  "links" => [
    [
      "href" => "https://api.paypal.com/v2/checkout/orders/1HY72598UP768780H"
      "rel" => "self"
      "method" => "GET"
    ]
    [
      "href" => "https://api.paypal.com/v2/checkout/orders/1HY72598UP768780H"
      "rel" => "update"
      "method" => "PATCH"
    ]
    [
      "href" => "https://api.paypal.com/v2/checkout/orders/1HY72598UP768780H/capture"
      "rel" => "capture"
      "method" => "POST"
    ]
  ]
  "id" => "1HY72598UP768780H"
  "payment_source" => [
    "paypal" => [
      "email_address" => "usty@gmx.net"
      "account_id" => "LNZ2FV8KW9XF6"
      "account_status" => "VERIFIED"
      "name" => [
        "given_name" => "Uwe"
        "surname" => "Stinsky"
      ]
      "address" => [
        "address_line_1" => "Köllerweg 6"
        "admin_area_2" => "Horn-Bad Meinberg"
        "postal_code" => "32805"
        "country_code" => "DE"
      ]
    ]
  ]
  "intent" => "CAPTURE"
  "payer" => [
    "name" => [
      "given_name" => "Uwe"
      "surname" => "Stinsky"
    ]
    "email_address" => "usty@gmx.net"
    "payer_id" => "LNZ2FV8KW9XF6"
    "address" => [
      "address_line_1" => "Köllerweg 6"
      "admin_area_2" => "Horn-Bad Meinberg"
      "postal_code" => "32805"
      "country_code" => "DE"
    ]
  ]
  "status" => "APPROVED"
]
resource_type
"checkout-order"
resource_version
"2.0"
summary
"An order has been approved by buyer"

Uploaded Files

No files were uploaded

Request Attributes

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

Request Headers

Header Value
accept
"*/*"
content-length
"2809"
content-type
"application/json"
correlation-id
"f3253263e66da"
forwarded
"for="173.0.81.65";host="tcgshop-moers.com";proto=https"
host
"tcgshop-moers.com"
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
"242c80c0-6003-11f0-98f0-abf32c8c61b1"
paypal-transmission-sig
"PG1JnJG7vsruxFGPw012NXZaR5mSTmseF/6MWvUlCA7na6ediByM8RL+/sex7d6Va6mqnUwltMvOuR4h4Sc8tzOVaBFJmeMxSZzbyKP2w4CsicrygEB+xyMRT/dC+unsn4xMj243Lk6zyg+dQhPLBhmCj6fiTTO3RNQug8/gvkYqpl6t2xD7WhT2vv9cAzpOprQn+VWU4YCDlUAjLEQ68eC3ztpkr8PbAuJRJfePa4+CJM+yUq9TmMdNRqhsdyM7VxFP5YwSRTdmyxjPOLHT7tFvxUJZWkqIe452k99Q/NnSJG8klSPppnF6Gt2X2FIDjHqB3jKGzTaSWaqhtBojHQ=="
paypal-transmission-time
"2025-07-13T16:05:05Z"
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-45U85479V93630404-26B90646HB323204C",
    "event_version": "1.0",
    "create_time": "2025-07-13T16:05:02.133Z",
    "resource_type": "checkout-order",
    "resource_version": "2.0",
    "event_type": "CHECKOUT.ORDER.APPROVED",
    "summary": "An order has been approved by buyer",
    "resource": {
        "create_time": "2025-07-13T15:49:20Z",
        "purchase_units": [
            {
                "reference_id": "default",
                "amount": {
                    "currency_code": "EUR",
                    "value": "162.98",
                    "breakdown": {
                        "item_total": {
                            "currency_code": "EUR",
                            "value": "155.99"
                        },
                        "shipping": {
                            "currency_code": "EUR",
                            "value": "6.99"
                        },
                        "handling": {
                            "currency_code": "EUR",
                            "value": "0.00"
                        },
                        "tax_total": {
                            "currency_code": "EUR",
                            "value": "0.00"
                        }
                    }
                },
                "payee": {
                    "email_address": "info@multi-music-corner.de",
                    "merchant_id": "48RUWAAU5S8AU",
                    "display_data": {
                        "brand_name": "TCG Shop Moers"
                    }
                },
                "custom_id": "{\"orderTransactionId\":\"019803a6299771f587487a4600683ec8\",\"pluginVersion\":\"9.7.7\",\"shopwareVersion\":\"6.6.10.2\"}",
                "invoice_id": "WS1-WS1-10041",
                "items": [
                    {
                        "name": "Dragon Ball Super Fusion World Rivals Clash FB06 - Booster (englisch)",
                        "unit_amount": {
                            "currency_code": "EUR",
                            "value": "4.50"
                        },
                        "tax": {
                            "currency_code": "EUR",
                            "value": "0.00"
                        },
                        "quantity": "18",
                        "sku": "810158831612",
                        "tax_rate": "0",
                        "category": "PHYSICAL_GOODS"
                    },
                    {
                        "name": "Umschalten auf Lichtgeschwindigkeit (Booster-Display) Englisch",
                        "unit_amount": {
                            "currency_code": "EUR",
                            "value": "74.99"
                        },
                        "tax": {
                            "currency_code": "EUR",
                            "value": "0.00"
                        },
                        "quantity": "1",
                        "sku": "841333128012",
                        "tax_rate": "0",
                        "category": "PHYSICAL_GOODS"
                    }
                ],
                "shipping": {
                    "name": {
                        "full_name": "Bj\u00f6rn Moritz"
                    },
                    "address": {
                        "address_line_1": "K\u00f6llerweg 6",
                        "admin_area_2": "Horn-Bad Meinberg",
                        "postal_code": "32805",
                        "country_code": "DE"
                    }
                }
            }
        ],
        "links": [
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/1HY72598UP768780H",
                "rel": "self",
                "method": "GET"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/1HY72598UP768780H",
                "rel": "update",
                "method": "PATCH"
            },
            {
                "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/1HY72598UP768780H\/capture",
                "rel": "capture",
                "method": "POST"
            }
        ],
        "id": "1HY72598UP768780H",
        "payment_source": {
            "paypal": {
                "email_address": "usty@gmx.net",
                "account_id": "LNZ2FV8KW9XF6",
                "account_status": "VERIFIED",
                "name": {
                    "given_name": "Uwe",
                    "surname": "Stinsky"
                },
                "address": {
                    "address_line_1": "K\u00f6llerweg 6",
                    "admin_area_2": "Horn-Bad Meinberg",
                    "postal_code": "32805",
                    "country_code": "DE"
                }
            }
        },
        "intent": "CAPTURE",
        "payer": {
            "name": {
                "given_name": "Uwe",
                "surname": "Stinsky"
            },
            "email_address": "usty@gmx.net",
            "payer_id": "LNZ2FV8KW9XF6",
            "address": {
                "address_line_1": "K\u00f6llerweg 6",
                "admin_area_2": "Horn-Bad Meinberg",
                "postal_code": "32805",
                "country_code": "DE"
            }
        },
        "status": "APPROVED"
    },
    "links": [
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-45U85479V93630404-26B90646HB323204C",
            "rel": "self",
            "method": "GET"
        },
        {
            "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-45U85479V93630404-26B90646HB323204C\/resend",
            "rel": "resend",
            "method": "POST"
        }
    ]
}

Raw

{"id":"WH-45U85479V93630404-26B90646HB323204C","event_version":"1.0","create_time":"2025-07-13T16:05:02.133Z","resource_type":"checkout-order","resource_version":"2.0","event_type":"CHECKOUT.ORDER.APPROVED","summary":"An order has been approved by buyer","resource":{"create_time":"2025-07-13T15:49:20Z","purchase_units":[{"reference_id":"default","amount":{"currency_code":"EUR","value":"162.98","breakdown":{"item_total":{"currency_code":"EUR","value":"155.99"},"shipping":{"currency_code":"EUR","value":"6.99"},"handling":{"currency_code":"EUR","value":"0.00"},"tax_total":{"currency_code":"EUR","value":"0.00"}}},"payee":{"email_address":"info@multi-music-corner.de","merchant_id":"48RUWAAU5S8AU","display_data":{"brand_name":"TCG Shop Moers"}},"custom_id":"{\"orderTransactionId\":\"019803a6299771f587487a4600683ec8\",\"pluginVersion\":\"9.7.7\",\"shopwareVersion\":\"6.6.10.2\"}","invoice_id":"WS1-WS1-10041","items":[{"name":"Dragon Ball Super Fusion World Rivals Clash FB06 - Booster (englisch)","unit_amount":{"currency_code":"EUR","value":"4.50"},"tax":{"currency_code":"EUR","value":"0.00"},"quantity":"18","sku":"810158831612","tax_rate":"0","category":"PHYSICAL_GOODS"},{"name":"Umschalten auf Lichtgeschwindigkeit (Booster-Display) Englisch","unit_amount":{"currency_code":"EUR","value":"74.99"},"tax":{"currency_code":"EUR","value":"0.00"},"quantity":"1","sku":"841333128012","tax_rate":"0","category":"PHYSICAL_GOODS"}],"shipping":{"name":{"full_name":"Björn Moritz"},"address":{"address_line_1":"Köllerweg 6","admin_area_2":"Horn-Bad Meinberg","postal_code":"32805","country_code":"DE"}}}],"links":[{"href":"https://api.paypal.com/v2/checkout/orders/1HY72598UP768780H","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v2/checkout/orders/1HY72598UP768780H","rel":"update","method":"PATCH"},{"href":"https://api.paypal.com/v2/checkout/orders/1HY72598UP768780H/capture","rel":"capture","method":"POST"}],"id":"1HY72598UP768780H","payment_source":{"paypal":{"email_address":"usty@gmx.net","account_id":"LNZ2FV8KW9XF6","account_status":"VERIFIED","name":{"given_name":"Uwe","surname":"Stinsky"},"address":{"address_line_1":"Köllerweg 6","admin_area_2":"Horn-Bad Meinberg","postal_code":"32805","country_code":"DE"}}},"intent":"CAPTURE","payer":{"name":{"given_name":"Uwe","surname":"Stinsky"},"email_address":"usty@gmx.net","payer_id":"LNZ2FV8KW9XF6","address":{"address_line_1":"Köllerweg 6","admin_area_2":"Horn-Bad Meinberg","postal_code":"32805","country_code":"DE"}},"status":"APPROVED"},"links":[{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-45U85479V93630404-26B90646HB323204C","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-45U85479V93630404-26B90646HB323204C/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
"Sun, 13 Jul 2025 20:12:11 GMT"
server-timing
""
x-debug-token
"f3af07"

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
"def00000e491505cfaaf87be212b6c14ca871811e507d4fe57229bb77185ed77ec21784afd761fa7dc8f901ac9f0d7d9b00d6481568008595e7ce153ee9345838da339a5"
APP_URL
"https://tcgshop-moers.com"
BLUE_GREEN_DEPLOYMENT
"1"
COMPOSER_HOME
"/var/www/html/var/cache/composer"
DATABASE_URL
"mysql://jdtec:nnNSzG.b~2%26VAC%298t%7C4h%25%5E@localhost:3306/Shopware"
INSTANCE_ID
"lSshoBmCn9epjxu4FntrNeMyrup2P7u8"
LOCK_DSN
"flock"
MAILER_URL
"null://null"
OPENSEARCH_URL
"http://localhost:9200"
PROXY_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"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTENT_LENGTH
"2809"
CONTENT_TYPE
"application/json"
CONTEXT_DOCUMENT_ROOT
"/var/www/html/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/html/public"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_CORRELATION_ID
"f3253263e66da"
HTTP_FORWARDED
"for="173.0.81.65";host="tcgshop-moers.com";proto=https"
HTTP_HOST
"tcgshop-moers.com"
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
"242c80c0-6003-11f0-98f0-abf32c8c61b1"
HTTP_PAYPAL_TRANSMISSION_SIG
"PG1JnJG7vsruxFGPw012NXZaR5mSTmseF/6MWvUlCA7na6ediByM8RL+/sex7d6Va6mqnUwltMvOuR4h4Sc8tzOVaBFJmeMxSZzbyKP2w4CsicrygEB+xyMRT/dC+unsn4xMj243Lk6zyg+dQhPLBhmCj6fiTTO3RNQug8/gvkYqpl6t2xD7WhT2vv9cAzpOprQn+VWU4YCDlUAjLEQ68eC3ztpkr8PbAuJRJfePa4+CJM+yUq9TmMdNRqhsdyM7VxFP5YwSRTdmyxjPOLHT7tFvxUJZWkqIe452k99Q/NnSJG8klSPppnF6Gt2X2FIDjHqB3jKGzTaSWaqhtBojHQ=="
HTTP_PAYPAL_TRANSMISSION_TIME
"2025-07-13T16:05:05Z"
HTTP_USER_AGENT
"PayPal/AUHR-1.0-1"
HTTP_X_FORWARDED_FOR
"173.0.81.65"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/snap/bin"
PHP_SELF
"/index.php"
QUERY_STRING
"sw-token=vjqXEU2bdPMm3nAN4inDMBwtoPyE6nKd"
REDIRECT_HTTPS
"on"
REDIRECT_QUERY_STRING
"sw-token=vjqXEU2bdPMm3nAN4inDMBwtoPyE6nKd"
REDIRECT_SSL_TLS_SNI
"tcgshop-moers.com"
REDIRECT_STATUS
"200"
REDIRECT_URL
"/api/_action/paypal/webhook/execute"
REMOTE_ADDR
"127.0.0.1"
REMOTE_PORT
"29155"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"https"
REQUEST_TIME
1752437531
REQUEST_TIME_FLOAT
1752437531.1875
REQUEST_URI
"/api/_action/paypal/webhook/execute?sw-token=vjqXEU2bdPMm3nAN4inDMBwtoPyE6nKd"
SCRIPT_FILENAME
"/var/www/html/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"51.38.95.150"
SERVER_ADMIN
"webmaster@localhost"
SERVER_NAME
"tcgshop-moers.com"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
"<address>Apache/2.4.58 (Ubuntu) Server at tcgshop-moers.com Port 443</address>\n"
SERVER_SOFTWARE
"Apache/2.4.58 (Ubuntu)"
SSL_TLS_SNI
"tcgshop-moers.com"
SYMFONY_DOTENV_PATH
"/var/www/html/.env"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_URL,APP_SECRET,INSTANCE_ID,BLUE_GREEN_DEPLOYMENT,DATABASE_URL,MAILER_URL,LOCK_DSN,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,COMPOSER_HOME,ADMIN_OPENSEARCH_URL"