Request / Response
Request
GET Parameters
Key | Value |
---|---|
sw-token | "cxZp2QzZYOkTMO5Wu28lknQfIp88QifK" |
POST Parameters
Key | Value |
---|---|
create_time | "2024-11-23T09:09:53.527Z" |
event_type | "CHECKOUT.ORDER.APPROVED" |
event_version | "1.0" |
id | "WH-4LD62153085839252-48A15047RX9005503" |
links | [ [ "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-4LD62153085839252-48A15047RX9005503" "rel" => "self" "method" => "GET" ] [ "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-4LD62153085839252-48A15047RX9005503/resend" "rel" => "resend" "method" => "POST" ] ] |
resource | [ "update_time" => "2024-11-23T09:09:52Z" "create_time" => "2024-11-23T09:09:09Z" "purchase_units" => [ [ "reference_id" => "default" "amount" => [ "currency_code" => "EUR" "value" => "77.60" "breakdown" => [ "item_total" => [ "currency_code" => "EUR" "value" => "77.60" ] "shipping" => [ "currency_code" => "EUR" "value" => "0.00" ] ] ] "payee" => [ "email_address" => "info@kraeuterland.de" "merchant_id" => "YTKURVG58XSYL" "display_data" => [ "brand_name" => "Kräuterland Natur-Ölmühle GmbH" ] ] "description" => "PayPal-Rechnungsnummer 1288827 entspricht Shopware-Bestellnummer" "invoice_id" => "1288827" "items" => [ [ "name" => "Bio Schwarzkümmelöl ungefiltert 250ml" "unit_amount" => [ "currency_code" => "EUR" "value" => "9.70" ] "quantity" => "8" "sku" => "100036" "category" => "PHYSICAL_GOODS" ] ] "shipping" => [ "name" => [ "full_name" => "Petra von der Marwitz" ] "address" => [ "address_line_1" => "Traminerstr. 9" "admin_area_2" => "Landau" "postal_code" => "76829" "country_code" => "DE" ] ] "payments" => [ "captures" => [ [ "id" => "5G23551513963024D" "status" => "COMPLETED" "amount" => [ "currency_code" => "EUR" "value" => "77.60" ] "final_capture" => true "seller_protection" => [ "status" => "ELIGIBLE" "dispute_categories" => [ "ITEM_NOT_RECEIVED" "UNAUTHORIZED_TRANSACTION" ] ] "seller_receivable_breakdown" => [ "gross_amount" => [ "currency_code" => "EUR" "value" => "77.60" ] "paypal_fee" => [ "currency_code" => "EUR" "value" => "2.17" ] "net_amount" => [ "currency_code" => "EUR" "value" => "75.43" ] ] "invoice_id" => "1288827" "links" => [ [ "href" => "https://api.paypal.com/v2/payments/captures/5G23551513963024D" "rel" => "self" "method" => "GET" ] [ "href" => "https://api.paypal.com/v2/payments/captures/5G23551513963024D/refund" "rel" => "refund" "method" => "POST" ] [ "href" => "https://api.paypal.com/v2/checkout/orders/9X814968EA022724M" "rel" => "up" "method" => "GET" ] ] "create_time" => "2024-11-23T09:09:52Z" "update_time" => "2024-11-23T09:09:52Z" ] ] ] ] ] "links" => [ [ "href" => "https://api.paypal.com/v2/checkout/orders/9X814968EA022724M" "rel" => "self" "method" => "GET" ] ] "id" => "9X814968EA022724M" "payment_source" => [ "paypal" => [ "email_address" => "v.d.m@gmx.de" "account_id" => "BFEE94Y759BDE" "account_status" => "VERIFIED" "name" => [ "given_name" => "Petra" "surname" => "von der Marwitz" ] "address" => [ "address_line_1" => "Traminerstr. 9" "admin_area_2" => "Landau" "postal_code" => "76829" "country_code" => "DE" ] ] ] "intent" => "CAPTURE" "payer" => [ "name" => [ "given_name" => "Petra" "surname" => "von der Marwitz" ] "email_address" => "v.d.m@gmx.de" "payer_id" => "BFEE94Y759BDE" "address" => [ "address_line_1" => "Traminerstr. 9" "admin_area_2" => "Landau" "postal_code" => "76829" "country_code" => "DE" ] ] "status" => "COMPLETED" ] |
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 | "f517ad" |
Request Headers
Header | Value |
---|---|
accept | "*/*" |
connection | "close" |
content-length | "2997" |
content-type | "application/json" |
correlation-id | "00989b2536487" |
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 | "b5e73fdb-a97a-11ef-8854-3da1ca52f9c7" |
paypal-transmission-sig | "ZF5/SKL6ceMdJnh6EflbBY50V+C9LO8MKyiD3ZFRg+IKPpDxO9bWv9KX3jWXKZMUct03o4a75vM0rrzZ0svRCB+TLKkFVJa9x81nF/0QVuZiyh4dgEn/gs/yd480hXYy4zLD8InB46iErL7AA58LEznSBcXqGSZeLPVTUceiibUMfRnZvKQ6h0ajoiS1h3EuYG7VJXPvdeSUX9rh2lE0JgOnUHGBvgQw3/QdjrucBMsW5oPcAN01o6qIYVBOZygxcaT6LNCeIAOxAS0Ev3QJxGhyolLHZZ6l/JegLWztfjCJZijJngNs1bwESsdpoyjJRLJg0B6cNklq82RoRBk2KA==" |
paypal-transmission-time | "2024-11-23T09:09:57Z" |
surrogate-capability | "symfony="ESI/1.0"" |
user-agent | "PayPal/AUHR-214.0-58712720" |
x-b3-spanid | "6c4e4f9904248db4" |
x-forwarded-for | "173.0.81.140" |
x-forwarded-ssl | "on" |
x-php-ob-level | "0" |
Request Content
Pretty
{ "id": "WH-4LD62153085839252-48A15047RX9005503", "event_version": "1.0", "create_time": "2024-11-23T09:09:53.527Z", "resource_type": "checkout-order", "resource_version": "2.0", "event_type": "CHECKOUT.ORDER.APPROVED", "summary": "An order has been approved by buyer", "resource": { "update_time": "2024-11-23T09:09:52Z", "create_time": "2024-11-23T09:09:09Z", "purchase_units": [ { "reference_id": "default", "amount": { "currency_code": "EUR", "value": "77.60", "breakdown": { "item_total": { "currency_code": "EUR", "value": "77.60" }, "shipping": { "currency_code": "EUR", "value": "0.00" } } }, "payee": { "email_address": "info@kraeuterland.de", "merchant_id": "YTKURVG58XSYL", "display_data": { "brand_name": "Kr\u00e4uterland Natur-\u00d6lm\u00fchle GmbH" } }, "description": "PayPal-Rechnungsnummer 1288827 entspricht Shopware-Bestellnummer", "invoice_id": "1288827", "items": [ { "name": "Bio Schwarzk\u00fcmmel\u00f6l ungefiltert 250ml", "unit_amount": { "currency_code": "EUR", "value": "9.70" }, "quantity": "8", "sku": "100036", "category": "PHYSICAL_GOODS" } ], "shipping": { "name": { "full_name": "Petra von der Marwitz" }, "address": { "address_line_1": "Traminerstr. 9", "admin_area_2": "Landau", "postal_code": "76829", "country_code": "DE" } }, "payments": { "captures": [ { "id": "5G23551513963024D", "status": "COMPLETED", "amount": { "currency_code": "EUR", "value": "77.60" }, "final_capture": true, "seller_protection": { "status": "ELIGIBLE", "dispute_categories": [ "ITEM_NOT_RECEIVED", "UNAUTHORIZED_TRANSACTION" ] }, "seller_receivable_breakdown": { "gross_amount": { "currency_code": "EUR", "value": "77.60" }, "paypal_fee": { "currency_code": "EUR", "value": "2.17" }, "net_amount": { "currency_code": "EUR", "value": "75.43" } }, "invoice_id": "1288827", "links": [ { "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/5G23551513963024D", "rel": "self", "method": "GET" }, { "href": "https:\/\/api.paypal.com\/v2\/payments\/captures\/5G23551513963024D\/refund", "rel": "refund", "method": "POST" }, { "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/9X814968EA022724M", "rel": "up", "method": "GET" } ], "create_time": "2024-11-23T09:09:52Z", "update_time": "2024-11-23T09:09:52Z" } ] } } ], "links": [ { "href": "https:\/\/api.paypal.com\/v2\/checkout\/orders\/9X814968EA022724M", "rel": "self", "method": "GET" } ], "id": "9X814968EA022724M", "payment_source": { "paypal": { "email_address": "v.d.m@gmx.de", "account_id": "BFEE94Y759BDE", "account_status": "VERIFIED", "name": { "given_name": "Petra", "surname": "von der Marwitz" }, "address": { "address_line_1": "Traminerstr. 9", "admin_area_2": "Landau", "postal_code": "76829", "country_code": "DE" } } }, "intent": "CAPTURE", "payer": { "name": { "given_name": "Petra", "surname": "von der Marwitz" }, "email_address": "v.d.m@gmx.de", "payer_id": "BFEE94Y759BDE", "address": { "address_line_1": "Traminerstr. 9", "admin_area_2": "Landau", "postal_code": "76829", "country_code": "DE" } }, "status": "COMPLETED" }, "links": [ { "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-4LD62153085839252-48A15047RX9005503", "rel": "self", "method": "GET" }, { "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-4LD62153085839252-48A15047RX9005503\/resend", "rel": "resend", "method": "POST" } ] }
Raw
{"id":"WH-4LD62153085839252-48A15047RX9005503","event_version":"1.0","create_time":"2024-11-23T09:09:53.527Z","resource_type":"checkout-order","resource_version":"2.0","event_type":"CHECKOUT.ORDER.APPROVED","summary":"An order has been approved by buyer","resource":{"update_time":"2024-11-23T09:09:52Z","create_time":"2024-11-23T09:09:09Z","purchase_units":[{"reference_id":"default","amount":{"currency_code":"EUR","value":"77.60","breakdown":{"item_total":{"currency_code":"EUR","value":"77.60"},"shipping":{"currency_code":"EUR","value":"0.00"}}},"payee":{"email_address":"info@kraeuterland.de","merchant_id":"YTKURVG58XSYL","display_data":{"brand_name":"Kräuterland Natur-Ölmühle GmbH"}},"description":"PayPal-Rechnungsnummer 1288827 entspricht Shopware-Bestellnummer","invoice_id":"1288827","items":[{"name":"Bio Schwarzkümmelöl ungefiltert 250ml","unit_amount":{"currency_code":"EUR","value":"9.70"},"quantity":"8","sku":"100036","category":"PHYSICAL_GOODS"}],"shipping":{"name":{"full_name":"Petra von der Marwitz"},"address":{"address_line_1":"Traminerstr. 9","admin_area_2":"Landau","postal_code":"76829","country_code":"DE"}},"payments":{"captures":[{"id":"5G23551513963024D","status":"COMPLETED","amount":{"currency_code":"EUR","value":"77.60"},"final_capture":true,"seller_protection":{"status":"ELIGIBLE","dispute_categories":["ITEM_NOT_RECEIVED","UNAUTHORIZED_TRANSACTION"]},"seller_receivable_breakdown":{"gross_amount":{"currency_code":"EUR","value":"77.60"},"paypal_fee":{"currency_code":"EUR","value":"2.17"},"net_amount":{"currency_code":"EUR","value":"75.43"}},"invoice_id":"1288827","links":[{"href":"https://api.paypal.com/v2/payments/captures/5G23551513963024D","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v2/payments/captures/5G23551513963024D/refund","rel":"refund","method":"POST"},{"href":"https://api.paypal.com/v2/checkout/orders/9X814968EA022724M","rel":"up","method":"GET"}],"create_time":"2024-11-23T09:09:52Z","update_time":"2024-11-23T09:09:52Z"}]}}],"links":[{"href":"https://api.paypal.com/v2/checkout/orders/9X814968EA022724M","rel":"self","method":"GET"}],"id":"9X814968EA022724M","payment_source":{"paypal":{"email_address":"v.d.m@gmx.de","account_id":"BFEE94Y759BDE","account_status":"VERIFIED","name":{"given_name":"Petra","surname":"von der Marwitz"},"address":{"address_line_1":"Traminerstr. 9","admin_area_2":"Landau","postal_code":"76829","country_code":"DE"}}},"intent":"CAPTURE","payer":{"name":{"given_name":"Petra","surname":"von der Marwitz"},"email_address":"v.d.m@gmx.de","payer_id":"BFEE94Y759BDE","address":{"address_line_1":"Traminerstr. 9","admin_area_2":"Landau","postal_code":"76829","country_code":"DE"}},"status":"COMPLETED"},"links":[{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-4LD62153085839252-48A15047RX9005503","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-4LD62153085839252-48A15047RX9005503/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 | "Sat, 23 Nov 2024 09:30:07 GMT" |
expires | "-1" |
pragma | "no-cache" |
server-timing | "" |
x-debug-token | "62edd6" |
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 | "2997" |
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 | "00989b2536487" |
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 | "b5e73fdb-a97a-11ef-8854-3da1ca52f9c7" |
HTTP_PAYPAL_TRANSMISSION_SIG | "ZF5/SKL6ceMdJnh6EflbBY50V+C9LO8MKyiD3ZFRg+IKPpDxO9bWv9KX3jWXKZMUct03o4a75vM0rrzZ0svRCB+TLKkFVJa9x81nF/0QVuZiyh4dgEn/gs/yd480hXYy4zLD8InB46iErL7AA58LEznSBcXqGSZeLPVTUceiibUMfRnZvKQ6h0ajoiS1h3EuYG7VJXPvdeSUX9rh2lE0JgOnUHGBvgQw3/QdjrucBMsW5oPcAN01o6qIYVBOZygxcaT6LNCeIAOxAS0Ev3QJxGhyolLHZZ6l/JegLWztfjCJZijJngNs1bwESsdpoyjJRLJg0B6cNklq82RoRBk2KA==" |
HTTP_PAYPAL_TRANSMISSION_TIME | "2024-11-23T09:09:57Z" |
HTTP_USER_AGENT | "PayPal/AUHR-214.0-58712720" |
HTTP_X_B3_SPANID | "6c4e4f9904248db4" |
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 | "35794" |
REQUEST_METHOD | "POST" |
REQUEST_SCHEME | "https" |
REQUEST_TIME | 1732354207 |
REQUEST_TIME_FLOAT | 1732354207.7498 |
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"
] |