WebhookController :: executeWebhook
Request
GET Parameters
| Key | Value |
|---|---|
| sw-token | "pDqT2EdlOUxa7W4Wpnqoo5Lc9Tdl5JCm" |
POST Parameters
| Key | Value |
|---|---|
| create_time | "2026-03-13T16:51:15.746Z" |
| event_type | "CHECKOUT.ORDER.APPROVED" |
| event_version | "1.0" |
| id | "WH-8A955429PL485393F-7P539386LJ055230C" |
| links | [
[
"href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-8A955429PL485393F-7P539386LJ055230C"
"rel" => "self"
"method" => "GET"
]
[
"href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-8A955429PL485393F-7P539386LJ055230C/resend"
"rel" => "resend"
"method" => "POST"
]
] |
| resource | [ "create_time" => "2026-03-13T16:49:08Z" "purchase_units" => [ [ "reference_id" => "default" "amount" => [ "currency_code" => "EUR" "value" => "117.63" "breakdown" => [ "item_total" => [ "currency_code" => "EUR" "value" => "82.95" ] "shipping" => [ "currency_code" => "EUR" "value" => "18.92" ] "handling" => [ "currency_code" => "EUR" "value" => "0.00" ] "tax_total" => [ "currency_code" => "EUR" "value" => "22.47" ] "discount" => [ "currency_code" => "EUR" "value" => "6.71" ] ] ] "payee" => [ "email_address" => "schnitzmeier@metallit.de" "merchant_id" => "TPFJP6PZWJLQA" "display_data" => [ "brand_name" => "Metallit GmbH" ] ] "items" => [ [ "name" => "Safe & Clean" "unit_amount" => [ "currency_code" => "EUR" "value" => "17.65" ] "tax" => [ "currency_code" => "EUR" "value" => "6.71" ] "quantity" => "2" "sku" => "383260" ] [ "name" => "Top Clean eXtrem" "unit_amount" => [ "currency_code" => "EUR" "value" => "47.65" ] "tax" => [ "currency_code" => "EUR" "value" => "9.05" ] "quantity" => "1" "sku" => "399885" ] ] "shipping" => [ "name" => [ "full_name" => "Marcus Küpper" ] "address" => [ "address_line_1" => "Ginsterberg, 10" "admin_area_2" => "Mechernich" "postal_code" => "53894" "country_code" => "DE" ] ] ] ] "links" => [ [ "href" => "https://api.paypal.com/v2/checkout/orders/509174560W5937935" "rel" => "self" "method" => "GET" ] [ "href" => "https://api.paypal.com/v2/checkout/orders/509174560W5937935" "rel" => "update" "method" => "PATCH" ] [ "href" => "https://api.paypal.com/v2/checkout/orders/509174560W5937935/capture" "rel" => "capture" "method" => "POST" ] ] "id" => "509174560W5937935" "payment_source" => [ "paypal" => [ "email_address" => "kuepper-transporte@t-online.de" "account_id" => "E9HEVCYW4GNBQ" "account_status" => "VERIFIED" "name" => [ "given_name" => "Marcus" "surname" => "Küpper" ] "address" => [ "country_code" => "DE" ] ] ] "intent" => "CAPTURE" "payer" => [ "name" => [ "given_name" => "Marcus" "surname" => "Küpper" ] "email_address" => "kuepper-transporte@t-online.de" "payer_id" => "E9HEVCYW4GNBQ" "address" => [ "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 | "mHui84HJ+Jc=" |
| _route | "api.action.paypal.webhook.execute" |
| _routeScope | [
"api"
] |
| _route_params | [ "auth_required" => false ] |
| _since | Shopware\Core\Framework\Routing\Annotation\Since {#2032 -value: "0.9.0" } |
| _stopwatch_token | "1843f3" |
| auth_required | false |
| sw-context | Shopware\Core\Framework\Context {#2046 #extensions: [] #languageIdChain: [ "2fbb5fe2e29a4d70aa5854ce7ce3e20b" ] #versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425" #currencyId: "b7d2554b0ce847cd82f3ac9bd1c0dfca" #currencyFactor: 1.0 #scope: "system" #ruleIds: [] #source: Shopware\Core\Framework\Api\Context\SystemSource {#2049 …} #considerInheritance: false #taxState: "gross" #rounding: Shopware\Core\Framework\DataAbstractionLayer\Pricing\CashRoundingConfig {#2045 …} -states: [] } |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| content-length | "2351" |
| content-type | "application/json" |
| correlation-id | "0000000000000000f166b0b87be7a6c1" |
| forwarded | "for="173.0.81.140";host="testshop.metallit.de";proto=https" |
| host | "testshop.metallit.de" |
| paypal-auth-algo | "SHA256withRSA" |
| paypal-auth-version | "v2" |
| paypal-cert-url | "https://api.paypal.com/v1/notifications/certs/CERT-360caa42-fca2a594-5b82a069" |
| paypal-transmission-id | "d9d6c9ea-1efc-11f1-a766-f3f0d99b692a" |
| paypal-transmission-sig | "hCpO5cPLymBM6k45NWqVo2K31SAEjZnT4fEKlcdqczNftZrECfh/YsNdbhG1Xpf0FNE4G1rD7yTTZU/a500e/pVujDcMXgusC5yKQAoeAQk8afBpqP8hj4qP5slsBBJrP9VG4dvexWjSvh2Texcwn5F1ag56liRsnLV/TIiHf3CHw7bUovLizoyS5EypH3eRpzJWoK5oDBWPIOukKCpECMFkZZXa8IPyMQrJ9fNO2VIkylPErMwKK4eoujKbv+9cbHJnZygu7rlTn+zDSV4obdvlZ+qRjQFSL2s9rQ5Cq76S0c5Xeuv9DWWvTtWYmZSbD2/t6uRJjflWhZia5X5Egw==" |
| paypal-transmission-time | "2026-03-13T16:51:16Z" |
| user-agent | "PayPal/AUHR-1.0-1" |
| x-forwarded-for | "173.0.81.140" |
| x-php-ob-level | "1" |
Request Content
Pretty
{
"id": "WH-8A955429PL485393F-7P539386LJ055230C",
"event_version": "1.0",
"create_time": "2026-03-13T16:51:15.746Z",
"resource_type": "checkout-order",
"resource_version": "2.0",
"event_type": "CHECKOUT.ORDER.APPROVED",
"summary": "An order has been approved by buyer",
"resource": {
"create_time": "2026-03-13T16:49:08Z",
"purchase_units": [
{
"reference_id": "default",
"amount": {
"currency_code": "EUR",
"value": "117.63",
"breakdown": {
"item_total": {
"currency_code": "EUR",
"value": "82.95"
},
"shipping": {
"currency_code": "EUR",
"value": "18.92"
},
"handling": {
"currency_code": "EUR",
"value": "0.00"
},
"tax_total": {
"currency_code": "EUR",
"value": "22.47"
},
"discount": {
"currency_code": "EUR",
"value": "6.71"
}
}
},
"payee": {
"email_address": "schnitzmeier@metallit.de",
"merchant_id": "TPFJP6PZWJLQA",
"display_data": {
"brand_name": "Metallit GmbH"
}
},
"items": [
{
"name": "Safe & Clean",
"unit_amount": {
"currency_code": "EUR",
"value": "17.65"
},
"tax": {
"currency_code": "EUR",
"value": "6.71"
},
"quantity": "2",
"sku": "383260"
},
{
"name": "Top Clean eXtrem",
"unit_amount": {
"currency_code": "EUR",
"value": "47.65"
},
"tax": {
"currency_code": "EUR",
"value": "9.05"
},
"quantity": "1",
"sku": "399885"
}
],
"shipping": {
"name": {
"full_name": "Marcus K\u00fcpper"
},
"address": {
"address_line_1": "Ginsterberg, 10",
"admin_area_2": "Mechernich",
"postal_code": "53894",
"country_code": "DE"
}
}
}
],
"links": [
{
"href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/509174560W5937935",
"rel": "self",
"method": "GET"
},
{
"href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/509174560W5937935",
"rel": "update",
"method": "PATCH"
},
{
"href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/509174560W5937935\/capture",
"rel": "capture",
"method": "POST"
}
],
"id": "509174560W5937935",
"payment_source": {
"paypal": {
"email_address": "kuepper-transporte@t-online.de",
"account_id": "E9HEVCYW4GNBQ",
"account_status": "VERIFIED",
"name": {
"given_name": "Marcus",
"surname": "K\u00fcpper"
},
"address": {
"country_code": "DE"
}
}
},
"intent": "CAPTURE",
"payer": {
"name": {
"given_name": "Marcus",
"surname": "K\u00fcpper"
},
"email_address": "kuepper-transporte@t-online.de",
"payer_id": "E9HEVCYW4GNBQ",
"address": {
"country_code": "DE"
}
},
"status": "APPROVED"
},
"links": [
{
"href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-8A955429PL485393F-7P539386LJ055230C",
"rel": "self",
"method": "GET"
},
{
"href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-8A955429PL485393F-7P539386LJ055230C\/resend",
"rel": "resend",
"method": "POST"
}
]
}
Raw
{"id":"WH-8A955429PL485393F-7P539386LJ055230C","event_version":"1.0","create_time":"2026-03-13T16:51:15.746Z","resource_type":"checkout-order","resource_version":"2.0","event_type":"CHECKOUT.ORDER.APPROVED","summary":"An order has been approved by buyer","resource":{"create_time":"2026-03-13T16:49:08Z","purchase_units":[{"reference_id":"default","amount":{"currency_code":"EUR","value":"117.63","breakdown":{"item_total":{"currency_code":"EUR","value":"82.95"},"shipping":{"currency_code":"EUR","value":"18.92"},"handling":{"currency_code":"EUR","value":"0.00"},"tax_total":{"currency_code":"EUR","value":"22.47"},"discount":{"currency_code":"EUR","value":"6.71"}}},"payee":{"email_address":"schnitzmeier@metallit.de","merchant_id":"TPFJP6PZWJLQA","display_data":{"brand_name":"Metallit GmbH"}},"items":[{"name":"Safe & Clean","unit_amount":{"currency_code":"EUR","value":"17.65"},"tax":{"currency_code":"EUR","value":"6.71"},"quantity":"2","sku":"383260"},{"name":"Top Clean eXtrem","unit_amount":{"currency_code":"EUR","value":"47.65"},"tax":{"currency_code":"EUR","value":"9.05"},"quantity":"1","sku":"399885"}],"shipping":{"name":{"full_name":"Marcus Küpper"},"address":{"address_line_1":"Ginsterberg, 10","admin_area_2":"Mechernich","postal_code":"53894","country_code":"DE"}}}],"links":[{"href":"https://api.paypal.com/v2/checkout/orders/509174560W5937935","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v2/checkout/orders/509174560W5937935","rel":"update","method":"PATCH"},{"href":"https://api.paypal.com/v2/checkout/orders/509174560W5937935/capture","rel":"capture","method":"POST"}],"id":"509174560W5937935","payment_source":{"paypal":{"email_address":"kuepper-transporte@t-online.de","account_id":"E9HEVCYW4GNBQ","account_status":"VERIFIED","name":{"given_name":"Marcus","surname":"Küpper"},"address":{"country_code":"DE"}}},"intent":"CAPTURE","payer":{"name":{"given_name":"Marcus","surname":"Küpper"},"email_address":"kuepper-transporte@t-online.de","payer_id":"E9HEVCYW4GNBQ","address":{"country_code":"DE"}},"status":"APPROVED"},"links":[{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-8A955429PL485393F-7P539386LJ055230C","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-8A955429PL485393F-7P539386LJ055230C/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,fail-on-error,indexing-behavior,single-operation,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,fail-on-error,indexing-behavior,single-operation,sw-include-seo-urls" |
| cache-control | "no-cache, private" |
| content-type | "application/json" |
| date | "Sat, 14 Mar 2026 15:01:07 GMT" |
| x-debug-token | "f7f90d" |
| x-frame-options | "deny" |
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 | "def00000c722608115ab6bb86de6b8493e4a00a08c8c9964a477864995efdf5707cd71f52790df99f0ba5285f0705f013b8572b8968a3abc28914fcd649788c74fcb1b23" |
| APP_URL | "https://testshop.metallit.de" |
| BLUE_GREEN_DEPLOYMENT | "1" |
| COMPOSER_HOME | "/var/www/shop/test/var/cache/composer" |
| DATABASE_URL | "mysql://db_aistest:M3tAll%21T@localhost:3306/db_testshop" |
| INSTANCE_ID | "tdTnDIhLDnieCNeZ9lNmNWdomBJWApkU" |
| MAILER_URL | "null://localhost" |
| SHOPWARE_CDN_STRATEGY_DEFAULT | "id" |
| SHOPWARE_ES_ENABLED | "0" |
| SHOPWARE_ES_HOSTS | "" |
| SHOPWARE_ES_INDEXING_ENABLED | "0" |
| SHOPWARE_ES_INDEX_PREFIX | "sw" |
| SHOPWARE_HTTP_CACHE_ENABLED | "1" |
| SHOPWARE_HTTP_DEFAULT_TTL | "7200" |
Defined as regular env variables
| Key | Value |
|---|---|
| APP_DEBUG | "1" |
| CONTENT_LENGTH | "2351" |
| CONTENT_TYPE | "application/json" |
| CONTEXT_DOCUMENT_ROOT | "/var/www/shop/test/public" |
| CONTEXT_PREFIX | "" |
| DOCUMENT_ROOT | "/var/www/shop/test/public" |
| GATEWAY_INTERFACE | "CGI/1.1" |
| HTTPS | "on" |
| HTTP_ACCEPT | "*/*" |
| HTTP_CORRELATION_ID | "0000000000000000f166b0b87be7a6c1" |
| HTTP_FORWARDED | "for="173.0.81.140";host="testshop.metallit.de";proto=https" |
| HTTP_HOST | "testshop.metallit.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-5b82a069" |
| HTTP_PAYPAL_TRANSMISSION_ID | "d9d6c9ea-1efc-11f1-a766-f3f0d99b692a" |
| HTTP_PAYPAL_TRANSMISSION_SIG | "hCpO5cPLymBM6k45NWqVo2K31SAEjZnT4fEKlcdqczNftZrECfh/YsNdbhG1Xpf0FNE4G1rD7yTTZU/a500e/pVujDcMXgusC5yKQAoeAQk8afBpqP8hj4qP5slsBBJrP9VG4dvexWjSvh2Texcwn5F1ag56liRsnLV/TIiHf3CHw7bUovLizoyS5EypH3eRpzJWoK5oDBWPIOukKCpECMFkZZXa8IPyMQrJ9fNO2VIkylPErMwKK4eoujKbv+9cbHJnZygu7rlTn+zDSV4obdvlZ+qRjQFSL2s9rQ5Cq76S0c5Xeuv9DWWvTtWYmZSbD2/t6uRJjflWhZia5X5Egw==" |
| HTTP_PAYPAL_TRANSMISSION_TIME | "2026-03-13T16:51:16Z" |
| HTTP_USER_AGENT | "PayPal/AUHR-1.0-1" |
| HTTP_X_FORWARDED_FOR | "173.0.81.140" |
| PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" |
| PHP_SELF | "/index.php" |
| QUERY_STRING | "sw-token=pDqT2EdlOUxa7W4Wpnqoo5Lc9Tdl5JCm" |
| REDIRECT_HTTPS | "on" |
| REDIRECT_QUERY_STRING | "sw-token=pDqT2EdlOUxa7W4Wpnqoo5Lc9Tdl5JCm" |
| REDIRECT_SSL_TLS_SNI | "testshop.metallit.de" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/api/_action/paypal/webhook/execute" |
| REMOTE_ADDR | "127.0.0.1" |
| REMOTE_PORT | "40303" |
| REQUEST_METHOD | "POST" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1773500467 |
| REQUEST_TIME_FLOAT | 1773500467.3161 |
| REQUEST_URI | "/api/_action/paypal/webhook/execute?sw-token=pDqT2EdlOUxa7W4Wpnqoo5Lc9Tdl5JCm" |
| SCRIPT_FILENAME | "/var/www/shop/test/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SERVER_ADDR | "49.12.87.156" |
| SERVER_ADMIN | "[no address given]" |
| SERVER_NAME | "testshop.metallit.de" |
| SERVER_PORT | "443" |
| SERVER_PROTOCOL | "HTTP/1.1" |
| SERVER_SIGNATURE | "<address>Apache/2.4.52 (Ubuntu) Server at testshop.metallit.de Port 443</address>\n" |
| SERVER_SOFTWARE | "Apache/2.4.52 (Ubuntu)" |
| SSL_TLS_SNI | "testshop.metallit.de" |
| SYMFONY_DOTENV_VARS | "APP_ENV,APP_SECRET,APP_URL,MAILER_URL,DATABASE_URL,COMPOSER_HOME,INSTANCE_ID,BLUE_GREEN_DEPLOYMENT,SHOPWARE_HTTP_CACHE_ENABLED,SHOPWARE_HTTP_DEFAULT_TTL,SHOPWARE_ES_HOSTS,SHOPWARE_ES_ENABLED,SHOPWARE_ES_INDEXING_ENABLED,SHOPWARE_ES_INDEX_PREFIX,SHOPWARE_CDN_STRATEGY_DEFAULT" |