WebhookController :: executeWebhook
Request
GET Parameters
Key | Value |
---|---|
sw-token | "rdLaMef1FU3QQ43zBqHC6Or8CRBn3gq8" |
POST Parameters
Key | Value |
---|---|
create_time | "2025-05-28T07:01:13.540Z" |
event_type | "PAYMENT.SALE.REFUNDED" |
event_version | "1.0" |
id | "WH-3LM38633M16092427-1JJ854406V5040833" |
links | [ [ "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-3LM38633M16092427-1JJ854406V5040833" "rel" => "self" "method" => "GET" ] [ "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-3LM38633M16092427-1JJ854406V5040833/resend" "rel" => "resend" "method" => "POST" ] ] |
resource | [ "id" => "9VL60388WP810735X" "state" => "completed" "amount" => [ "total" => "66.40" "currency" => "EUR" ] "description" => "Rückerstatung Best. 107395 - Leider nicht lieferbar" "refund_from_received_amount" => [ "value" => "64.41" "currency" => "EUR" ] "refund_from_transaction_fee" => [ "value" => "1.99" "currency" => "EUR" ] "total_refunded_amount" => [ "value" => "66.40" "currency" => "EUR" ] "refund_to_payer" => [ "value" => "66.40" "currency" => "EUR" ] "invoice_number" => "Best. 107395" "parent_payment" => "PAYID-M5P2TOI1M062751WN843845A" "sale_id" => "2XC40423Y84655045" "create_time" => "2025-05-28T07:01:09Z" "update_time" => "2025-05-28T07:01:09Z" "links" => [ [ "href" => "https://api.paypal.com/v1/payments/refund/9VL60388WP810735X" "rel" => "self" "method" => "GET" ] [ "href" => "https://api.paypal.com/v1/payments/payment/PAYID-M5P2TOI1M062751WN843845A" "rel" => "parent_payment" "method" => "GET" ] [ "href" => "https://api.paypal.com/v1/payments/sale/2XC40423Y84655045" "rel" => "sale" "method" => "GET" ] ] "refund_reason_code" => "REFUND" "application_context" => [ "related_qualifiers" => [ [ "type" => "CART" "id" => "0CN46151KN932344B" ] ] ] ] |
resource_type | "refund" |
summary | "A € 66.4 EUR sale payment was refunded" |
Uploaded Files
No files were uploaded
Request Attributes
Key | Value |
---|---|
_controller | "Swag\PayPal\Webhook\WebhookController::executeWebhook" |
_cspNonce | "zQolUPfinz0=" |
_route | "api.action.paypal.webhook.execute" |
_routeScope | [
"api"
] |
_route_params | [ "auth_required" => false ] |
_since | Shopware\Core\Framework\Routing\Annotation\Since {#1877 -value: "0.9.0" } |
_stopwatch_token | "0f56e4" |
auth_required | false |
sw-context | Shopware\Core\Framework\Context {#1863 #extensions: [] #languageIdChain: [ "2fbb5fe2e29a4d70aa5854ce7ce3e20b" ] #versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425" #currencyId: "b7d2554b0ce847cd82f3ac9bd1c0dfca" #currencyFactor: 1.0 #scope: "system" #ruleIds: [] #source: Shopware\Core\Framework\Api\Context\SystemSource {#1879 …} #considerInheritance: false #taxState: "gross" #rounding: Shopware\Core\Framework\DataAbstractionLayer\Pricing\CashRoundingConfig {#1861 …} -states: [] } |
Request Headers
Header | Value |
---|---|
accept | "*/*" |
connection | "close" |
content-length | "1558" |
content-type | "application/json" |
correlation-id | "f787507e11062" |
forwarded | "for="173.0.81.140";host="1671-allbluedev-techqm.e5j.de";proto=https" |
host | "1671-allbluedev-techqm.e5j.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 | "8d9786e3-3b91-11f0-af6d-4f938414dd27" |
paypal-transmission-sig | "SKPkA8rub5AqEfvCzTUPxiryOk1xGSSYQLMP8tDKQhSfsd4f95mmFhmWt0IBjD6Yo3jt0XafronOFc/y7kL2vTqXeoKQFl5QZopRP7q6GB9UiWgfxsQJWw9hMEZrS65fINkF+xMQGttUR69NCAmocIkFJFKcEeStZWmrQfodDlguh+Pa7Y308kvCuggn3q5lkT7v+CNZc38ImyjBuA1ga3NujvPBCBP/7nGVPqCCVBv5l5+d8jEUcHLZY06BouGNJ4kjiA30qPmXEjtH/TEX8IpMhqAdDfMkPolRqGnoxhzuhyPm+0lPWMqa2xqIfAdrAaBkbYqZc2Pdn2wDnt53CA==" |
paypal-transmission-time | "2025-05-28T07:01:18Z" |
user-agent | "PayPal/AUHR-1.0-1" |
x-forwarded-for | "173.0.81.140" |
x-php-ob-level | "1" |
Request Content
Pretty
{ "id": "WH-3LM38633M16092427-1JJ854406V5040833", "event_version": "1.0", "create_time": "2025-05-28T07:01:13.540Z", "resource_type": "refund", "event_type": "PAYMENT.SALE.REFUNDED", "summary": "A \u20ac 66.4 EUR sale payment was refunded", "resource": { "id": "9VL60388WP810735X", "state": "completed", "amount": { "total": "66.40", "currency": "EUR" }, "description": "R\u00fcckerstatung Best. 107395 - Leider nicht lieferbar", "refund_from_received_amount": { "value": "64.41", "currency": "EUR" }, "refund_from_transaction_fee": { "value": "1.99", "currency": "EUR" }, "total_refunded_amount": { "value": "66.40", "currency": "EUR" }, "refund_to_payer": { "value": "66.40", "currency": "EUR" }, "invoice_number": "Best. 107395", "parent_payment": "PAYID-M5P2TOI1M062751WN843845A", "sale_id": "2XC40423Y84655045", "create_time": "2025-05-28T07:01:09Z", "update_time": "2025-05-28T07:01:09Z", "links": [ { "href": "https:\/\/api.paypal.com\/v1\/payments\/refund\/9VL60388WP810735X", "rel": "self", "method": "GET" }, { "href": "https:\/\/api.paypal.com\/v1\/payments\/payment\/PAYID-M5P2TOI1M062751WN843845A", "rel": "parent_payment", "method": "GET" }, { "href": "https:\/\/api.paypal.com\/v1\/payments\/sale\/2XC40423Y84655045", "rel": "sale", "method": "GET" } ], "refund_reason_code": "REFUND", "application_context": { "related_qualifiers": [ { "type": "CART", "id": "0CN46151KN932344B" } ] } }, "links": [ { "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-3LM38633M16092427-1JJ854406V5040833", "rel": "self", "method": "GET" }, { "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-3LM38633M16092427-1JJ854406V5040833\/resend", "rel": "resend", "method": "POST" } ] }
Raw
{"id":"WH-3LM38633M16092427-1JJ854406V5040833","event_version":"1.0","create_time":"2025-05-28T07:01:13.540Z","resource_type":"refund","event_type":"PAYMENT.SALE.REFUNDED","summary":"A € 66.4 EUR sale payment was refunded","resource":{"id":"9VL60388WP810735X","state":"completed","amount":{"total":"66.40","currency":"EUR"},"description":"Rückerstatung Best. 107395 - Leider nicht lieferbar","refund_from_received_amount":{"value":"64.41","currency":"EUR"},"refund_from_transaction_fee":{"value":"1.99","currency":"EUR"},"total_refunded_amount":{"value":"66.40","currency":"EUR"},"refund_to_payer":{"value":"66.40","currency":"EUR"},"invoice_number":"Best. 107395","parent_payment":"PAYID-M5P2TOI1M062751WN843845A","sale_id":"2XC40423Y84655045","create_time":"2025-05-28T07:01:09Z","update_time":"2025-05-28T07:01:09Z","links":[{"href":"https://api.paypal.com/v1/payments/refund/9VL60388WP810735X","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v1/payments/payment/PAYID-M5P2TOI1M062751WN843845A","rel":"parent_payment","method":"GET"},{"href":"https://api.paypal.com/v1/payments/sale/2XC40423Y84655045","rel":"sale","method":"GET"}],"refund_reason_code":"REFUND","application_context":{"related_qualifiers":[{"type":"CART","id":"0CN46151KN932344B"}]}},"links":[{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-3LM38633M16092427-1JJ854406V5040833","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-3LM38633M16092427-1JJ854406V5040833/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 | "Thu, 29 May 2025 13:08:45 GMT" |
x-debug-token | "4fb876" |
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 | "def0000000d8d0d65cd5e3cc113edb063b690fb7449e12a64c07ba9a970d7fd330badeb86cb9a4ef7f9992d74caaed179f692dd5532e88adb08102f2ec841363c227c094" |
APP_URL | "http://1671-allbluedev-techqm.e5j.de" |
BLUE_GREEN_DEPLOYMENT | "1" |
COMPOSER_HOME | "/var/www/html/var/cache/composer" |
DATABASE_URL | "mysql://app_user:3764be39@localhost:3306/allbluedev" |
INSTANCE_ID | "O4D7IAwY4SV9l4gMnqWpc9eA2ydXrbSc" |
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 |
---|---|
APPLICATION_ENV | "development" |
APP_DEBUG | "1" |
CONTENT_LENGTH | "1558" |
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" |
HTTPS | "on" |
HTTP_ACCEPT | "*/*" |
HTTP_CONNECTION | "close" |
HTTP_CORRELATION_ID | "f787507e11062" |
HTTP_FORWARDED | "for="173.0.81.140";host="1671-allbluedev-techqm.e5j.de";proto=https" |
HTTP_HOST | "1671-allbluedev-techqm.e5j.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 | "8d9786e3-3b91-11f0-af6d-4f938414dd27" |
HTTP_PAYPAL_TRANSMISSION_SIG | "SKPkA8rub5AqEfvCzTUPxiryOk1xGSSYQLMP8tDKQhSfsd4f95mmFhmWt0IBjD6Yo3jt0XafronOFc/y7kL2vTqXeoKQFl5QZopRP7q6GB9UiWgfxsQJWw9hMEZrS65fINkF+xMQGttUR69NCAmocIkFJFKcEeStZWmrQfodDlguh+Pa7Y308kvCuggn3q5lkT7v+CNZc38ImyjBuA1ga3NujvPBCBP/7nGVPqCCVBv5l5+d8jEUcHLZY06BouGNJ4kjiA30qPmXEjtH/TEX8IpMhqAdDfMkPolRqGnoxhzuhyPm+0lPWMqa2xqIfAdrAaBkbYqZc2Pdn2wDnt53CA==" |
HTTP_PAYPAL_TRANSMISSION_TIME | "2025-05-28T07:01:18Z" |
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" |
PHP_FCGI_MAX_REQUESTS | "10000" |
PHP_SELF | "/index.php" |
PWD | "/var/www/cgi-bin" |
QUERY_STRING | "sw-token=rdLaMef1FU3QQ43zBqHC6Or8CRBn3gq8" |
REDIRECT_APPLICATION_ENV | "development" |
REDIRECT_HTTPS | "on" |
REDIRECT_QUERY_STRING | "sw-token=rdLaMef1FU3QQ43zBqHC6Or8CRBn3gq8" |
REDIRECT_SSL_TLS_SNI | "1671-allbluedev-techqm.e5j.de" |
REDIRECT_STATUS | "200" |
REDIRECT_TYPO3_CONTEXT | "Development" |
REDIRECT_URL | "/api/_action/paypal/webhook/execute" |
REMOTE_ADDR | "127.0.0.1" |
REMOTE_PORT | "2635" |
REQUEST_METHOD | "POST" |
REQUEST_SCHEME | "https" |
REQUEST_TIME | 1748524124 |
REQUEST_TIME_FLOAT | 1748524124.8745 |
REQUEST_URI | "/api/_action/paypal/webhook/execute?sw-token=rdLaMef1FU3QQ43zBqHC6Or8CRBn3gq8" |
SCRIPT_FILENAME | "/var/www/html/public/index.php" |
SCRIPT_NAME | "/index.php" |
SERVER_ADDR | "91.99.4.24" |
SERVER_ADMIN | "admin@jcdn.de" |
SERVER_NAME | "1671-allbluedev-techqm.e5j.de" |
SERVER_PORT | "443" |
SERVER_PROTOCOL | "HTTP/1.1" |
SERVER_SIGNATURE | "<address>Apache/2.4.62 (Debian) Server at 1671-allbluedev-techqm.e5j.de Port 443</address>\n" |
SERVER_SOFTWARE | "Apache/2.4.62 (Debian)" |
SHLVL | "0" |
SSL_TLS_SNI | "1671-allbluedev-techqm.e5j.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" |
TYPO3_CONTEXT | "Development" |