WebhookController :: executeWebhook
Request
GET Parameters
Key | Value |
---|---|
sw-token | "kKo3DdtcLRbk4PPYoaVZ4GTEZgEtQKWu" |
POST Parameters
Key | Value |
---|---|
create_time | "2025-05-13T13:41:04.162Z" |
event_type | "CHECKOUT.ORDER.APPROVED" |
event_version | "1.0" |
id | "WH-8CF14016HN007974L-4H97945154429612V" |
links | [ [ "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-8CF14016HN007974L-4H97945154429612V" "rel" => "self" "method" => "GET" ] [ "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-8CF14016HN007974L-4H97945154429612V/resend" "rel" => "resend" "method" => "POST" ] ] |
resource | [ "create_time" => "2025-05-13T13:40:33Z" "purchase_units" => [ [ "reference_id" => "default" "amount" => [ "currency_code" => "EUR" "value" => "59.20" "breakdown" => [ "item_total" => [ "currency_code" => "EUR" "value" => "59.20" ] "shipping" => [ "currency_code" => "EUR" "value" => "0.00" ] "handling" => [ "currency_code" => "EUR" "value" => "0.00" ] "tax_total" => [ "currency_code" => "EUR" "value" => "0.00" ] ] ] "payee" => [ "email_address" => "info@stoffbeistoff.de" "merchant_id" => "48WD4XLFWPE7U" "display_data" => [ "brand_name" => "stoffbeistoff" ] ] "items" => [ [ "name" => "Musselin "Eselei"- SBS10482" "unit_amount" => [ "currency_code" => "EUR" "value" => "1.09" ] "tax" => [ "currency_code" => "EUR" "value" => "0.00" ] "quantity" => "17" "sku" => "SBS10482" "tax_rate" => "0" "category" => "PHYSICAL_GOODS" ] [ "name" => "Musselin Emma - SBS11271" "unit_amount" => [ "currency_code" => "EUR" "value" => "1.09" ] "tax" => [ "currency_code" => "EUR" "value" => "0.00" ] "quantity" => "13" "sku" => "SBS11271" "tax_rate" => "0" "category" => "PHYSICAL_GOODS" ] [ "name" => "Musselin "Britta"- SBS12141" "unit_amount" => [ "currency_code" => "EUR" "value" => "1.29" ] "tax" => [ "currency_code" => "EUR" "value" => "0.00" ] "quantity" => "13" "sku" => "SBS12141" "tax_rate" => "0" "category" => "PHYSICAL_GOODS" ] [ "name" => "Musselin "Blumenwiese auf Streifen"- SBS12252" "unit_amount" => [ "currency_code" => "EUR" "value" => "1.39" ] "tax" => [ "currency_code" => "EUR" "value" => "0.00" ] "quantity" => "7" "sku" => "SBS12252" "tax_rate" => "0" "category" => "PHYSICAL_GOODS" ] ] "shipping" => [ "name" => [ "full_name" => "Barbara Schratt" ] "address" => [ "address_line_1" => "Malerwinkelweg 10" "admin_area_2" => "Altstädten" "postal_code" => "87527" "country_code" => "DE" ] ] ] ] "links" => [ [ "href" => "https://api.paypal.com/v2/checkout/orders/6YM383983E6752819" "rel" => "self" "method" => "GET" ] [ "href" => "https://api.paypal.com/v2/checkout/orders/6YM383983E6752819" "rel" => "update" "method" => "PATCH" ] [ "href" => "https://api.paypal.com/v2/checkout/orders/6YM383983E6752819/capture" "rel" => "capture" "method" => "POST" ] ] "id" => "6YM383983E6752819" "payment_source" => [ "paypal" => [ "email_address" => "barbara.schratt@web.de" "account_id" => "JKDWB8R3KCMT4" "account_status" => "VERIFIED" "name" => [ "given_name" => "Barbara" "surname" => "Schratt" ] "address" => [ "country_code" => "DE" ] ] ] "intent" => "CAPTURE" "payer" => [ "name" => [ "given_name" => "Barbara" "surname" => "Schratt" ] "email_address" => "barbara.schratt@web.de" "payer_id" => "JKDWB8R3KCMT4" "address" => [ "country_code" => "DE" ] ] "status" => "APPROVED" ] |
resource_type | "checkout-order" |
resource_version | "2.0" |
summary | "An order has been approved by buyer" |
Uploaded Files
No files were uploaded
Request Attributes
Key | Value |
---|---|
_controller | "Swag\PayPal\Webhook\WebhookController::executeWebhook" |
_cspNonce | "h6K462LRcoY=" |
_route | "api.action.paypal.webhook.execute" |
_routeScope | [
"api"
] |
_route_params | [ "auth_required" => false ] |
_stopwatch_token | "0f8cbe" |
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 | "2847" |
content-type | "application/json" |
correlation-id | "f388743251b24" |
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 | "ec8b8ded-2fff-11f0-8b0d-b39b82e990d0" |
paypal-transmission-sig | "G/ukOx8xNy84+NROn7FZCqo6u+7Cq3whpyll/y8YcDSgdxFoADkalBKiMyCSsG0lH58Nj2cDaH92Vebdz34kiJ/w25ZZD4UlamkIHhJDvYddwwTF6qWyRpQnp2gl1uu7wRXYryAvlPeezicdMqFa40DhNg9HUm3yXu7EmGmHkc6V98vqceQcuKWWgt6Cn+7uSVjwKRPGQkAZPGRVm5ICueKgZeny0hml1i/M23qUlCoDBeI9wkMd7jLYvqyYPUqb3iggEbi5Qz1Q9OVOmk5ctNXHRB7k+xTjX2tbnz4V8aSWYgAQ0kns8xVJ4hKxbtJS052QoVHkyEFYTVgDHNKCbg==" |
paypal-transmission-time | "2025-05-13T13:41:08Z" |
surrogate-capability | "symfony="ESI/1.0"" |
user-agent | "PayPal/AUHD-1.0-1" |
x-forwarded-for | "173.0.81.140" |
x-php-ob-level | "1" |
Request Content
Pretty
{ "id": "WH-8CF14016HN007974L-4H97945154429612V", "event_version": "1.0", "create_time": "2025-05-13T13:41:04.162Z", "resource_type": "checkout-order", "resource_version": "2.0", "event_type": "CHECKOUT.ORDER.APPROVED", "summary": "An order has been approved by buyer", "resource": { "create_time": "2025-05-13T13:40:33Z", "purchase_units": [ { "reference_id": "default", "amount": { "currency_code": "EUR", "value": "59.20", "breakdown": { "item_total": { "currency_code": "EUR", "value": "59.20" }, "shipping": { "currency_code": "EUR", "value": "0.00" }, "handling": { "currency_code": "EUR", "value": "0.00" }, "tax_total": { "currency_code": "EUR", "value": "0.00" } } }, "payee": { "email_address": "info@stoffbeistoff.de", "merchant_id": "48WD4XLFWPE7U", "display_data": { "brand_name": "stoffbeistoff" } }, "items": [ { "name": "Musselin \"Eselei\"- SBS10482", "unit_amount": { "currency_code": "EUR", "value": "1.09" }, "tax": { "currency_code": "EUR", "value": "0.00" }, "quantity": "17", "sku": "SBS10482", "tax_rate": "0", "category": "PHYSICAL_GOODS" }, { "name": "Musselin Emma - SBS11271", "unit_amount": { "currency_code": "EUR", "value": "1.09" }, "tax": { "currency_code": "EUR", "value": "0.00" }, "quantity": "13", "sku": "SBS11271", "tax_rate": "0", "category": "PHYSICAL_GOODS" }, { "name": "Musselin \"Britta\"- SBS12141", "unit_amount": { "currency_code": "EUR", "value": "1.29" }, "tax": { "currency_code": "EUR", "value": "0.00" }, "quantity": "13", "sku": "SBS12141", "tax_rate": "0", "category": "PHYSICAL_GOODS" }, { "name": "Musselin \"Blumenwiese auf Streifen\"- SBS12252", "unit_amount": { "currency_code": "EUR", "value": "1.39" }, "tax": { "currency_code": "EUR", "value": "0.00" }, "quantity": "7", "sku": "SBS12252", "tax_rate": "0", "category": "PHYSICAL_GOODS" } ], "shipping": { "name": { "full_name": "Barbara Schratt" }, "address": { "address_line_1": "Malerwinkelweg 10", "admin_area_2": "Altst\u00e4dten", "postal_code": "87527", "country_code": "DE" } } } ], "links": [ { "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/6YM383983E6752819", "rel": "self", "method": "GET" }, { "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/6YM383983E6752819", "rel": "update", "method": "PATCH" }, { "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/6YM383983E6752819\/capture", "rel": "capture", "method": "POST" } ], "id": "6YM383983E6752819", "payment_source": { "paypal": { "email_address": "barbara.schratt@web.de", "account_id": "JKDWB8R3KCMT4", "account_status": "VERIFIED", "name": { "given_name": "Barbara", "surname": "Schratt" }, "address": { "country_code": "DE" } } }, "intent": "CAPTURE", "payer": { "name": { "given_name": "Barbara", "surname": "Schratt" }, "email_address": "barbara.schratt@web.de", "payer_id": "JKDWB8R3KCMT4", "address": { "country_code": "DE" } }, "status": "APPROVED" }, "links": [ { "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-8CF14016HN007974L-4H97945154429612V", "rel": "self", "method": "GET" }, { "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-8CF14016HN007974L-4H97945154429612V\/resend", "rel": "resend", "method": "POST" } ] }
Raw
{"id":"WH-8CF14016HN007974L-4H97945154429612V","event_version":"1.0","create_time":"2025-05-13T13:41:04.162Z","resource_type":"checkout-order","resource_version":"2.0","event_type":"CHECKOUT.ORDER.APPROVED","summary":"An order has been approved by buyer","resource":{"create_time":"2025-05-13T13:40:33Z","purchase_units":[{"reference_id":"default","amount":{"currency_code":"EUR","value":"59.20","breakdown":{"item_total":{"currency_code":"EUR","value":"59.20"},"shipping":{"currency_code":"EUR","value":"0.00"},"handling":{"currency_code":"EUR","value":"0.00"},"tax_total":{"currency_code":"EUR","value":"0.00"}}},"payee":{"email_address":"info@stoffbeistoff.de","merchant_id":"48WD4XLFWPE7U","display_data":{"brand_name":"stoffbeistoff"}},"items":[{"name":"Musselin \"Eselei\"- SBS10482","unit_amount":{"currency_code":"EUR","value":"1.09"},"tax":{"currency_code":"EUR","value":"0.00"},"quantity":"17","sku":"SBS10482","tax_rate":"0","category":"PHYSICAL_GOODS"},{"name":"Musselin Emma - SBS11271","unit_amount":{"currency_code":"EUR","value":"1.09"},"tax":{"currency_code":"EUR","value":"0.00"},"quantity":"13","sku":"SBS11271","tax_rate":"0","category":"PHYSICAL_GOODS"},{"name":"Musselin \"Britta\"- SBS12141","unit_amount":{"currency_code":"EUR","value":"1.29"},"tax":{"currency_code":"EUR","value":"0.00"},"quantity":"13","sku":"SBS12141","tax_rate":"0","category":"PHYSICAL_GOODS"},{"name":"Musselin \"Blumenwiese auf Streifen\"- SBS12252","unit_amount":{"currency_code":"EUR","value":"1.39"},"tax":{"currency_code":"EUR","value":"0.00"},"quantity":"7","sku":"SBS12252","tax_rate":"0","category":"PHYSICAL_GOODS"}],"shipping":{"name":{"full_name":"Barbara Schratt"},"address":{"address_line_1":"Malerwinkelweg 10","admin_area_2":"Altstädten","postal_code":"87527","country_code":"DE"}}}],"links":[{"href":"https://api.paypal.com/v2/checkout/orders/6YM383983E6752819","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v2/checkout/orders/6YM383983E6752819","rel":"update","method":"PATCH"},{"href":"https://api.paypal.com/v2/checkout/orders/6YM383983E6752819/capture","rel":"capture","method":"POST"}],"id":"6YM383983E6752819","payment_source":{"paypal":{"email_address":"barbara.schratt@web.de","account_id":"JKDWB8R3KCMT4","account_status":"VERIFIED","name":{"given_name":"Barbara","surname":"Schratt"},"address":{"country_code":"DE"}}},"intent":"CAPTURE","payer":{"name":{"given_name":"Barbara","surname":"Schratt"},"email_address":"barbara.schratt@web.de","payer_id":"JKDWB8R3KCMT4","address":{"country_code":"DE"}},"status":"APPROVED"},"links":[{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-8CF14016HN007974L-4H97945154429612V","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-8CF14016HN007974L-4H97945154429612V/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-security-policy | "object-src 'none'; script-src 'none'; base-uri 'self'; frame-ancestors 'none';" |
content-type | "text/html; charset=UTF-8" |
date | "Tue, 13 May 2025 13:41:10 GMT" |
referrer-policy | "strict-origin-when-cross-origin" |
server-timing | "" |
strict-transport-security | "max-age=31536000; includeSubDomains" |
x-content-type-options | "nosniff" |
x-debug-token | "343cc4" |
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 | "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 | "2847" |
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 | "f388743251b24" |
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 | "ec8b8ded-2fff-11f0-8b0d-b39b82e990d0" |
HTTP_PAYPAL_TRANSMISSION_SIG | "G/ukOx8xNy84+NROn7FZCqo6u+7Cq3whpyll/y8YcDSgdxFoADkalBKiMyCSsG0lH58Nj2cDaH92Vebdz34kiJ/w25ZZD4UlamkIHhJDvYddwwTF6qWyRpQnp2gl1uu7wRXYryAvlPeezicdMqFa40DhNg9HUm3yXu7EmGmHkc6V98vqceQcuKWWgt6Cn+7uSVjwKRPGQkAZPGRVm5ICueKgZeny0hml1i/M23qUlCoDBeI9wkMd7jLYvqyYPUqb3iggEbi5Qz1Q9OVOmk5ctNXHRB7k+xTjX2tbnz4V8aSWYgAQ0kns8xVJ4hKxbtJS052QoVHkyEFYTVgDHNKCbg==" |
HTTP_PAYPAL_TRANSMISSION_TIME | "2025-05-13T13:41:08Z" |
HTTP_USER_AGENT | "PayPal/AUHD-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_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 | "40203" |
REQUEST_METHOD | "POST" |
REQUEST_SCHEME | "https" |
REQUEST_TIME | 1747143670 |
REQUEST_TIME_FLOAT | 1747143670.6072 |
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" |