WebhookController :: executeWebhook
Request
GET Parameters
Key | Value |
---|---|
sw-token | "Ec1c4fy5bPKgHo77N2wJRxSBtV1F62hV" |
POST Parameters
Key | Value |
---|---|
create_time | "2024-11-15T08:36:54.522Z" |
event_type | "CHECKOUT.ORDER.APPROVED" |
event_version | "1.0" |
id | "WH-9CR41617X5547764C-4L94754022125860R" |
links | [ [ "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-9CR41617X5547764C-4L94754022125860R" "rel" => "self" "method" => "GET" ] [ "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-9CR41617X5547764C-4L94754022125860R/resend" "rel" => "resend" "method" => "POST" ] ] |
resource | [ "create_time" => "2024-11-15T08:36:34Z" "purchase_units" => [ [ "reference_id" => "default" "amount" => [ "currency_code" => "EUR" "value" => "17.90" "breakdown" => [ "item_total" => [ "currency_code" => "EUR" "value" => "13.00" ] "shipping" => [ "currency_code" => "EUR" "value" => "4.90" ] "handling" => [ "currency_code" => "EUR" "value" => "0.00" ] "tax_total" => [ "currency_code" => "EUR" "value" => "0.00" ] ] ] "payee" => [ "email_address" => "info@youksakka.de" "merchant_id" => "WZBDLVK32S44L" "display_data" => [ "brand_name" => "Youksakka Shop" ] ] "items" => [ [ "name" => "Holzpflegeöl für Bogen" "unit_amount" => [ "currency_code" => "EUR" "value" => "13.00" ] "quantity" => "1" "sku" => "10-300.2" ] ] "shipping" => [ "name" => [ "full_name" => "Stefan Koser" ] "address" => [ "address_line_1" => "Kirschallee 77" "admin_area_2" => "Potsdam" "postal_code" => "14469" "country_code" => "DE" ] ] ] ] "links" => [ [ "href" => "https://api.paypal.com/v2/checkout/orders/70X70729FP7478229" "rel" => "self" "method" => "GET" ] [ "href" => "https://api.paypal.com/v2/checkout/orders/70X70729FP7478229" "rel" => "update" "method" => "PATCH" ] [ "href" => "https://api.paypal.com/v2/checkout/orders/70X70729FP7478229/capture" "rel" => "capture" "method" => "POST" ] ] "id" => "70X70729FP7478229" "payment_source" => [ "paypal" => [ "email_address" => "stefan@koser.eu" "account_id" => "PYP3P969PMU3N" "account_status" => "VERIFIED" "name" => [ "given_name" => "Stefan" "surname" => "Koser" ] "phone_type" => "MOBILE" "phone_number" => [ "national_number" => "49015156015060" ] "address" => [ "country_code" => "DE" ] ] ] "intent" => "CAPTURE" "payer" => [ "name" => [ "given_name" => "Stefan" "surname" => "Koser" ] "email_address" => "stefan@koser.eu" "payer_id" => "PYP3P969PMU3N" "phone" => [ "phone_type" => "MOBILE" "phone_number" => [ "national_number" => "49015156015060" ] ] "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 | "dVNYKOp9H4A=" |
_route | "api.action.paypal.webhook.execute" |
_routeScope | [
"api"
] |
_route_params | [ "auth_required" => false ] |
_since | Shopware\Core\Framework\Routing\Annotation\Since {#726 -value: "0.9.0" } |
_stopwatch_token | "21587b" |
auth_required | false |
sw-context | Shopware\Core\Framework\Context {#739 #languageIdChain: [ "2fbb5fe2e29a4d70aa5854ce7ce3e20b" ] #versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425" #currencyId: "b7d2554b0ce847cd82f3ac9bd1c0dfca" #currencyFactor: 1.0 #scope: "system" #ruleIds: [] #source: Shopware\Core\Framework\Api\Context\SystemSource {#742 …} #considerInheritance: false #taxState: "gross" #rounding: Shopware\Core\Framework\DataAbstractionLayer\Pricing\CashRoundingConfig {#738 …} #extensions: [] -states: [] } |
Request Headers
Header | Value |
---|---|
accept | "*/*" |
connection | "close" |
content-length | "2222" |
content-type | "application/json" |
correlation-id | "037a080bb515a" |
host | "youksakka.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 | "c7709f9d-a32c-11ef-9d60-c15830a1176f" |
paypal-transmission-sig | "jCwfzAyzFQN13YiSawoNXDDtTN7RsOJMotU9uWBydCq+hQzMlnKQ7tpddkZWZ9wyEhPHFptMhUQETAraUNWWV36aCS8Q8Jwcl6ab4A36LIOaHICTV5pccgjjIAkjA1Ay/v/aUazr0g2zg0JqpApbm7qVd2mDdjTA4sLu3zDyzimv1aIbzmW1I6KKBzucWIzVepveojvBn9S3V4UEfWo8gZ2DV4EF8dr1gC8Jy5nBkEo9A12cuZ6Q6wGunZ+5uvU9/tLW1NbZw0CYQKwUZlr1eodvlna1iKmHEbGpgZ/ygavl2B9pVY0cAwqUjB9hmeVAZwW3KI1ghEbWMqlcOSsvIQ==" |
paypal-transmission-time | "2024-11-15T08:36:59Z" |
user-agent | "PayPal/AUHD-214.0-58711782" |
x-b3-spanid | "3135f8b29fe36d67" |
x-php-ob-level | "1" |
Request Content
Pretty
{ "id": "WH-9CR41617X5547764C-4L94754022125860R", "event_version": "1.0", "create_time": "2024-11-15T08:36:54.522Z", "resource_type": "checkout-order", "resource_version": "2.0", "event_type": "CHECKOUT.ORDER.APPROVED", "summary": "An order has been approved by buyer", "resource": { "create_time": "2024-11-15T08:36:34Z", "purchase_units": [ { "reference_id": "default", "amount": { "currency_code": "EUR", "value": "17.90", "breakdown": { "item_total": { "currency_code": "EUR", "value": "13.00" }, "shipping": { "currency_code": "EUR", "value": "4.90" }, "handling": { "currency_code": "EUR", "value": "0.00" }, "tax_total": { "currency_code": "EUR", "value": "0.00" } } }, "payee": { "email_address": "info@youksakka.de", "merchant_id": "WZBDLVK32S44L", "display_data": { "brand_name": "Youksakka Shop" } }, "items": [ { "name": "Holzpflege\u00f6l f\u00fcr Bogen", "unit_amount": { "currency_code": "EUR", "value": "13.00" }, "quantity": "1", "sku": "10-300.2" } ], "shipping": { "name": { "full_name": "Stefan Koser" }, "address": { "address_line_1": "Kirschallee 77", "admin_area_2": "Potsdam", "postal_code": "14469", "country_code": "DE" } } } ], "links": [ { "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/70X70729FP7478229", "rel": "self", "method": "GET" }, { "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/70X70729FP7478229", "rel": "update", "method": "PATCH" }, { "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/70X70729FP7478229\/capture", "rel": "capture", "method": "POST" } ], "id": "70X70729FP7478229", "payment_source": { "paypal": { "email_address": "stefan@koser.eu", "account_id": "PYP3P969PMU3N", "account_status": "VERIFIED", "name": { "given_name": "Stefan", "surname": "Koser" }, "phone_type": "MOBILE", "phone_number": { "national_number": "49015156015060" }, "address": { "country_code": "DE" } } }, "intent": "CAPTURE", "payer": { "name": { "given_name": "Stefan", "surname": "Koser" }, "email_address": "stefan@koser.eu", "payer_id": "PYP3P969PMU3N", "phone": { "phone_type": "MOBILE", "phone_number": { "national_number": "49015156015060" } }, "address": { "country_code": "DE" } }, "status": "APPROVED" }, "links": [ { "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-9CR41617X5547764C-4L94754022125860R", "rel": "self", "method": "GET" }, { "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-9CR41617X5547764C-4L94754022125860R\/resend", "rel": "resend", "method": "POST" } ] }
Raw
{"id":"WH-9CR41617X5547764C-4L94754022125860R","event_version":"1.0","create_time":"2024-11-15T08:36:54.522Z","resource_type":"checkout-order","resource_version":"2.0","event_type":"CHECKOUT.ORDER.APPROVED","summary":"An order has been approved by buyer","resource":{"create_time":"2024-11-15T08:36:34Z","purchase_units":[{"reference_id":"default","amount":{"currency_code":"EUR","value":"17.90","breakdown":{"item_total":{"currency_code":"EUR","value":"13.00"},"shipping":{"currency_code":"EUR","value":"4.90"},"handling":{"currency_code":"EUR","value":"0.00"},"tax_total":{"currency_code":"EUR","value":"0.00"}}},"payee":{"email_address":"info@youksakka.de","merchant_id":"WZBDLVK32S44L","display_data":{"brand_name":"Youksakka Shop"}},"items":[{"name":"Holzpflegeöl für Bogen","unit_amount":{"currency_code":"EUR","value":"13.00"},"quantity":"1","sku":"10-300.2"}],"shipping":{"name":{"full_name":"Stefan Koser"},"address":{"address_line_1":"Kirschallee 77","admin_area_2":"Potsdam","postal_code":"14469","country_code":"DE"}}}],"links":[{"href":"https://api.paypal.com/v2/checkout/orders/70X70729FP7478229","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v2/checkout/orders/70X70729FP7478229","rel":"update","method":"PATCH"},{"href":"https://api.paypal.com/v2/checkout/orders/70X70729FP7478229/capture","rel":"capture","method":"POST"}],"id":"70X70729FP7478229","payment_source":{"paypal":{"email_address":"stefan@koser.eu","account_id":"PYP3P969PMU3N","account_status":"VERIFIED","name":{"given_name":"Stefan","surname":"Koser"},"phone_type":"MOBILE","phone_number":{"national_number":"49015156015060"},"address":{"country_code":"DE"}}},"intent":"CAPTURE","payer":{"name":{"given_name":"Stefan","surname":"Koser"},"email_address":"stefan@koser.eu","payer_id":"PYP3P969PMU3N","phone":{"phone_type":"MOBILE","phone_number":{"national_number":"49015156015060"}},"address":{"country_code":"DE"}},"status":"APPROVED"},"links":[{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-9CR41617X5547764C-4L94754022125860R","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-9CR41617X5547764C-4L94754022125860R/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-security-policy | "object-src 'none'; script-src 'none'; base-uri 'self';" |
content-type | "text/html; charset=UTF-8" |
date | "Fri, 15 Nov 2024 08:37:11 GMT" |
referrer-policy | "strict-origin-when-cross-origin" |
strict-transport-security | "max-age=31536000; includeSubDomains" |
x-content-type-options | "nosniff" |
x-debug-token | "c4131f" |
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 | "def000007c0d91eaac779759fe1462dda5befc7c2f36c2a8b95d12bf93d8fd07ae48deec0335d811cdd6af7d8f2ef1dc074be128a14cc5eb7e3815474045f04b9035999b" |
APP_URL | "http://youksakka.kunden.loewenstark.de/public" |
COMPOSER_HOME | "/var/customers/webs/youksakka/var/cache/composer" |
DATABASE_URL | "mysql://youksakkasql1:lcWiubgGpo@127.0.0.1:3306/youksakkasql1" |
INSTANCE_ID | "yA1ZgoCzlDWZYdsCjIRAbW3lm7zxgL4M" |
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 | "0" |
SHOPWARE_HTTP_DEFAULT_TTL | "7200" |
Defined as regular env variables
Key | Value |
---|---|
APP_DEBUG | "1" |
CONTENT_LENGTH | "2222" |
CONTENT_TYPE | "application/json" |
CONTEXT_DOCUMENT_ROOT | "/var/customers/webs/youksakka/htdocs/public" |
CONTEXT_PREFIX | "" |
DOCUMENT_ROOT | "/var/customers/webs/youksakka/htdocs/public" |
FCGI_ROLE | "RESPONDER" |
GATEWAY_INTERFACE | "CGI/1.1" |
HTTPS | "on" |
HTTP_ACCEPT | "*/*" |
HTTP_CONNECTION | "close" |
HTTP_CORRELATION_ID | "037a080bb515a" |
HTTP_HOST | "youksakka.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 | "c7709f9d-a32c-11ef-9d60-c15830a1176f" |
HTTP_PAYPAL_TRANSMISSION_SIG | "jCwfzAyzFQN13YiSawoNXDDtTN7RsOJMotU9uWBydCq+hQzMlnKQ7tpddkZWZ9wyEhPHFptMhUQETAraUNWWV36aCS8Q8Jwcl6ab4A36LIOaHICTV5pccgjjIAkjA1Ay/v/aUazr0g2zg0JqpApbm7qVd2mDdjTA4sLu3zDyzimv1aIbzmW1I6KKBzucWIzVepveojvBn9S3V4UEfWo8gZ2DV4EF8dr1gC8Jy5nBkEo9A12cuZ6Q6wGunZ+5uvU9/tLW1NbZw0CYQKwUZlr1eodvlna1iKmHEbGpgZ/ygavl2B9pVY0cAwqUjB9hmeVAZwW3KI1ghEbWMqlcOSsvIQ==" |
HTTP_PAYPAL_TRANSMISSION_TIME | "2024-11-15T08:36:59Z" |
HTTP_USER_AGENT | "PayPal/AUHD-214.0-58711782" |
HTTP_X_B3_SPANID | "3135f8b29fe36d67" |
PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" |
PHPRC | "/var/www/php-fcgi-scripts/froxlor/youksakka/youksakka.kunden.loewenstark.de/" |
PHP_FCGI_CHILDREN | "0" |
PHP_FCGI_MAX_REQUESTS | "50" |
PHP_SELF | "/index.php" |
PWD | "/var/www/php-fcgi-scripts/froxlor/youksakka/youksakka.kunden.loewenstark.de" |
QUERY_STRING | "sw-token=Ec1c4fy5bPKgHo77N2wJRxSBtV1F62hV" |
REDIRECT_HTTPS | "on" |
REDIRECT_QUERY_STRING | "sw-token=Ec1c4fy5bPKgHo77N2wJRxSBtV1F62hV" |
REDIRECT_SSL_TLS_SNI | "youksakka.kunden.loewenstark.de" |
REDIRECT_STATUS | "200" |
REDIRECT_UNIQUE_ID | "ZzcIN10lQ8h4cNVRyvsrigAAAE4" |
REDIRECT_URL | "/api/_action/paypal/webhook/execute" |
REMOTE_ADDR | "173.0.81.140" |
REMOTE_PORT | "50273" |
REQUEST_METHOD | "POST" |
REQUEST_SCHEME | "https" |
REQUEST_TIME | 1731659831 |
REQUEST_TIME_FLOAT | 1731659831.6777 |
REQUEST_URI | "/api/_action/paypal/webhook/execute?sw-token=Ec1c4fy5bPKgHo77N2wJRxSBtV1F62hV" |
SCRIPT_FILENAME | "/var/customers/webs/youksakka/htdocs/public/index.php" |
SCRIPT_NAME | "/index.php" |
SERVER_ADDR | "88.99.104.12" |
SERVER_ADMIN | "n.alzain@loewenstark.com" |
SERVER_NAME | "youksakka.kunden.loewenstark.de" |
SERVER_PORT | "443" |
SERVER_PROTOCOL | "HTTP/1.1" |
SERVER_SIGNATURE | "<address>Apache/2.4.62 (Debian) Server at youksakka.kunden.loewenstark.de Port 443</address>\n" |
SERVER_SOFTWARE | "Apache/2.4.62 (Debian)" |
SSL_TLS_SNI | "youksakka.kunden.loewenstark.de" |
SYMFONY_DOTENV_VARS | "APP_ENV,APP_SECRET,APP_URL,MAILER_URL,DATABASE_URL,COMPOSER_HOME,INSTANCE_ID,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 | "ZzcIN10lQ8h4cNVRyvsrigAAAE4" |