WebhookController :: executeWebhook
Request
GET Parameters
Key | Value |
---|---|
sw-token | "UPcpgdhZkEyS40ylgzLPrZkMP7kefCVC" |
POST Parameters
Key | Value |
---|---|
create_time | "2025-08-02T12:55:43.600Z" |
event_type | "PAYMENT.CAPTURE.COMPLETED" |
event_version | "1.0" |
id | "WH-4L9727433W612144X-90D213919C151073D" |
links | [ [ "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-4L9727433W612144X-90D213919C151073D" "rel" => "self" "method" => "GET" ] [ "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-4L9727433W612144X-90D213919C151073D/resend" "rel" => "resend" "method" => "POST" ] ] |
resource | [ "id" => "780237703G0051430" "amount" => [ "currency_code" => "EUR" "value" => "44.47" ] "final_capture" => true "seller_protection" => [ "status" => "ELIGIBLE" "dispute_categories" => [ "ITEM_NOT_RECEIVED" "UNAUTHORIZED_TRANSACTION" ] ] "seller_receivable_breakdown" => [ "gross_amount" => [ "currency_code" => "EUR" "value" => "44.47" ] "paypal_fee" => [ "currency_code" => "EUR" "value" => "1.72" ] "net_amount" => [ "currency_code" => "EUR" "value" => "42.75" ] ] "invoice_id" => "BOS-393826" "custom_id" => "{"orderTransactionId":"01986ada1cdb7056ba4bc0dfd6a2ab68","pluginVersion":"8.0.0","shopwareVersion":"6.5.7.3"}" "status" => "COMPLETED" "supplementary_data" => [ "related_ids" => [ "order_id" => "74K959382C649711E" ] ] "payee" => [ "email_address" => "accounting@oneco.online" "merchant_id" => "ETHWPF89B97D4" ] "create_time" => "2025-08-02T12:55:39Z" "update_time" => "2025-08-02T12:55:39Z" "links" => [ [ "href" => "https://api.paypal.com/v2/payments/captures/780237703G0051430" "rel" => "self" "method" => "GET" ] [ "href" => "https://api.paypal.com/v2/payments/captures/780237703G0051430/refund" "rel" => "refund" "method" => "POST" ] [ "href" => "https://api.paypal.com/v2/checkout/orders/74K959382C649711E" "rel" => "up" "method" => "GET" ] ] ] |
resource_type | "capture" |
resource_version | "2.0" |
summary | "Payment completed for € 44.47 EUR" |
Uploaded Files
No files were uploaded
Request Attributes
Key | Value |
---|---|
_controller | "Swag\PayPal\Webhook\WebhookController::executeWebhook" |
_cspNonce | "+NDTpq1vYOI=" |
_route | "api.action.paypal.webhook.execute" |
_routeScope | [
"api"
] |
_route_params | [ "auth_required" => false ] |
_stopwatch_token | "4d2d06" |
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 | "1678" |
content-type | "application/json" |
correlation-id | "3c4fda9bcd66e" |
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 | "0241ea05-6fa0-11f0-9cf2-dd7b5e4bb262" |
paypal-transmission-sig | "XKxzcWTs+IFxwor0e8W/K3aDycC76N9aLFKifVdTIFsVjWPuPhwjjAeX6kN4kHfNb67hXOB4CT6wsiwMWlquj+bIfVaey0D508Jl9dqqxTTPrhGN8LNP/rmlojxhItmZ1ammQ3+q5BVoEB+3P+RV2hbILRfQulg1MT5T5tvlf8OBlPXTgVe5Rs9FGkMSQRZxRl7+R1YNikd8fqNSPpENLuvxLVhPmyvV6y8YP7ljEtc36MDWUhvjL92bUZ/LQkhVSxCIJW5rS5S51yVjYCLu0Eazm6HAeEmAH9JmIDs4NEpdDDX+eJs2Ad/aCnOHCrBIYXBrxniAeHxaB9DskaJ1JA==" |
paypal-transmission-time | "2025-08-02T12:55:47Z" |
surrogate-capability | "symfony="ESI/1.0"" |
user-agent | "PayPal/AUHR-1.0-1" |
x-forwarded-for | "173.0.81.65, 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.65" |
Request Content
Pretty
{ "id": "WH-4L9727433W612144X-90D213919C151073D", "event_version": "1.0", "create_time": "2025-08-02T12:55:43.600Z", "resource_type": "capture", "resource_version": "2.0", "event_type": "PAYMENT.CAPTURE.COMPLETED", "summary": "Payment completed for \u20ac 44.47 EUR", "resource": { "id": "780237703G0051430", "amount": { "currency_code": "EUR", "value": "44.47" }, "final_capture": true, "seller_protection": { "status": "ELIGIBLE", "dispute_categories": [ "ITEM_NOT_RECEIVED", "UNAUTHORIZED_TRANSACTION" ] }, "seller_receivable_breakdown": { "gross_amount": { "currency_code": "EUR", "value": "44.47" }, "paypal_fee": { "currency_code": "EUR", "value": "1.72" }, "net_amount": { "currency_code": "EUR", "value": "42.75" } }, "invoice_id": "BOS-393826", "custom_id": "{\"orderTransactionId\":\"01986ada1cdb7056ba4bc0dfd6a2ab68\",\"pluginVersion\":\"8.0.0\",\"shopwareVersion\":\"6.5.7.3\"}", "status": "COMPLETED", "supplementary_data": { "related_ids": { "order_id": "74K959382C649711E" } }, "payee": { "email_address": "accounting@oneco.online", "merchant_id": "ETHWPF89B97D4" }, "create_time": "2025-08-02T12:55:39Z", "update_time": "2025-08-02T12:55:39Z", "links": [ { "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/780237703G0051430", "rel": "self", "method": "GET" }, { "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/780237703G0051430\/refund", "rel": "refund", "method": "POST" }, { "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/74K959382C649711E", "rel": "up", "method": "GET" } ] }, "links": [ { "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-4L9727433W612144X-90D213919C151073D", "rel": "self", "method": "GET" }, { "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-4L9727433W612144X-90D213919C151073D\/resend", "rel": "resend", "method": "POST" } ] }
Raw
{"id":"WH-4L9727433W612144X-90D213919C151073D","event_version":"1.0","create_time":"2025-08-02T12:55:43.600Z","resource_type":"capture","resource_version":"2.0","event_type":"PAYMENT.CAPTURE.COMPLETED","summary":"Payment completed for € 44.47 EUR","resource":{"id":"780237703G0051430","amount":{"currency_code":"EUR","value":"44.47"},"final_capture":true,"seller_protection":{"status":"ELIGIBLE","dispute_categories":["ITEM_NOT_RECEIVED","UNAUTHORIZED_TRANSACTION"]},"seller_receivable_breakdown":{"gross_amount":{"currency_code":"EUR","value":"44.47"},"paypal_fee":{"currency_code":"EUR","value":"1.72"},"net_amount":{"currency_code":"EUR","value":"42.75"}},"invoice_id":"BOS-393826","custom_id":"{\"orderTransactionId\":\"01986ada1cdb7056ba4bc0dfd6a2ab68\",\"pluginVersion\":\"8.0.0\",\"shopwareVersion\":\"6.5.7.3\"}","status":"COMPLETED","supplementary_data":{"related_ids":{"order_id":"74K959382C649711E"}},"payee":{"email_address":"accounting@oneco.online","merchant_id":"ETHWPF89B97D4"},"create_time":"2025-08-02T12:55:39Z","update_time":"2025-08-02T12:55:39Z","links":[{"href":"https://api.paypal.com/v2/payments/captures/780237703G0051430","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v2/payments/captures/780237703G0051430/refund","rel":"refund","method":"POST"},{"href":"https://api.paypal.com/v2/checkout/orders/74K959382C649711E","rel":"up","method":"GET"}]},"links":[{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-4L9727433W612144X-90D213919C151073D","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-4L9727433W612144X-90D213919C151073D/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 19:02:42 GMT" |
server-timing | "" |
x-debug-token | "e34685" |
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 | "1678" |
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 | "3c4fda9bcd66e" |
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 | "0241ea05-6fa0-11f0-9cf2-dd7b5e4bb262" |
HTTP_PAYPAL_TRANSMISSION_SIG | "XKxzcWTs+IFxwor0e8W/K3aDycC76N9aLFKifVdTIFsVjWPuPhwjjAeX6kN4kHfNb67hXOB4CT6wsiwMWlquj+bIfVaey0D508Jl9dqqxTTPrhGN8LNP/rmlojxhItmZ1ammQ3+q5BVoEB+3P+RV2hbILRfQulg1MT5T5tvlf8OBlPXTgVe5Rs9FGkMSQRZxRl7+R1YNikd8fqNSPpENLuvxLVhPmyvV6y8YP7ljEtc36MDWUhvjL92bUZ/LQkhVSxCIJW5rS5S51yVjYCLu0Eazm6HAeEmAH9JmIDs4NEpdDDX+eJs2Ad/aCnOHCrBIYXBrxniAeHxaB9DskaJ1JA==" |
HTTP_PAYPAL_TRANSMISSION_TIME | "2025-08-02T12:55:47Z" |
HTTP_USER_AGENT | "PayPal/AUHR-1.0-1" |
HTTP_X_FORWARDED_FOR | "173.0.81.65, 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.65" |
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 | "44768" |
REQUEST_METHOD | "POST" |
REQUEST_SCHEME | "http" |
REQUEST_TIME | 1754161361 |
REQUEST_TIME_FLOAT | 1754161361.9932 |
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" |