WebhookController :: executeWebhook
Request
GET Parameters
Key | Value |
---|---|
sw-token | "UPcpgdhZkEyS40ylgzLPrZkMP7kefCVC" |
POST Parameters
Key | Value |
---|---|
create_time | "2025-08-01T06:38:41.127Z" |
event_type | "PAYMENT.CAPTURE.COMPLETED" |
event_version | "1.0" |
id | "WH-39L09892007243809-9NX60828VS739020L" |
links | [ [ "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-39L09892007243809-9NX60828VS739020L" "rel" => "self" "method" => "GET" ] [ "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-39L09892007243809-9NX60828VS739020L/resend" "rel" => "resend" "method" => "POST" ] ] |
resource | [ "id" => "9AH37479SN5130541" "amount" => [ "currency_code" => "EUR" "value" => "32.90" ] "final_capture" => true "seller_protection" => [ "status" => "NOT_ELIGIBLE" ] "seller_receivable_breakdown" => [ "gross_amount" => [ "currency_code" => "EUR" "value" => "32.90" ] "paypal_fee" => [ "currency_code" => "EUR" "value" => "1.37" ] "net_amount" => [ "currency_code" => "EUR" "value" => "31.53" ] ] "invoice_id" => "BOS-393241" "custom_id" => "{"orderTransactionId":"0198645a91ae707fb3b1f71fb802e088","pluginVersion":"8.0.0","shopwareVersion":"6.5.7.3"}" "status" => "COMPLETED" "processor_response" => [ "avs_code" => "S" "cvv_code" => "M" "response_code" => "0000" ] "supplementary_data" => [ "related_ids" => [ "order_id" => "4R0591569M933742V" ] ] "payee" => [ "email_address" => "accounting@oneco.online" "merchant_id" => "ETHWPF89B97D4" ] "create_time" => "2025-08-01T06:38:37Z" "update_time" => "2025-08-01T06:38:37Z" "links" => [ [ "href" => "https://api.paypal.com/v2/payments/captures/9AH37479SN5130541" "rel" => "self" "method" => "GET" ] [ "href" => "https://api.paypal.com/v2/payments/captures/9AH37479SN5130541/refund" "rel" => "refund" "method" => "POST" ] [ "href" => "https://api.paypal.com/v2/checkout/orders/4R0591569M933742V" "rel" => "up" "method" => "GET" ] ] "network_transaction_reference" => [ "id" => "MNWSARXBV" "date" => "0801" "network" => "MASTERCARD" ] ] |
resource_type | "capture" |
resource_version | "2.0" |
summary | "Payment completed for € 32.9 EUR" |
Uploaded Files
No files were uploaded
Request Attributes
Key | Value |
---|---|
_controller | "Swag\PayPal\Webhook\WebhookController::executeWebhook" |
_cspNonce | "ZCNRzOQrxoU=" |
_route | "api.action.paypal.webhook.execute" |
_routeScope | [
"api"
] |
_route_params | [ "auth_required" => false ] |
_stopwatch_token | "3d3e1b" |
auth_required | false |
sw-context | Shopware\Core\Framework\Context {#1289 #extensions: [] #scope: "system" #rulesLocked: false #source: Shopware\Core\Framework\Api\Context\SystemSource {#1292 …} #ruleIds: [] #currencyId: "b7d2554b0ce847cd82f3ac9bd1c0dfca" #languageIdChain: [ "2fbb5fe2e29a4d70aa5854ce7ce3e20b" ] #versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425" #currencyFactor: 1.0 #considerInheritance: false #taxState: "gross" #rounding: Shopware\Core\Framework\DataAbstractionLayer\Pricing\CashRoundingConfig {#1290 …} #states: [] } |
Request Headers
Header | Value |
---|---|
accept | "*/*" |
accept-encoding | "gzip" |
content-length | "1775" |
content-type | "application/json" |
correlation-id | "532cd3f6f05da" |
host | "bns2.gcsdev.de" |
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 | "2c28213f-6ea2-11f0-bd2c-89f0b7b1486a" |
paypal-transmission-sig | "WS6cnIK2lVxgKD7kh9MMNRKrzOgQVdmSqU4xu6ClV/RSrlYSMPm1P2vMsTaRmHjdfeKVh0ui1knm6D5kw99lvbwDmRGdhXeNxztnVjHIkeYUSdxHqIi+eN1nye5cooeR5hvaDfHTL7N+nyKrEp86zX37o79UWlXuBpTDYMXbqh9ITlDPe4XJgChAxQb15tQSozTHLS9pou0CyFWd8h9ADPcyQm6Fmz2GGW7ZNep0EpWbN5hSByotaXJkrh92QI7e2c0csjEsF2pmuNjY6ijy769w4bGl7RFBTfhG6aRLbe+HKmcEnCwwNxF03A4SJJIxEAZ7IldZfObejt6i01578g==" |
paypal-transmission-time | "2025-08-01T06:38:45Z" |
surrogate-capability | "symfony="ESI/1.0"" |
user-agent | "PayPal/AUHR-1.0-1" |
x-forwarded-for | "173.0.81.140, 172.16.28.1" |
x-forwarded-host | "bns2.gcsdev.de" |
x-forwarded-port | "443" |
x-forwarded-proto | "https" |
x-forwarded-server | "srv-docker-02" |
x-php-ob-level | "0" |
x-real-ip | "173.0.81.140" |
Request Content
Pretty
{ "id": "WH-39L09892007243809-9NX60828VS739020L", "event_version": "1.0", "create_time": "2025-08-01T06:38:41.127Z", "resource_type": "capture", "resource_version": "2.0", "event_type": "PAYMENT.CAPTURE.COMPLETED", "summary": "Payment completed for \u20ac 32.9 EUR", "resource": { "id": "9AH37479SN5130541", "amount": { "currency_code": "EUR", "value": "32.90" }, "final_capture": true, "seller_protection": { "status": "NOT_ELIGIBLE" }, "seller_receivable_breakdown": { "gross_amount": { "currency_code": "EUR", "value": "32.90" }, "paypal_fee": { "currency_code": "EUR", "value": "1.37" }, "net_amount": { "currency_code": "EUR", "value": "31.53" } }, "invoice_id": "BOS-393241", "custom_id": "{\"orderTransactionId\":\"0198645a91ae707fb3b1f71fb802e088\",\"pluginVersion\":\"8.0.0\",\"shopwareVersion\":\"6.5.7.3\"}", "status": "COMPLETED", "processor_response": { "avs_code": "S", "cvv_code": "M", "response_code": "0000" }, "supplementary_data": { "related_ids": { "order_id": "4R0591569M933742V" } }, "payee": { "email_address": "accounting@oneco.online", "merchant_id": "ETHWPF89B97D4" }, "create_time": "2025-08-01T06:38:37Z", "update_time": "2025-08-01T06:38:37Z", "links": [ { "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/9AH37479SN5130541", "rel": "self", "method": "GET" }, { "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/9AH37479SN5130541\/refund", "rel": "refund", "method": "POST" }, { "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/4R0591569M933742V", "rel": "up", "method": "GET" } ], "network_transaction_reference": { "id": "MNWSARXBV", "date": "0801", "network": "MASTERCARD" } }, "links": [ { "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-39L09892007243809-9NX60828VS739020L", "rel": "self", "method": "GET" }, { "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-39L09892007243809-9NX60828VS739020L\/resend", "rel": "resend", "method": "POST" } ] }
Raw
{"id":"WH-39L09892007243809-9NX60828VS739020L","event_version":"1.0","create_time":"2025-08-01T06:38:41.127Z","resource_type":"capture","resource_version":"2.0","event_type":"PAYMENT.CAPTURE.COMPLETED","summary":"Payment completed for € 32.9 EUR","resource":{"id":"9AH37479SN5130541","amount":{"currency_code":"EUR","value":"32.90"},"final_capture":true,"seller_protection":{"status":"NOT_ELIGIBLE"},"seller_receivable_breakdown":{"gross_amount":{"currency_code":"EUR","value":"32.90"},"paypal_fee":{"currency_code":"EUR","value":"1.37"},"net_amount":{"currency_code":"EUR","value":"31.53"}},"invoice_id":"BOS-393241","custom_id":"{\"orderTransactionId\":\"0198645a91ae707fb3b1f71fb802e088\",\"pluginVersion\":\"8.0.0\",\"shopwareVersion\":\"6.5.7.3\"}","status":"COMPLETED","processor_response":{"avs_code":"S","cvv_code":"M","response_code":"0000"},"supplementary_data":{"related_ids":{"order_id":"4R0591569M933742V"}},"payee":{"email_address":"accounting@oneco.online","merchant_id":"ETHWPF89B97D4"},"create_time":"2025-08-01T06:38:37Z","update_time":"2025-08-01T06:38:37Z","links":[{"href":"https://api.paypal.com/v2/payments/captures/9AH37479SN5130541","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v2/payments/captures/9AH37479SN5130541/refund","rel":"refund","method":"POST"},{"href":"https://api.paypal.com/v2/checkout/orders/4R0591569M933742V","rel":"up","method":"GET"}],"network_transaction_reference":{"id":"MNWSARXBV","date":"0801","network":"MASTERCARD"}},"links":[{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-39L09892007243809-9NX60828VS739020L","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-39L09892007243809-9NX60828VS739020L/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 | "Sat, 02 Aug 2025 20:47:10 GMT" |
server-timing | "" |
x-debug-token | "7ee1fd" |
x-frame-options | "sameorigin" |
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 | "def00000d9819548e4c8204bf789244fccfc80a23a1c6df47e2673b11ee531be716fdad29984a4e922de4bc54f6990da63bed0074bf0b427c96f51e9af15dcc6cd2abca0" |
APP_URL | "https://bns2.gcsdev.de" |
BLUE_GREEN_DEPLOYMENT | "0" |
COMPOSER_HOME | "/var/www/html/var/cache/composer" |
DATABASE_URL | "mysql://shopware:shopware@shopware-db:3306/shopware" |
INSTANCE_ID | "ksF5crmfwdJGG1tWBnvMfeKPykMuQ7Kc" |
LOCK_DSN | "flock" |
MAILER_DSN | "smtp://shopware-smtp:25?encryption=&auth_mode=" |
REDIS_URL | "redis://shopware-redis:6379/1" |
SHOPWARE_CACHE_ID | "20250616135607" |
SHOPWARE_HTTP_CACHE_ENABLED | "0" |
SHOPWARE_HTTP_DEFAULT_TTL | "7200" |
STOREFRONT_PROXY_URL | "http://localhost" |
TRUSTED_PROXIES | "127.0.0.1,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16" |
Defined as regular env variables
Key | Value |
---|---|
APP_DEBUG | "1" |
COMPOSER_MEMORY_LIMIT | "-1" |
CONTENT_LENGTH | "1775" |
CONTENT_TYPE | "application/json" |
CONTEXT_DOCUMENT_ROOT | "/var/www/html/public" |
CONTEXT_PREFIX | "" |
DOCUMENT_ROOT | "/var/www/html/public" |
FCGI_ROLE | "RESPONDER" |
GATEWAY_INTERFACE | "CGI/1.1" |
GPG_KEYS | "39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC" |
HOME | "/var/www" |
HOSTNAME | "4b950b561862" |
HTTP_ACCEPT | "*/*" |
HTTP_ACCEPT_ENCODING | "gzip" |
HTTP_CORRELATION_ID | "532cd3f6f05da" |
HTTP_HOST | "bns2.gcsdev.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-b0d12406" |
HTTP_PAYPAL_TRANSMISSION_ID | "2c28213f-6ea2-11f0-bd2c-89f0b7b1486a" |
HTTP_PAYPAL_TRANSMISSION_SIG | "WS6cnIK2lVxgKD7kh9MMNRKrzOgQVdmSqU4xu6ClV/RSrlYSMPm1P2vMsTaRmHjdfeKVh0ui1knm6D5kw99lvbwDmRGdhXeNxztnVjHIkeYUSdxHqIi+eN1nye5cooeR5hvaDfHTL7N+nyKrEp86zX37o79UWlXuBpTDYMXbqh9ITlDPe4XJgChAxQb15tQSozTHLS9pou0CyFWd8h9ADPcyQm6Fmz2GGW7ZNep0EpWbN5hSByotaXJkrh92QI7e2c0csjEsF2pmuNjY6ijy769w4bGl7RFBTfhG6aRLbe+HKmcEnCwwNxF03A4SJJIxEAZ7IldZfObejt6i01578g==" |
HTTP_PAYPAL_TRANSMISSION_TIME | "2025-08-01T06:38:45Z" |
HTTP_USER_AGENT | "PayPal/AUHR-1.0-1" |
HTTP_X_FORWARDED_FOR | "173.0.81.140, 172.16.28.1" |
HTTP_X_FORWARDED_HOST | "bns2.gcsdev.de" |
HTTP_X_FORWARDED_PORT | "443" |
HTTP_X_FORWARDED_PROTO | "https" |
HTTP_X_FORWARDED_SERVER | "srv-docker-02" |
HTTP_X_REAL_IP | "173.0.81.140" |
MAGNALISTER_AUTH | "" |
MAGNALISTER_JOBS | "" |
PATH | "/usr/local/apache2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" |
PHPIZE_DEPS | "autoconf \t\tdpkg-dev \t\tfile \t\tg++ \t\tgcc \t\tlibc-dev \t\tmake \t\tpkg-config \t\tre2c" |
PHP_ASC_URL | "https://www.php.net/distributions/php-8.2.25.tar.xz.asc" |
PHP_CFLAGS | "-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" |
PHP_CPPFLAGS | "-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" |
PHP_INI_DIR | "/usr/local/etc/php" |
PHP_LDFLAGS | "-Wl,-O1 -pie" |
PHP_SELF | "/index.php" |
PHP_SHA256 | "330b54876ea1d05ade12ee9726167332058bccd58dffa1d4e12117f6b4f616b9" |
PHP_URL | "https://www.php.net/distributions/php-8.2.25.tar.xz" |
PHP_VERSION | "8.2.25" |
PWD | "/var/www/html" |
QUERY_STRING | "sw-token=UPcpgdhZkEyS40ylgzLPrZkMP7kefCVC" |
REDIRECT_QUERY_STRING | "sw-token=UPcpgdhZkEyS40ylgzLPrZkMP7kefCVC" |
REDIRECT_STATUS | "200" |
REDIRECT_URL | "/api/_action/paypal/webhook/execute" |
REDIRECT_forwarded | "1" |
REMOTE_ADDR | "127.0.0.1" |
REMOTE_PORT | "33886" |
REQUEST_METHOD | "POST" |
REQUEST_SCHEME | "http" |
REQUEST_TIME | 1754167630 |
REQUEST_TIME_FLOAT | 1754167630.1218 |
REQUEST_URI | "/api/_action/paypal/webhook/execute?sw-token=UPcpgdhZkEyS40ylgzLPrZkMP7kefCVC" |
SCRIPT_FILENAME | "/var/www/html/public/index.php" |
SCRIPT_NAME | "/index.php" |
SERVER_ADDR | "172.16.28.6" |
SERVER_ADMIN | "you@example.com" |
SERVER_NAME | "bns2.gcsdev.de" |
SERVER_PORT | "80" |
SERVER_PROTOCOL | "HTTP/1.1" |
SERVER_SIGNATURE | "" |
SERVER_SOFTWARE | "Apache/2.4.62 (Unix)" |
SYMFONY_DOTENV_PATH | "/var/www/html/.env" |
SYMFONY_DOTENV_VARS | "LOCK_DSN,APP_ENV,APP_URL,APP_SECRET,INSTANCE_ID,BLUE_GREEN_DEPLOYMENT,DATABASE_URL,COMPOSER_HOME,MAILER_DSN,REDIS_URL,STOREFRONT_PROXY_URL,SHOPWARE_HTTP_CACHE_ENABLED,SHOPWARE_HTTP_DEFAULT_TTL,TRUSTED_PROXIES,SHOPWARE_CACHE_ID" |
USER | "www-data" |
argc | 0 |
argv | [] |
forwarded | "1" |