WebhookController :: executeWebhook
Request
GET Parameters
Key | Value |
---|---|
sw-token | "WLAE7o7u1IV5WxHvswXS7gpSIc4663X4" |
POST Parameters
Key | Value |
---|---|
create_time | "2025-01-10T16:23:29.822Z" |
event_type | "PAYMENT.CAPTURE.COMPLETED" |
event_version | "1.0" |
id | "WH-3AL23368DM965421M-7ME59217HE726204J" |
links | [ [ "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-3AL23368DM965421M-7ME59217HE726204J" "rel" => "self" "method" => "GET" ] [ "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-3AL23368DM965421M-7ME59217HE726204J/resend" "rel" => "resend" "method" => "POST" ] ] |
resource | [ "id" => "61D90384SB409521X" "amount" => [ "currency_code" => "EUR" "value" => "135.00" ] "final_capture" => true "seller_protection" => [ "status" => "NOT_ELIGIBLE" ] "seller_receivable_breakdown" => [ "gross_amount" => [ "currency_code" => "EUR" "value" => "135.00" ] "paypal_fee" => [ "currency_code" => "EUR" "value" => "4.43" ] "net_amount" => [ "currency_code" => "EUR" "value" => "130.57" ] ] "invoice_id" => "73509" "custom_id" => "{"orderTransactionId":"5d5f263863c64329ba83906a85a3e778","pluginVersion":"6.5.0","shopwareVersion":"6.4.20.0"}" "status" => "COMPLETED" "supplementary_data" => [ "related_ids" => [ "order_id" => "6T702956EC585860F" ] ] "payee" => [ "email_address" => "shop@kochen-essen-wohnen.de" "merchant_id" => "V4ZFYK7ZAKQCA" ] "create_time" => "2025-01-10T16:23:25Z" "update_time" => "2025-01-10T16:23:25Z" "links" => [ [ "href" => "https://api.paypal.com/v2/payments/captures/61D90384SB409521X" "rel" => "self" "method" => "GET" ] [ "href" => "https://api.paypal.com/v2/payments/captures/61D90384SB409521X/refund" "rel" => "refund" "method" => "POST" ] [ "href" => "https://api.paypal.com/v2/checkout/orders/6T702956EC585860F" "rel" => "up" "method" => "GET" ] ] ] |
resource_type | "capture" |
resource_version | "2.0" |
summary | "Payment completed for EUR 135.0 EUR" |
Uploaded Files
No files were uploaded
Request Attributes
Key | Value |
---|---|
_controller | "Swag\PayPal\Webhook\WebhookController::executeWebhook" |
_cspNonce | "++hDOK5ZQkY=" |
_route | "api.action.paypal.webhook.execute" |
_routeScope | [
"api"
] |
_route_params | [ "auth_required" => false ] |
_since | Shopware\Core\Framework\Routing\Annotation\Since {#2072 -value: "0.9.0" } |
_stopwatch_token | "385587" |
auth_required | false |
sw-context | Shopware\Core\Framework\Context {#2087 #extensions: [] #languageIdChain: [ "2fbb5fe2e29a4d70aa5854ce7ce3e20b" ] #versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425" #currencyId: "b7d2554b0ce847cd82f3ac9bd1c0dfca" #currencyFactor: 1.0 #scope: "system" #ruleIds: [] #source: Shopware\Core\Framework\Api\Context\SystemSource {#2067 …} #considerInheritance: false #taxState: "gross" #rounding: Shopware\Core\Framework\DataAbstractionLayer\Pricing\CashRoundingConfig {#2066 …} -states: [] } |
Request Headers
Header | Value |
---|---|
accept | "*/*" |
connection | "close" |
content-length | "1615" |
content-type | "application/json" |
correlation-id | "2d46205d60cf0" |
host | "kewsw6-dev.kunden.loewenstark.de" |
paypal-auth-algo | "SHA256withRSA" |
paypal-auth-version | "v2" |
paypal-cert-url | "https://api.paypal.com/v1/notifications/certs/CERT-360caa42-fca2a594-1a5f47cb" |
paypal-transmission-id | "3ca747a7-cf6f-11ef-ad0d-a9a11dfcf604" |
paypal-transmission-sig | "JeKQGF2Kx/OfwxxWzNfc/FVX5yBtGPq+MJtPICUOdPbxq5/aCnHANAdwZF1kv5zwge4qrA4MPpguCgTkWJB7rd7nATNGZFSBsPhdaI4v/GOIs5zarJgoDMU54K3LRqc2ZD082zVk3hXHjTAjUZJp/pjtINJy4IBqcIJU3qDHy3GOifMP+c4f3I8JfniS9cYSnnwa2aGwK39rLuBhVOSpWhKVc+t0rM9OI0ffFKYilWPJxvvkIGwvTwUg8sTx4upLqi3zmRDODgSQL26832XDC4Wfbwp3rf439Ip4O/7oG5XEYISSo9HKgM40D9gvRhZcYfFlbO2bCNBizglcLnTYCg==" |
paypal-transmission-time | "2025-01-10T16:23:33Z" |
user-agent | "PayPal/AUHR-214.0-58712720" |
x-b3-spanid | "39fa44169d8094fb" |
x-php-ob-level | "1" |
Request Content
Pretty
{ "id": "WH-3AL23368DM965421M-7ME59217HE726204J", "event_version": "1.0", "create_time": "2025-01-10T16:23:29.822Z", "resource_type": "capture", "resource_version": "2.0", "event_type": "PAYMENT.CAPTURE.COMPLETED", "summary": "Payment completed for EUR 135.0 EUR", "resource": { "id": "61D90384SB409521X", "amount": { "currency_code": "EUR", "value": "135.00" }, "final_capture": true, "seller_protection": { "status": "NOT_ELIGIBLE" }, "seller_receivable_breakdown": { "gross_amount": { "currency_code": "EUR", "value": "135.00" }, "paypal_fee": { "currency_code": "EUR", "value": "4.43" }, "net_amount": { "currency_code": "EUR", "value": "130.57" } }, "invoice_id": "73509", "custom_id": "{\"orderTransactionId\":\"5d5f263863c64329ba83906a85a3e778\",\"pluginVersion\":\"6.5.0\",\"shopwareVersion\":\"6.4.20.0\"}", "status": "COMPLETED", "supplementary_data": { "related_ids": { "order_id": "6T702956EC585860F" } }, "payee": { "email_address": "shop@kochen-essen-wohnen.de", "merchant_id": "V4ZFYK7ZAKQCA" }, "create_time": "2025-01-10T16:23:25Z", "update_time": "2025-01-10T16:23:25Z", "links": [ { "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/61D90384SB409521X", "rel": "self", "method": "GET" }, { "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/61D90384SB409521X\/refund", "rel": "refund", "method": "POST" }, { "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/6T702956EC585860F", "rel": "up", "method": "GET" } ] }, "links": [ { "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-3AL23368DM965421M-7ME59217HE726204J", "rel": "self", "method": "GET" }, { "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-3AL23368DM965421M-7ME59217HE726204J\/resend", "rel": "resend", "method": "POST" } ] }
Raw
{"id":"WH-3AL23368DM965421M-7ME59217HE726204J","event_version":"1.0","create_time":"2025-01-10T16:23:29.822Z","resource_type":"capture","resource_version":"2.0","event_type":"PAYMENT.CAPTURE.COMPLETED","summary":"Payment completed for EUR 135.0 EUR","resource":{"id":"61D90384SB409521X","amount":{"currency_code":"EUR","value":"135.00"},"final_capture":true,"seller_protection":{"status":"NOT_ELIGIBLE"},"seller_receivable_breakdown":{"gross_amount":{"currency_code":"EUR","value":"135.00"},"paypal_fee":{"currency_code":"EUR","value":"4.43"},"net_amount":{"currency_code":"EUR","value":"130.57"}},"invoice_id":"73509","custom_id":"{\"orderTransactionId\":\"5d5f263863c64329ba83906a85a3e778\",\"pluginVersion\":\"6.5.0\",\"shopwareVersion\":\"6.4.20.0\"}","status":"COMPLETED","supplementary_data":{"related_ids":{"order_id":"6T702956EC585860F"}},"payee":{"email_address":"shop@kochen-essen-wohnen.de","merchant_id":"V4ZFYK7ZAKQCA"},"create_time":"2025-01-10T16:23:25Z","update_time":"2025-01-10T16:23:25Z","links":[{"href":"https://api.paypal.com/v2/payments/captures/61D90384SB409521X","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v2/payments/captures/61D90384SB409521X/refund","rel":"refund","method":"POST"},{"href":"https://api.paypal.com/v2/checkout/orders/6T702956EC585860F","rel":"up","method":"GET"}]},"links":[{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-3AL23368DM965421M-7ME59217HE726204J","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-3AL23368DM965421M-7ME59217HE726204J/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 | "Fri, 10 Jan 2025 18:39:25 GMT" |
x-debug-token | "2de012" |
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 | "def00000d3d22aeaf70a146b48bc769faec00bd6b35ec78a27f3b8f1407c6045fa98995c86c2e3b5d5256bb36b32353ce075721a6c0ec83429defd0f0cdcdaf0ec576bd5" |
APP_URL | "http://kewsw6-dev.kunden.loewenstark.de" |
BLUE_GREEN_DEPLOYMENT | "1" |
COMPOSER_HOME | "/var/customers/webs/kew/htdocs6/var/cache/composer" |
DATABASE_URL | "mysql://kewsql3:jcwlQqAent@127.0.0.1:3306/kewsql3" |
INSTANCE_ID | "AnhklGIlYx91cF9DvEbG4YGUDX8GIAqH" |
MAILER_URL | "smtp://localhost:25?username=L%C3%B6wenstark&password=e1%409l%C3%BCWin%3BfY&auth_mode=plain" |
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 | "0" |
SHOPWARE_HTTP_DEFAULT_TTL | "7200" |
Defined as regular env variables
Key | Value |
---|---|
APP_DEBUG | "1" |
CONTENT_LENGTH | "1615" |
CONTENT_TYPE | "application/json" |
CONTEXT_DOCUMENT_ROOT | "/var/customers/webs/kew/htdocs6/public" |
CONTEXT_PREFIX | "" |
DOCUMENT_ROOT | "/var/customers/webs/kew/htdocs6/public" |
FCGI_ROLE | "RESPONDER" |
GATEWAY_INTERFACE | "CGI/1.1" |
HTTPS | "on" |
HTTP_ACCEPT | "*/*" |
HTTP_CONNECTION | "close" |
HTTP_CORRELATION_ID | "2d46205d60cf0" |
HTTP_HOST | "kewsw6-dev.kunden.loewenstark.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-1a5f47cb" |
HTTP_PAYPAL_TRANSMISSION_ID | "3ca747a7-cf6f-11ef-ad0d-a9a11dfcf604" |
HTTP_PAYPAL_TRANSMISSION_SIG | "JeKQGF2Kx/OfwxxWzNfc/FVX5yBtGPq+MJtPICUOdPbxq5/aCnHANAdwZF1kv5zwge4qrA4MPpguCgTkWJB7rd7nATNGZFSBsPhdaI4v/GOIs5zarJgoDMU54K3LRqc2ZD082zVk3hXHjTAjUZJp/pjtINJy4IBqcIJU3qDHy3GOifMP+c4f3I8JfniS9cYSnnwa2aGwK39rLuBhVOSpWhKVc+t0rM9OI0ffFKYilWPJxvvkIGwvTwUg8sTx4upLqi3zmRDODgSQL26832XDC4Wfbwp3rf439Ip4O/7oG5XEYISSo9HKgM40D9gvRhZcYfFlbO2bCNBizglcLnTYCg==" |
HTTP_PAYPAL_TRANSMISSION_TIME | "2025-01-10T16:23:33Z" |
HTTP_USER_AGENT | "PayPal/AUHR-214.0-58712720" |
HTTP_X_B3_SPANID | "39fa44169d8094fb" |
PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" |
PHPRC | "/var/www/php-fcgi-scripts/froxlor/kew/kewsw6-dev.kunden.loewenstark.de/" |
PHP_FCGI_CHILDREN | "0" |
PHP_FCGI_MAX_REQUESTS | "0" |
PHP_SELF | "/index.php" |
PWD | "/var/www/php-fcgi-scripts/froxlor/kew/kewsw6-dev.kunden.loewenstark.de" |
QUERY_STRING | "sw-token=WLAE7o7u1IV5WxHvswXS7gpSIc4663X4" |
REDIRECT_HTTPS | "on" |
REDIRECT_QUERY_STRING | "sw-token=WLAE7o7u1IV5WxHvswXS7gpSIc4663X4" |
REDIRECT_SSL_TLS_SNI | "kewsw6-dev.kunden.loewenstark.de" |
REDIRECT_STATUS | "200" |
REDIRECT_UNIQUE_ID | "Z4FpXeQ7qaCFYy8-oghUggAAAFE" |
REDIRECT_URL | "/api/_action/paypal/webhook/execute" |
REMOTE_ADDR | "173.0.81.140" |
REMOTE_PORT | "53059" |
REQUEST_METHOD | "POST" |
REQUEST_SCHEME | "https" |
REQUEST_TIME | 1736534365 |
REQUEST_TIME_FLOAT | 1736534365.9039 |
REQUEST_URI | "/api/_action/paypal/webhook/execute?sw-token=WLAE7o7u1IV5WxHvswXS7gpSIc4663X4" |
SCRIPT_FILENAME | "/var/customers/webs/kew/htdocs6/public/index.php" |
SCRIPT_NAME | "/index.php" |
SERVER_ADDR | "88.99.104.12" |
SERVER_ADMIN | "n.alzain@loewenstark.com" |
SERVER_NAME | "kewsw6-dev.kunden.loewenstark.de" |
SERVER_PORT | "443" |
SERVER_PROTOCOL | "HTTP/1.1" |
SERVER_SIGNATURE | "<address>Apache/2.4.62 (Debian) Server at kewsw6-dev.kunden.loewenstark.de Port 443</address>\n" |
SERVER_SOFTWARE | "Apache/2.4.62 (Debian)" |
SSL_TLS_SNI | "kewsw6-dev.kunden.loewenstark.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" |
UNIQUE_ID | "Z4FpXeQ7qaCFYy8-oghUggAAAFE" |