WebhookController :: executeWebhook
Request
GET Parameters
Key | Value |
---|---|
sw-token | "jD5vwJvXvCIWY6VRgxemihUhgBkr8yyr" |
POST Parameters
Key | Value |
---|---|
create_time | "2025-05-12T16:48:39.493Z" |
event_type | "PAYMENT.CAPTURE.COMPLETED" |
event_version | "1.0" |
id | "WH-4U586718TG9305303-3C790469U1813005V" |
links | [ [ "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-4U586718TG9305303-3C790469U1813005V" "rel" => "self" "method" => "GET" ] [ "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-4U586718TG9305303-3C790469U1813005V/resend" "rel" => "resend" "method" => "POST" ] ] |
resource | [ "id" => "9RM478404L209974C" "amount" => [ "currency_code" => "EUR" "value" => "45.95" ] "final_capture" => true "seller_protection" => [ "status" => "ELIGIBLE" "dispute_categories" => [ "ITEM_NOT_RECEIVED" "UNAUTHORIZED_TRANSACTION" ] ] "seller_receivable_breakdown" => [ "gross_amount" => [ "currency_code" => "EUR" "value" => "45.95" ] "paypal_fee" => [ "currency_code" => "EUR" "value" => "1.91" ] "net_amount" => [ "currency_code" => "EUR" "value" => "44.04" ] ] "custom_id" => "{"orderTransactionId":"0196c56561fa73a386ea3127183062e4","pluginVersion":"9.7.4","shopwareVersion":"6.6.10.4"}" "status" => "COMPLETED" "supplementary_data" => [ "related_ids" => [ "order_id" => "8WT58983TN3342601" ] ] "payee" => [ "email_address" => "jona.solomon@firstaustria.com" "merchant_id" => "XB9HKF4HX9KLJ" ] "create_time" => "2025-05-12T16:48:34Z" "update_time" => "2025-05-12T16:48:34Z" "links" => [ [ "href" => "https://api.paypal.com/v2/payments/captures/9RM478404L209974C" "rel" => "self" "method" => "GET" ] [ "href" => "https://api.paypal.com/v2/payments/captures/9RM478404L209974C/refund" "rel" => "refund" "method" => "POST" ] [ "href" => "https://api.paypal.com/v2/checkout/orders/8WT58983TN3342601" "rel" => "up" "method" => "GET" ] ] ] |
resource_type | "capture" |
resource_version | "2.0" |
summary | "Payment completed for € 45.95 EUR" |
Uploaded Files
No files were uploaded
Request Attributes
Key | Value |
---|---|
_controller | "Swag\PayPal\Webhook\WebhookController::executeWebhook" |
_cspNonce | "2KMtjFK+Yc8=" |
_route | "api.action.paypal.webhook.execute" |
_routeScope | [
"api"
] |
_route_params | [ "auth_required" => false ] |
_stopwatch_token | "fca4b9" |
auth_required | false |
sw-context | Shopware\Core\Framework\Context {#1806 #extensions: [] #scope: "system" #rulesLocked: false #source: Shopware\Core\Framework\Api\Context\SystemSource {#1816 …} #ruleIds: [] #currencyId: "b7d2554b0ce847cd82f3ac9bd1c0dfca" #languageIdChain: [ "2fbb5fe2e29a4d70aa5854ce7ce3e20b" ] #versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425" #currencyFactor: 1.0 #considerInheritance: false #taxState: "gross" #rounding: Shopware\Core\Framework\DataAbstractionLayer\Pricing\CashRoundingConfig {#1793 …} #states: [] } |
Request Headers
Header | Value |
---|---|
accept | "*/*" |
content-length | "1659" |
content-type | "application/json" |
correlation-id | "74f85f6e03170" |
forwarded | "for="173.0.81.65";host="firstaustria.webon.at";proto=https" |
host | "firstaustria.webon.at" |
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 | "f7131f4e-2f50-11f0-a864-f9d7b5e1823c" |
paypal-transmission-sig | "fYDHFPrprrd5YbmyRaaACreeMbLyc/WHlbxErNbWoqwyIZ17MzgP3SG5loNIK4WuKtx77JVlXJNg8FlMnR0j1SaRzijbAP0LbcIculv60csk4V6qCr3dxcc4WTJ4ypMWx//ueVh6oFWeMwQ0/vWa8vMlAnyETxZ3w43ukeETdeeQg+LcSAVykoZsEkiDZn7g//EZr2BcJKtnSpHL3owuiC6YgTKeO/pYMKy1GPKaVX1ju/YDyr7Vc+m90CO7C4iya7QKDSn4SHCS0lsE/jpU5BE2OS4F06+94AIvk1DKazekn5gGqFUWa6s43iKv0GAFkuTtno/PykMNksYQTvpXSQ==" |
paypal-transmission-time | "2025-05-12T16:48:43Z" |
surrogate-capability | "symfony="ESI/1.0"" |
user-agent | "PayPal/AUHR-214.0-58843836" |
x-b3-spanid | "f769d58ee22704c0" |
x-forwarded-for | "173.0.81.65" |
x-php-ob-level | "1" |
Request Content
Pretty
{ "id": "WH-4U586718TG9305303-3C790469U1813005V", "event_version": "1.0", "create_time": "2025-05-12T16:48:39.493Z", "resource_type": "capture", "resource_version": "2.0", "event_type": "PAYMENT.CAPTURE.COMPLETED", "summary": "Payment completed for \u20ac 45.95 EUR", "resource": { "id": "9RM478404L209974C", "amount": { "currency_code": "EUR", "value": "45.95" }, "final_capture": true, "seller_protection": { "status": "ELIGIBLE", "dispute_categories": [ "ITEM_NOT_RECEIVED", "UNAUTHORIZED_TRANSACTION" ] }, "seller_receivable_breakdown": { "gross_amount": { "currency_code": "EUR", "value": "45.95" }, "paypal_fee": { "currency_code": "EUR", "value": "1.91" }, "net_amount": { "currency_code": "EUR", "value": "44.04" } }, "custom_id": "{\"orderTransactionId\":\"0196c56561fa73a386ea3127183062e4\",\"pluginVersion\":\"9.7.4\",\"shopwareVersion\":\"6.6.10.4\"}", "status": "COMPLETED", "supplementary_data": { "related_ids": { "order_id": "8WT58983TN3342601" } }, "payee": { "email_address": "jona.solomon@firstaustria.com", "merchant_id": "XB9HKF4HX9KLJ" }, "create_time": "2025-05-12T16:48:34Z", "update_time": "2025-05-12T16:48:34Z", "links": [ { "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/9RM478404L209974C", "rel": "self", "method": "GET" }, { "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/9RM478404L209974C\/refund", "rel": "refund", "method": "POST" }, { "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/8WT58983TN3342601", "rel": "up", "method": "GET" } ] }, "links": [ { "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-4U586718TG9305303-3C790469U1813005V", "rel": "self", "method": "GET" }, { "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-4U586718TG9305303-3C790469U1813005V\/resend", "rel": "resend", "method": "POST" } ] }
Raw
{"id":"WH-4U586718TG9305303-3C790469U1813005V","event_version":"1.0","create_time":"2025-05-12T16:48:39.493Z","resource_type":"capture","resource_version":"2.0","event_type":"PAYMENT.CAPTURE.COMPLETED","summary":"Payment completed for € 45.95 EUR","resource":{"id":"9RM478404L209974C","amount":{"currency_code":"EUR","value":"45.95"},"final_capture":true,"seller_protection":{"status":"ELIGIBLE","dispute_categories":["ITEM_NOT_RECEIVED","UNAUTHORIZED_TRANSACTION"]},"seller_receivable_breakdown":{"gross_amount":{"currency_code":"EUR","value":"45.95"},"paypal_fee":{"currency_code":"EUR","value":"1.91"},"net_amount":{"currency_code":"EUR","value":"44.04"}},"custom_id":"{\"orderTransactionId\":\"0196c56561fa73a386ea3127183062e4\",\"pluginVersion\":\"9.7.4\",\"shopwareVersion\":\"6.6.10.4\"}","status":"COMPLETED","supplementary_data":{"related_ids":{"order_id":"8WT58983TN3342601"}},"payee":{"email_address":"jona.solomon@firstaustria.com","merchant_id":"XB9HKF4HX9KLJ"},"create_time":"2025-05-12T16:48:34Z","update_time":"2025-05-12T16:48:34Z","links":[{"href":"https://api.paypal.com/v2/payments/captures/9RM478404L209974C","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v2/payments/captures/9RM478404L209974C/refund","rel":"refund","method":"POST"},{"href":"https://api.paypal.com/v2/checkout/orders/8WT58983TN3342601","rel":"up","method":"GET"}]},"links":[{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-4U586718TG9305303-3C790469U1813005V","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-4U586718TG9305303-3C790469U1813005V/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 17:12:28 GMT" |
server-timing | "" |
x-debug-token | "a4e870" |
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 | "def00000511d5f5a36ab1426edab823c7fbc4635658e9e21222159d89dd1ec1eaa52b0748afe9183508da6f30ad110da5e7cd5398cdec48cc13fc2c3f51e73e813e9a76e" |
APP_URL | "https://www.firstaustria.com" |
BLUE_GREEN_DEPLOYMENT | "0" |
COMPOSER_HOME | "/srv/customers/firstaustria/websites/shop/var/cache/composer" |
DATABASE_URL | "mysql://firstaustria:ELTeoK3QaDwBRQ4if7Dk@localhost:3306/firstaustria" |
INSTANCE_ID | "QqpBSRXAUfwqcCy7lgYJiIXLxbWJEYdW" |
LOCK_DSN | "flock" |
MAILER_URL | "null://null" |
OPENSEARCH_URL | "http://localhost:9200" |
PROXY_URL | "http://localhost" |
SHOPWARE_CDN_STRATEGY_DEFAULT | "id" |
SHOPWARE_ES_ENABLED | "0" |
SHOPWARE_ES_HOSTS | "" |
SHOPWARE_ES_INDEXING_ENABLED | "0" |
SHOPWARE_ES_INDEX_PREFIX | "sw" |
SHOPWARE_ES_THROW_EXCEPTION | "1" |
SHOPWARE_HTTP_CACHE_ENABLED | "1" |
SHOPWARE_HTTP_DEFAULT_TTL | "7200" |
Defined as regular env variables
Key | Value |
---|---|
APP_DEBUG | "1" |
CONTENT_LENGTH | "1659" |
CONTENT_TYPE | "application/json" |
DOCUMENT_ROOT | "/home/webon-firstaustria/htdocs/firstaustria.webon.at/shop/public" |
DOCUMENT_URI | "/index.php" |
FCGI_ROLE | "RESPONDER" |
GATEWAY_INTERFACE | "CGI/1.1" |
HOME | "/home/webon-firstaustria" |
HTTPS | "on" |
HTTP_ACCEPT | "*/*" |
HTTP_CONTENT_LENGTH | "1659" |
HTTP_CONTENT_TYPE | "application/json" |
HTTP_CORRELATION_ID | "74f85f6e03170" |
HTTP_FORWARDED | "for="173.0.81.65";host="firstaustria.webon.at";proto=https" |
HTTP_HOST | "firstaustria.webon.at" |
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 | "f7131f4e-2f50-11f0-a864-f9d7b5e1823c" |
HTTP_PAYPAL_TRANSMISSION_SIG | "fYDHFPrprrd5YbmyRaaACreeMbLyc/WHlbxErNbWoqwyIZ17MzgP3SG5loNIK4WuKtx77JVlXJNg8FlMnR0j1SaRzijbAP0LbcIculv60csk4V6qCr3dxcc4WTJ4ypMWx//ueVh6oFWeMwQ0/vWa8vMlAnyETxZ3w43ukeETdeeQg+LcSAVykoZsEkiDZn7g//EZr2BcJKtnSpHL3owuiC6YgTKeO/pYMKy1GPKaVX1ju/YDyr7Vc+m90CO7C4iya7QKDSn4SHCS0lsE/jpU5BE2OS4F06+94AIvk1DKazekn5gGqFUWa6s43iKv0GAFkuTtno/PykMNksYQTvpXSQ==" |
HTTP_PAYPAL_TRANSMISSION_TIME | "2025-05-12T16:48:43Z" |
HTTP_USER_AGENT | "PayPal/AUHR-214.0-58843836" |
HTTP_X_B3_SPANID | "f769d58ee22704c0" |
HTTP_X_FORWARDED_FOR | "173.0.81.65" |
PHP_SELF | "/index.php" |
QUERY_STRING | "sw-token=jD5vwJvXvCIWY6VRgxemihUhgBkr8yyr" |
REDIRECT_STATUS | "200" |
REMOTE_ADDR | "127.0.0.1" |
REMOTE_PORT | "55524" |
REQUEST_METHOD | "POST" |
REQUEST_SCHEME | "https" |
REQUEST_TIME | 1747156347 |
REQUEST_TIME_FLOAT | 1747156347.9713 |
REQUEST_URI | "/api/_action/paypal/webhook/execute?sw-token=jD5vwJvXvCIWY6VRgxemihUhgBkr8yyr" |
SCRIPT_FILENAME | "/home/webon-firstaustria/htdocs/firstaustria.webon.at/shop/public/index.php" |
SCRIPT_NAME | "/index.php" |
SERVER_ADDR | "157.230.24.178" |
SERVER_NAME | "firstaustria.webon.at" |
SERVER_PORT | "443" |
SERVER_PROTOCOL | "HTTP/1.1" |
SERVER_SOFTWARE | "nginx/1.26.3" |
SYMFONY_DOTENV_PATH | "/home/webon-firstaustria/htdocs/firstaustria.webon.at/shop/.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,COMPOSER_HOME,SHOPWARE_ES_HOSTS,SHOPWARE_CDN_STRATEGY_DEFAULT" |
USER | "webon-firstaustria" |