WebhookController :: executeWebhook
Request
GET Parameters
Key | Value |
---|---|
sw-token | "kKo3DdtcLRbk4PPYoaVZ4GTEZgEtQKWu" |
POST Parameters
Key | Value |
---|---|
create_time | "2025-05-13T13:13:02.805Z" |
event_type | "PAYMENT.CAPTURE.COMPLETED" |
event_version | "1.0" |
id | "WH-8GP93675DX678240N-29B6159162561441P" |
links | [ [ "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-8GP93675DX678240N-29B6159162561441P" "rel" => "self" "method" => "GET" ] [ "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-8GP93675DX678240N-29B6159162561441P/resend" "rel" => "resend" "method" => "POST" ] ] |
resource | [ "id" => "8D8625172T124243B" "amount" => [ "currency_code" => "EUR" "value" => "12.70" ] "final_capture" => true "seller_protection" => [ "status" => "ELIGIBLE" "dispute_categories" => [ "ITEM_NOT_RECEIVED" "UNAUTHORIZED_TRANSACTION" ] ] "seller_receivable_breakdown" => [ "gross_amount" => [ "currency_code" => "EUR" "value" => "12.70" ] "paypal_fee" => [ "currency_code" => "EUR" "value" => "0.77" ] "net_amount" => [ "currency_code" => "EUR" "value" => "11.93" ] ] "invoice_id" => "12903" "custom_id" => "{"orderTransactionId":"0196c9c6d2da732185f7f68ac0e31e35","pluginVersion":"9.7.4","shopwareVersion":"6.6.10.3"}" "status" => "COMPLETED" "supplementary_data" => [ "related_ids" => [ "order_id" => "0LK43087AK125394H" ] ] "payee" => [ "email_address" => "info@stoffbeistoff.de" "merchant_id" => "48WD4XLFWPE7U" ] "create_time" => "2025-05-13T13:12:59Z" "update_time" => "2025-05-13T13:12:59Z" "links" => [ [ "href" => "https://api.paypal.com/v2/payments/captures/8D8625172T124243B" "rel" => "self" "method" => "GET" ] [ "href" => "https://api.paypal.com/v2/payments/captures/8D8625172T124243B/refund" "rel" => "refund" "method" => "POST" ] [ "href" => "https://api.paypal.com/v2/checkout/orders/0LK43087AK125394H" "rel" => "up" "method" => "GET" ] ] ] |
resource_type | "capture" |
resource_version | "2.0" |
summary | "Payment completed for € 12.7 EUR" |
Uploaded Files
No files were uploaded
Request Attributes
Key | Value |
---|---|
_controller | "Swag\PayPal\Webhook\WebhookController::executeWebhook" |
_cspNonce | "fEULwvkSjR8=" |
_route | "api.action.paypal.webhook.execute" |
_routeScope | [
"api"
] |
_route_params | [ "auth_required" => false ] |
_stopwatch_token | "9193d0" |
auth_required | false |
sw-context | Shopware\Core\Framework\Context {#1323 #extensions: [] #scope: "system" #rulesLocked: false #source: Shopware\Core\Framework\Api\Context\SystemSource {#1325 …} #ruleIds: [] #currencyId: "b7d2554b0ce847cd82f3ac9bd1c0dfca" #languageIdChain: [ "2fbb5fe2e29a4d70aa5854ce7ce3e20b" ] #versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425" #currencyFactor: 1.0 #considerInheritance: false #taxState: "gross" #rounding: Shopware\Core\Framework\DataAbstractionLayer\Pricing\CashRoundingConfig {#1321 …} #states: [] } |
Request Headers
Header | Value |
---|---|
accept | "*/*" |
content-length | "1671" |
content-type | "application/json" |
correlation-id | "b70f81f31e0ee" |
forwarded | "for="173.0.81.140";host="devlex.stoffbeistoff.de";proto=https" |
host | "devlex.stoffbeistoff.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 | "022d1c3a-2ffc-11f0-bab5-55353015b72f" |
paypal-transmission-sig | "G6lhD5GRE3gWqxrBcA2eAZpbgVtOFX1x0M85Bc/WAabgD776QARAXLZdDozQ1zpDaUSdu1M2mW0rhO6DhD6YKN3VzM6nFC2eLRoHHl7P1H/1RHIOf0j88azSBjRee0KdNtumwVvK0ioDsBFeeEFydWJjIRd+UaP4Kn15hRDc23CNjVaHY5lNFGU1Xpcx5i6W7ebisAaFQKOyriFy6dUL64iLu5lts9+I3m+Jmi5WvwCI0xOC+6XE9GK99fEolq0AWi3uIXc9pCuxeu3BcsyG/mErRbFwb6sP+imyErfVzOkKF3o1bi2S8IA3d31yjBNl7JYKF01Nl6v81U7amjA9UA==" |
paypal-transmission-time | "2025-05-13T13:13:06Z" |
surrogate-capability | "symfony="ESI/1.0"" |
user-agent | "PayPal/AUHR-214.0-58843836" |
x-b3-spanid | "7bc25d0cbcdfd33" |
x-forwarded-for | "173.0.81.140" |
x-php-ob-level | "1" |
Request Content
Pretty
{ "id": "WH-8GP93675DX678240N-29B6159162561441P", "event_version": "1.0", "create_time": "2025-05-13T13:13:02.805Z", "resource_type": "capture", "resource_version": "2.0", "event_type": "PAYMENT.CAPTURE.COMPLETED", "summary": "Payment completed for \u20ac 12.7 EUR", "resource": { "id": "8D8625172T124243B", "amount": { "currency_code": "EUR", "value": "12.70" }, "final_capture": true, "seller_protection": { "status": "ELIGIBLE", "dispute_categories": [ "ITEM_NOT_RECEIVED", "UNAUTHORIZED_TRANSACTION" ] }, "seller_receivable_breakdown": { "gross_amount": { "currency_code": "EUR", "value": "12.70" }, "paypal_fee": { "currency_code": "EUR", "value": "0.77" }, "net_amount": { "currency_code": "EUR", "value": "11.93" } }, "invoice_id": "12903", "custom_id": "{\"orderTransactionId\":\"0196c9c6d2da732185f7f68ac0e31e35\",\"pluginVersion\":\"9.7.4\",\"shopwareVersion\":\"6.6.10.3\"}", "status": "COMPLETED", "supplementary_data": { "related_ids": { "order_id": "0LK43087AK125394H" } }, "payee": { "email_address": "info@stoffbeistoff.de", "merchant_id": "48WD4XLFWPE7U" }, "create_time": "2025-05-13T13:12:59Z", "update_time": "2025-05-13T13:12:59Z", "links": [ { "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/8D8625172T124243B", "rel": "self", "method": "GET" }, { "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/8D8625172T124243B\/refund", "rel": "refund", "method": "POST" }, { "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/0LK43087AK125394H", "rel": "up", "method": "GET" } ] }, "links": [ { "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-8GP93675DX678240N-29B6159162561441P", "rel": "self", "method": "GET" }, { "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-8GP93675DX678240N-29B6159162561441P\/resend", "rel": "resend", "method": "POST" } ] }
Raw
{"id":"WH-8GP93675DX678240N-29B6159162561441P","event_version":"1.0","create_time":"2025-05-13T13:13:02.805Z","resource_type":"capture","resource_version":"2.0","event_type":"PAYMENT.CAPTURE.COMPLETED","summary":"Payment completed for € 12.7 EUR","resource":{"id":"8D8625172T124243B","amount":{"currency_code":"EUR","value":"12.70"},"final_capture":true,"seller_protection":{"status":"ELIGIBLE","dispute_categories":["ITEM_NOT_RECEIVED","UNAUTHORIZED_TRANSACTION"]},"seller_receivable_breakdown":{"gross_amount":{"currency_code":"EUR","value":"12.70"},"paypal_fee":{"currency_code":"EUR","value":"0.77"},"net_amount":{"currency_code":"EUR","value":"11.93"}},"invoice_id":"12903","custom_id":"{\"orderTransactionId\":\"0196c9c6d2da732185f7f68ac0e31e35\",\"pluginVersion\":\"9.7.4\",\"shopwareVersion\":\"6.6.10.3\"}","status":"COMPLETED","supplementary_data":{"related_ids":{"order_id":"0LK43087AK125394H"}},"payee":{"email_address":"info@stoffbeistoff.de","merchant_id":"48WD4XLFWPE7U"},"create_time":"2025-05-13T13:12:59Z","update_time":"2025-05-13T13:12:59Z","links":[{"href":"https://api.paypal.com/v2/payments/captures/8D8625172T124243B","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v2/payments/captures/8D8625172T124243B/refund","rel":"refund","method":"POST"},{"href":"https://api.paypal.com/v2/checkout/orders/0LK43087AK125394H","rel":"up","method":"GET"}]},"links":[{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-8GP93675DX678240N-29B6159162561441P","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-8GP93675DX678240N-29B6159162561441P/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 | "application/json" |
date | "Tue, 13 May 2025 13:31:34 GMT" |
server-timing | "" |
x-debug-token | "90712e" |
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 | "def000008e5a36d424669c96363e0e25101827a85d5fae47709167ef46bbfeda4609e6612a18f5ce41b72a34277c65108dd35b2d905ee6a52779eb60108826343ee496dc" |
APP_URL | "https://devlex.stoffbeistoff.de" |
BLUE_GREEN_DEPLOYMENT | "1" |
COMPOSER_HOME | "/var/www/devlex.stoffbeistoff.de/web/var/cache/composer" |
DATABASE_URL | "mysql://c2devlex_usr1:zcaUPV8_9@127.0.0.1:3306/c2devlex_db1" |
INSTANCE_ID | "MAbkt6LkxzK5cz0qsHA3RX7hInHqw97h" |
LOCK_DSN | "flock" |
MAILER_DSN | "null://null" |
MAILER_URL | "null://null" |
OPENSEARCH_URL | "http://devlex.stoffbeistoff:OG3jb16q0Cu5WULp@localhost:9200" |
PROXY_URL | "http://localhost" |
REDIS_CACHE_DATABASE | "1" |
REDIS_CACHE_HOST | "localhost" |
REDIS_CACHE_PASSWORD | "devlex" |
REDIS_CACHE_PORT | "6375" |
REDIS_SESSION_DATABASE | "0" |
REDIS_SESSION_HOST | "localhost" |
REDIS_SESSION_PASSWORD | "devlex" |
REDIS_SESSION_PORT | "6375" |
SHOPWARE_ADMIN_ES_ENABLED | "0" |
SHOPWARE_ADMIN_ES_INDEX_PREFIX | "sw_sbs_admin" |
SHOPWARE_ADMIN_ES_REFRESH_INDICES | "1" |
SHOPWARE_ES_ENABLED | "0" |
SHOPWARE_ES_INDEXING_ENABLED | "0" |
SHOPWARE_ES_INDEX_PREFIX | "sw" |
SHOPWARE_ES_THROW_EXCEPTION | "0" |
SHOPWARE_HTTP_CACHE_ENABLED | "1" |
SHOPWARE_HTTP_DEFAULT_TTL | "7200" |
Defined as regular env variables
Key | Value |
---|---|
APP_DEBUG | "1" |
CONTENT_LENGTH | "1671" |
CONTENT_TYPE | "application/json" |
CONTEXT_DOCUMENT_ROOT | "/var/www/clients/client2/web15/web/public" |
CONTEXT_PREFIX | "" |
DOCUMENT_ROOT | "/var/www/clients/client2/web15/web/public" |
FCGI_ROLE | "RESPONDER" |
GATEWAY_INTERFACE | "CGI/1.1" |
HOME | "/var/www/clients/client2/web15" |
HOSTNAME | "" |
HTTPS | "on" |
HTTP_ACCEPT | "*/*" |
HTTP_CORRELATION_ID | "b70f81f31e0ee" |
HTTP_FORWARDED | "for="173.0.81.140";host="devlex.stoffbeistoff.de";proto=https" |
HTTP_HOST | "devlex.stoffbeistoff.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 | "022d1c3a-2ffc-11f0-bab5-55353015b72f" |
HTTP_PAYPAL_TRANSMISSION_SIG | "G6lhD5GRE3gWqxrBcA2eAZpbgVtOFX1x0M85Bc/WAabgD776QARAXLZdDozQ1zpDaUSdu1M2mW0rhO6DhD6YKN3VzM6nFC2eLRoHHl7P1H/1RHIOf0j88azSBjRee0KdNtumwVvK0ioDsBFeeEFydWJjIRd+UaP4Kn15hRDc23CNjVaHY5lNFGU1Xpcx5i6W7ebisAaFQKOyriFy6dUL64iLu5lts9+I3m+Jmi5WvwCI0xOC+6XE9GK99fEolq0AWi3uIXc9pCuxeu3BcsyG/mErRbFwb6sP+imyErfVzOkKF3o1bi2S8IA3d31yjBNl7JYKF01Nl6v81U7amjA9UA==" |
HTTP_PAYPAL_TRANSMISSION_TIME | "2025-05-13T13:13:06Z" |
HTTP_USER_AGENT | "PayPal/AUHR-214.0-58843836" |
HTTP_X_B3_SPANID | "7bc25d0cbcdfd33" |
HTTP_X_FORWARDED_FOR | "173.0.81.140" |
PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" |
PHP_SELF | "/index.php" |
QUERY_STRING | "sw-token=kKo3DdtcLRbk4PPYoaVZ4GTEZgEtQKWu" |
REDIRECT_HTTPS | "on" |
REDIRECT_QUERY_STRING | "sw-token=kKo3DdtcLRbk4PPYoaVZ4GTEZgEtQKWu" |
REDIRECT_SCRIPT_URI | "https://devlex.stoffbeistoff.de/api/_action/paypal/webhook/execute" |
REDIRECT_SCRIPT_URL | "/api/_action/paypal/webhook/execute" |
REDIRECT_SSL_TLS_SNI | "devlex.stoffbeistoff.de" |
REDIRECT_STATUS | "200" |
REDIRECT_URL | "/api/_action/paypal/webhook/execute" |
REMOTE_ADDR | "127.0.0.1" |
REMOTE_PORT | "2250" |
REQUEST_METHOD | "POST" |
REQUEST_SCHEME | "https" |
REQUEST_TIME | 1747143094 |
REQUEST_TIME_FLOAT | 1747143094.7785 |
REQUEST_URI | "/api/_action/paypal/webhook/execute?sw-token=kKo3DdtcLRbk4PPYoaVZ4GTEZgEtQKWu" |
SCRIPT_FILENAME | "/var/www/clients/client2/web15/web/public/index.php" |
SCRIPT_NAME | "/index.php" |
SCRIPT_URI | "https://devlex.stoffbeistoff.de/api/_action/paypal/webhook/execute" |
SCRIPT_URL | "/api/_action/paypal/webhook/execute" |
SERVER_ADDR | "176.9.156.156" |
SERVER_ADMIN | "webmaster@devlex.stoffbeistoff.de" |
SERVER_NAME | "devlex.stoffbeistoff.de" |
SERVER_PORT | "443" |
SERVER_PROTOCOL | "HTTP/1.1" |
SERVER_SIGNATURE | "" |
SERVER_SOFTWARE | "Apache" |
SSL_TLS_SNI | "devlex.stoffbeistoff.de" |
SYMFONY_DOTENV_PATH | "/var/www/clients/client2/web15/web/.env" |
SYMFONY_DOTENV_VARS | "APP_ENV,APP_URL,APP_SECRET,INSTANCE_ID,BLUE_GREEN_DEPLOYMENT,DATABASE_URL,MAILER_URL,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,LOCK_DSN,MAILER_DSN,COMPOSER_HOME,SHOPWARE_ADMIN_ES_INDEX_PREFIX,SHOPWARE_ADMIN_ES_ENABLED,SHOPWARE_ADMIN_ES_REFRESH_INDICES,REDIS_CACHE_HOST,REDIS_CACHE_PORT,REDIS_CACHE_PASSWORD,REDIS_CACHE_DATABASE,REDIS_SESSION_HOST,REDIS_SESSION_PORT,REDIS_SESSION_PASSWORD,REDIS_SESSION_DATABASE" |
TEMP | "/var/www/clients/client2/web15/tmp" |
TMP | "/var/www/clients/client2/web15/tmp" |
TMPDIR | "/var/www/clients/client2/web15/tmp" |
USER | "web15" |
proxy-nokeepalive | "1" |