Request / Response
Request
GET Parameters
Key | Value |
---|---|
sw-token | "cxZp2QzZYOkTMO5Wu28lknQfIp88QifK" |
POST Parameters
Key | Value |
---|---|
create_time | "2024-11-21T13:59:44.994Z" |
event_type | "CHECKOUT.ORDER.APPROVED" |
event_version | "1.0" |
id | "WH-7DY230112P8514123-90X00131V7049952J" |
links | [ [ "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-7DY230112P8514123-90X00131V7049952J" "rel" => "self" "method" => "GET" ] [ "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-7DY230112P8514123-90X00131V7049952J/resend" "rel" => "resend" "method" => "POST" ] ] |
resource | [ "create_time" => "2024-11-21T13:57:29Z" "purchase_units" => [ [ "reference_id" => "default" "amount" => [ "currency_code" => "EUR" "value" => "24.80" "breakdown" => [ "item_total" => [ "currency_code" => "EUR" "value" => "18.90" ] "shipping" => [ "currency_code" => "EUR" "value" => "5.90" ] ] ] "payee" => [ "email_address" => "info@kraeuterland.de" "merchant_id" => "YTKURVG58XSYL" "display_data" => [ "brand_name" => "Kräuterland Natur-Ölmühle GmbH" ] ] "description" => "PayPal-Rechnungsnummer 1287612 entspricht Shopware-Bestellnummer" "invoice_id" => "1287612" "items" => [ [ "name" => "Schwarzkümmelöl gefiltert 500ml" "unit_amount" => [ "currency_code" => "EUR" "value" => "18.90" ] "quantity" => "1" "sku" => "100025" "category" => "PHYSICAL_GOODS" ] ] "shipping" => [ "name" => [ "full_name" => "Torsten Zöller" ] "address" => [ "address_line_1" => "Martin-Luther-Strasse 17a" "admin_area_2" => "Obernburg" "postal_code" => "63785" "country_code" => "DE" ] ] ] ] "links" => [ [ "href" => "https://api.paypal.com/v2/checkout/orders/99T65383N4126980E" "rel" => "self" "method" => "GET" ] [ "href" => "https://api.paypal.com/v2/checkout/orders/99T65383N4126980E" "rel" => "update" "method" => "PATCH" ] [ "href" => "https://api.paypal.com/v2/checkout/orders/99T65383N4126980E/capture" "rel" => "capture" "method" => "POST" ] ] "id" => "99T65383N4126980E" "payment_source" => [ "paypal" => [ "email_address" => "torstenzoeller@gmx.de" "account_id" => "SJ5FGGG8WUV72" "account_status" => "VERIFIED" "name" => [ "given_name" => "Torsten" "surname" => "Zöller" ] "address" => [ "address_line_1" => "Martin-Luther-Strasse 17a" "admin_area_2" => "Obernburg" "postal_code" => "63785" "country_code" => "DE" ] ] ] "intent" => "CAPTURE" "payer" => [ "name" => [ "given_name" => "Torsten" "surname" => "Zöller" ] "email_address" => "torstenzoeller@gmx.de" "payer_id" => "SJ5FGGG8WUV72" "address" => [ "address_line_1" => "Martin-Luther-Strasse 17a" "admin_area_2" => "Obernburg" "postal_code" => "63785" "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 |
---|---|
_stopwatch_token | "823d80" |
Request Headers
Header | Value |
---|---|
accept | "*/*" |
connection | "close" |
content-length | "2346" |
content-type | "application/json" |
correlation-id | "f761062144be1" |
forwarded | "for="173.0.81.140";host="s6.kraeuterland.de";proto=https" |
host | "s6.kraeuterland.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 | "df016bec-a810-11ef-b932-55ff737278fe" |
paypal-transmission-sig | "bHWB6NWHf4vcAeldtlxAcxOnxCu2CZsx/MXR6nBeq8uRDUVxgXBCSUg/M8zQTCvohgO0wYxvho+xJdRAElVbT7JlM9a61RSnUHdAsCgqNbqeww9T1v7lOog0Nty2zS1wEPGNRZipuYfGvM+a4HcnamB8RpREGIWCas0FceKwRGNcCxLHqlQEHU2Co/tz/IfHILSz2cs86+H3SE8C8QzRm2eglix/RfnUh9vvBUa035ReNw/rIQA/YwaDomJjBnj1XmkX90OjPRboHUEUuwsLM1LTwoxq2bR7eDWIYlzoPQz5eqsFBZiR61GgDj87Gexl0T/UlQLD1Udx5La1K+9q4w==" |
paypal-transmission-time | "2024-11-21T13:59:48Z" |
surrogate-capability | "symfony="ESI/1.0"" |
user-agent | "PayPal/AUHR-214.0-58712720" |
x-b3-spanid | "98479696349b0f1c" |
x-forwarded-for | "173.0.81.140" |
x-forwarded-ssl | "on" |
x-php-ob-level | "0" |
Request Content
Pretty
{ "id": "WH-7DY230112P8514123-90X00131V7049952J", "event_version": "1.0", "create_time": "2024-11-21T13:59:44.994Z", "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-21T13:57:29Z", "purchase_units": [ { "reference_id": "default", "amount": { "currency_code": "EUR", "value": "24.80", "breakdown": { "item_total": { "currency_code": "EUR", "value": "18.90" }, "shipping": { "currency_code": "EUR", "value": "5.90" } } }, "payee": { "email_address": "info@kraeuterland.de", "merchant_id": "YTKURVG58XSYL", "display_data": { "brand_name": "Kr\u00e4uterland Natur-\u00d6lm\u00fchle GmbH" } }, "description": "PayPal-Rechnungsnummer 1287612 entspricht Shopware-Bestellnummer", "invoice_id": "1287612", "items": [ { "name": "Schwarzk\u00fcmmel\u00f6l gefiltert 500ml", "unit_amount": { "currency_code": "EUR", "value": "18.90" }, "quantity": "1", "sku": "100025", "category": "PHYSICAL_GOODS" } ], "shipping": { "name": { "full_name": "Torsten Z\u00f6ller" }, "address": { "address_line_1": "Martin-Luther-Strasse 17a", "admin_area_2": "Obernburg", "postal_code": "63785", "country_code": "DE" } } } ], "links": [ { "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/99T65383N4126980E", "rel": "self", "method": "GET" }, { "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/99T65383N4126980E", "rel": "update", "method": "PATCH" }, { "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/99T65383N4126980E\/capture", "rel": "capture", "method": "POST" } ], "id": "99T65383N4126980E", "payment_source": { "paypal": { "email_address": "torstenzoeller@gmx.de", "account_id": "SJ5FGGG8WUV72", "account_status": "VERIFIED", "name": { "given_name": "Torsten", "surname": "Z\u00f6ller" }, "address": { "address_line_1": "Martin-Luther-Strasse 17a", "admin_area_2": "Obernburg", "postal_code": "63785", "country_code": "DE" } } }, "intent": "CAPTURE", "payer": { "name": { "given_name": "Torsten", "surname": "Z\u00f6ller" }, "email_address": "torstenzoeller@gmx.de", "payer_id": "SJ5FGGG8WUV72", "address": { "address_line_1": "Martin-Luther-Strasse 17a", "admin_area_2": "Obernburg", "postal_code": "63785", "country_code": "DE" } }, "status": "APPROVED" }, "links": [ { "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-7DY230112P8514123-90X00131V7049952J", "rel": "self", "method": "GET" }, { "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-7DY230112P8514123-90X00131V7049952J\/resend", "rel": "resend", "method": "POST" } ] }
Raw
{"id":"WH-7DY230112P8514123-90X00131V7049952J","event_version":"1.0","create_time":"2024-11-21T13:59:44.994Z","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-21T13:57:29Z","purchase_units":[{"reference_id":"default","amount":{"currency_code":"EUR","value":"24.80","breakdown":{"item_total":{"currency_code":"EUR","value":"18.90"},"shipping":{"currency_code":"EUR","value":"5.90"}}},"payee":{"email_address":"info@kraeuterland.de","merchant_id":"YTKURVG58XSYL","display_data":{"brand_name":"Kräuterland Natur-Ölmühle GmbH"}},"description":"PayPal-Rechnungsnummer 1287612 entspricht Shopware-Bestellnummer","invoice_id":"1287612","items":[{"name":"Schwarzkümmelöl gefiltert 500ml","unit_amount":{"currency_code":"EUR","value":"18.90"},"quantity":"1","sku":"100025","category":"PHYSICAL_GOODS"}],"shipping":{"name":{"full_name":"Torsten Zöller"},"address":{"address_line_1":"Martin-Luther-Strasse 17a","admin_area_2":"Obernburg","postal_code":"63785","country_code":"DE"}}}],"links":[{"href":"https://api.paypal.com/v2/checkout/orders/99T65383N4126980E","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v2/checkout/orders/99T65383N4126980E","rel":"update","method":"PATCH"},{"href":"https://api.paypal.com/v2/checkout/orders/99T65383N4126980E/capture","rel":"capture","method":"POST"}],"id":"99T65383N4126980E","payment_source":{"paypal":{"email_address":"torstenzoeller@gmx.de","account_id":"SJ5FGGG8WUV72","account_status":"VERIFIED","name":{"given_name":"Torsten","surname":"Zöller"},"address":{"address_line_1":"Martin-Luther-Strasse 17a","admin_area_2":"Obernburg","postal_code":"63785","country_code":"DE"}}},"intent":"CAPTURE","payer":{"name":{"given_name":"Torsten","surname":"Zöller"},"email_address":"torstenzoeller@gmx.de","payer_id":"SJ5FGGG8WUV72","address":{"address_line_1":"Martin-Luther-Strasse 17a","admin_area_2":"Obernburg","postal_code":"63785","country_code":"DE"}},"status":"APPROVED"},"links":[{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-7DY230112P8514123-90X00131V7049952J","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-7DY230112P8514123-90X00131V7049952J/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 | "private, must-revalidate" |
content-type | "application/json" |
date | "Thu, 21 Nov 2024 22:21:50 GMT" |
expires | "-1" |
pragma | "no-cache" |
server-timing | "" |
x-debug-token | "d4d76d" |
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 |
---|---|
ADMIN_OPENSEARCH_URL | "http://localhost:9200" |
APP_ENV | "dev" |
APP_SECRET | "def00000679d006f281d304e97da9651abbfd1fd90fdb74d7cb19a2162de785fc5a075a10aaba270126319f1e91df1614656536485b26c547e9e5b73626ae8bf6c311c4d" |
APP_URL | "https://s6.kraeuterland.de" |
BLUE_GREEN_DEPLOYMENT | "0" |
COMPOSER_HOME | "/srv/users/kraeuterlandsw6/apps/kraeuterlandsw6/var/cache/composer" |
DATABASE_URL | "mysql://ab5227b1c582:c5fca49e7309e866@localhost:3306/kraeuterlandsw6" |
INSTANCE_ID | "wAliV5NS6GmuHXc2jxrH7a3OqLK8esgx" |
LOCK_DSN | "flock" |
MAILER_DSN | "null://null" |
MAILER_URL | "null://null" |
OPENSEARCH_URL | "http://localhost:9200" |
PROXY_URL | "http://localhost" |
SHOPWARE_ADMIN_ES_ENABLED | "0" |
SHOPWARE_ADMIN_ES_INDEX_PREFIX | "sw-admin" |
SHOPWARE_ADMIN_ES_REFRESH_INDICES | "0" |
SHOPWARE_ES_ENABLED | "0" |
SHOPWARE_ES_HOSTS | "http://localhost:9200" |
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 | "2346" |
CONTENT_TYPE | "application/json" |
CONTEXT_DOCUMENT_ROOT | "/srv/users/kraeuterlandsw6/apps/kraeuterlandsw6/public" |
CONTEXT_PREFIX | "" |
DOCUMENT_ROOT | "/srv/users/kraeuterlandsw6/apps/kraeuterlandsw6/public" |
FCGI_ROLE | "RESPONDER" |
GATEWAY_INTERFACE | "CGI/1.1" |
HOME | "/srv/users/kraeuterlandsw6" |
HTTPS | "on" |
HTTP_ACCEPT | "*/*" |
HTTP_CONNECTION | "close" |
HTTP_CORRELATION_ID | "f761062144be1" |
HTTP_FORWARDED | "for="173.0.81.140";host="s6.kraeuterland.de";proto=https" |
HTTP_HOST | "s6.kraeuterland.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 | "df016bec-a810-11ef-b932-55ff737278fe" |
HTTP_PAYPAL_TRANSMISSION_SIG | "bHWB6NWHf4vcAeldtlxAcxOnxCu2CZsx/MXR6nBeq8uRDUVxgXBCSUg/M8zQTCvohgO0wYxvho+xJdRAElVbT7JlM9a61RSnUHdAsCgqNbqeww9T1v7lOog0Nty2zS1wEPGNRZipuYfGvM+a4HcnamB8RpREGIWCas0FceKwRGNcCxLHqlQEHU2Co/tz/IfHILSz2cs86+H3SE8C8QzRm2eglix/RfnUh9vvBUa035ReNw/rIQA/YwaDomJjBnj1XmkX90OjPRboHUEUuwsLM1LTwoxq2bR7eDWIYlzoPQz5eqsFBZiR61GgDj87Gexl0T/UlQLD1Udx5La1K+9q4w==" |
HTTP_PAYPAL_TRANSMISSION_TIME | "2024-11-21T13:59:48Z" |
HTTP_USER_AGENT | "PayPal/AUHR-214.0-58712720" |
HTTP_X_B3_SPANID | "98479696349b0f1c" |
HTTP_X_FORWARDED_FOR | "173.0.81.140" |
HTTP_X_FORWARDED_SSL | "on" |
LD_LIBRARY_PATH | "/opt/sp/apache/lib:/opt/sp/apache/lib" |
PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" |
PHP_SELF | "/index.php" |
QUERY_STRING | "sw-token=cxZp2QzZYOkTMO5Wu28lknQfIp88QifK" |
REDIRECT_HTTPS | "on" |
REDIRECT_QUERY_STRING | "sw-token=cxZp2QzZYOkTMO5Wu28lknQfIp88QifK" |
REDIRECT_SCRIPT_URI | "https://s6.kraeuterland.de/api/_action/paypal/webhook/execute" |
REDIRECT_SCRIPT_URL | "/api/_action/paypal/webhook/execute" |
REDIRECT_STATUS | "200" |
REDIRECT_URL | "/api/_action/paypal/webhook/execute" |
REMOTE_ADDR | "127.0.0.1" |
REMOTE_PORT | "39454" |
REQUEST_METHOD | "POST" |
REQUEST_SCHEME | "https" |
REQUEST_TIME | 1732227710 |
REQUEST_TIME_FLOAT | 1732227710.3957 |
REQUEST_URI | "/api/_action/paypal/webhook/execute?sw-token=cxZp2QzZYOkTMO5Wu28lknQfIp88QifK" |
SCRIPT_FILENAME | "/srv/users/kraeuterlandsw6/apps/kraeuterlandsw6/public/index.php" |
SCRIPT_NAME | "/index.php" |
SCRIPT_URI | "https://s6.kraeuterland.de/api/_action/paypal/webhook/execute" |
SCRIPT_URL | "/api/_action/paypal/webhook/execute" |
SERVER_ADDR | "127.0.0.1" |
SERVER_ADMIN | "webmaster@" |
SERVER_NAME | "s6.kraeuterland.de" |
SERVER_PORT | "443" |
SERVER_PROTOCOL | "HTTP/1.0" |
SERVER_SIGNATURE | "" |
SERVER_SOFTWARE | "Apache/2.4.62 (Unix) OpenSSL/1.1.1f" |
SYMFONY_DOTENV_PATH | "/srv/users/kraeuterlandsw6/apps/kraeuterlandsw6/.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,ADMIN_OPENSEARCH_URL,SHOPWARE_ES_HOSTS,SHOPWARE_ADMIN_ES_INDEX_PREFIX,SHOPWARE_ADMIN_ES_ENABLED,SHOPWARE_ADMIN_ES_REFRESH_INDICES" |
TEMP | "/srv/users/kraeuterlandsw6/tmp/kraeuterlandsw6" |
TMP | "/srv/users/kraeuterlandsw6/tmp/kraeuterlandsw6" |
TMPDIR | "/srv/users/kraeuterlandsw6/tmp/kraeuterlandsw6" |
USER | "kraeuterlandsw6" |
argc | 1 |
argv | [
"sw-token=cxZp2QzZYOkTMO5Wu28lknQfIp88QifK"
] |