Request / Response
Request
GET Parameters
Key | Value |
---|---|
sw-token | "6lBsmsHMjTOIOmc6GOoYZhUtKzRBqWDM" |
POST Parameters
Key | Value |
---|---|
create_time | "2025-03-12T17:02:43.530Z" |
event_type | "PAYMENTS.PAYMENT.CREATED" |
event_version | "1.0" |
id | "WH-6X1479190F144730Y-2YM24343HV8495613" |
links | [ [ "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-6X1479190F144730Y-2YM24343HV8495613" "rel" => "self" "method" => "GET" ] [ "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-6X1479190F144730Y-2YM24343HV8495613/resend" "rel" => "resend" "method" => "POST" ] ] |
resource | [ "update_time" => "2025-03-12T17:02:35Z" "create_time" => "2025-03-12T17:01:07Z" "links" => [ [ "href" => "https://api.paypal.com/v1/payments/payment/PAYID-M7I33UY40C7510342993592F" "rel" => "self" "method" => "GET" ] ] "id" => "PAYID-M7I33UY40C7510342993592F" "state" => "approved" "transactions" => [ [ "amount" => [ "total" => "975.80" "currency" => "EUR" "details" => [ "subtotal" => "820.00" "tax" => "155.80" "shipping" => "0.00" "insurance" => "0.00" "handling_fee" => "0.00" "shipping_discount" => "0.00" "discount" => "0.00" ] ] "payee" => [ "merchant_id" => "PPY4499CVSR4U" "email" => "olaf@malsch.info" ] "description" => "SENATOR Kugelschreiber DART Clear 2602 Pantone 376 Grün" "invoice_number" => "P4Y-20997" "soft_descriptor" => "PAYPAL *PEN4YOU DE" "item_list" => [ "items" => [ [ "name" => "SENATOR Kugelschreiber DART Clear 2602 Pantone 376 Grün" "sku" => "P4Y15747" "price" => "0.25" "currency" => "EUR" "tax" => "0.00" "quantity" => 2000 "image_url" => "" ] [ "name" => "Mine" "sku" => "ott-340098-Mine" "price" => "0.00" "currency" => "EUR" "tax" => "0.00" "quantity" => 2000 "image_url" => "" ] [ "name" => "Veredelung auf Schaft Standarddruck 1-farbig" "sku" => "ott-340098-Veredelung auf Schaft Standarddruck 1-farbig" "price" => "0.17" "currency" => "EUR" "tax" => "0.00" "quantity" => 2000 "image_url" => "" ] [ "name" => "-4 % Warenkorbrabatt" "sku" => "sw-discount" "price" => "-20.00" "currency" => "EUR" "tax" => "0.00" "quantity" => 1 "image_url" => "" ] ] "shipping_address" => [ "recipient_name" => "Torben Scholz" "line1" => "Duckwitzstr., 55" "city" => "Bremen" "state" => "" "postal_code" => "28199" "country_code" => "DE" ] ] "related_resources" => [ [ "sale" => [ "id" => "6UF548717T2335628" "state" => "completed" "amount" => [ "total" => "975.80" "currency" => "EUR" "details" => [ "subtotal" => "820.00" "tax" => "155.80" "shipping" => "0.00" "insurance" => "0.00" "handling_fee" => "0.00" "shipping_discount" => "0.00" "discount" => "0.00" ] ] "payment_mode" => "INSTANT_TRANSFER" "protection_eligibility" => "ELIGIBLE" "protection_eligibility_type" => "ITEM_NOT_RECEIVED_ELIGIBLE,UNAUTHORIZED_PAYMENT_ELIGIBLE" "transaction_fee" => [ "value" => "29.57" "currency" => "EUR" ] "parent_payment" => "PAYID-M7I33UY40C7510342993592F" "create_time" => "2025-03-12T17:02:35Z" "update_time" => "2025-03-12T17:02:35Z" "links" => [ [ "href" => "https://api.paypal.com/v1/payments/sale/6UF548717T2335628" "rel" => "self" "method" => "GET" ] [ "href" => "https://api.paypal.com/v1/payments/sale/6UF548717T2335628/refund" "rel" => "refund" "method" => "POST" ] [ "href" => "https://api.paypal.com/v1/payments/payment/PAYID-M7I33UY40C7510342993592F" "rel" => "parent_payment" "method" => "GET" ] ] "soft_descriptor" => "PAYPAL *PEN4YOU DE" ] ] ] ] ] "intent" => "sale" "payer" => [ "payment_method" => "paypal" "status" => "VERIFIED" "payer_info" => [ "email" => "t.scholz@sk-apotheken.de" "first_name" => "Torben" "last_name" => "Scholz" "payer_id" => "58CVWG8QWTY32" "shipping_address" => [ "recipient_name" => "Torben Scholz" "line1" => "Duckwitzstr., 55" "city" => "Bremen" "state" => "" "postal_code" => "28199" "country_code" => "DE" ] "phone" => "1719338774" "country_code" => "DE" "business_name" => "sk-Apotheke im Einkaufspark Duckwitz" ] ] "cart" => "63B34262W8761944D" ] |
resource_type | "payment" |
summary | "Checkout payment is created and approved by buyer" |
Uploaded Files
No files were uploaded
Request Attributes
Key | Value |
---|---|
_stopwatch_token | "c5a5c7" |
Request Headers
Header | Value |
---|---|
accept | "*/*" |
connection | "close" |
content-length | "3441" |
content-type | "application/json" |
correlation-id | "f4775812d7503" |
forwarded | "for="173.0.81.65";host="www.pen4u.de";proto=https" |
host | "www.pen4u.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 | "d25e38c2-ff63-11ef-9ee8-4ff6a85e6265" |
paypal-transmission-sig | "fNe0oJ1452u2wrMd2TXdv9UsSvalu0qdvwohetpbNFyt4YjBu/G7gQzhcn+346uqu5sc2wsY57pw0Rsfr+IBlevLu9DNBJFXOLrlSJmdg8kEuOHyf8kWcR7ci33jnwKGwLtxeK9fRbR9nC0ly8IzbYR89yZ7VxX95ffK3w9hlY1C1h5RBZQtA2bm/PCDxa/XqiN9UIRtu7IuQ33B4LsBm9GHbcM+cRPgRJZaoXIKjeR5BCShdeEcilor/hK2i7ijYkwqG/OzjhPXxlrVJxI4DCybVWO5kOWdagKhF3lmB/GK2ssf7+mxbk5GXgJF1JGMwjhVEz0i0bIN4siA9oUQ+A==" |
paypal-transmission-time | "2025-03-12T17:02:46Z" |
surrogate-capability | "symfony="ESI/1.0"" |
user-agent | "PayPal/AUHR-214.0-58843836" |
x-accel-internal | "/internal-nginx-static-location" |
x-b3-spanid | "aeb40872aa8c9fb2" |
x-forwarded-for | "173.0.81.65" |
x-php-ob-level | "1" |
x-real-ip | "173.0.81.65" |
Request Content
Pretty
{ "id": "WH-6X1479190F144730Y-2YM24343HV8495613", "event_version": "1.0", "create_time": "2025-03-12T17:02:43.530Z", "resource_type": "payment", "event_type": "PAYMENTS.PAYMENT.CREATED", "summary": "Checkout payment is created and approved by buyer", "resource": { "update_time": "2025-03-12T17:02:35Z", "create_time": "2025-03-12T17:01:07Z", "links": [ { "href": "https:\/\/api.paypal.com\/v1\/payments\/payment\/PAYID-M7I33UY40C7510342993592F", "rel": "self", "method": "GET" } ], "id": "PAYID-M7I33UY40C7510342993592F", "state": "approved", "transactions": [ { "amount": { "total": "975.80", "currency": "EUR", "details": { "subtotal": "820.00", "tax": "155.80", "shipping": "0.00", "insurance": "0.00", "handling_fee": "0.00", "shipping_discount": "0.00", "discount": "0.00" } }, "payee": { "merchant_id": "PPY4499CVSR4U", "email": "olaf@malsch.info" }, "description": "SENATOR Kugelschreiber DART Clear 2602 Pantone 376 Gr\u00fcn", "invoice_number": "P4Y-20997", "soft_descriptor": "PAYPAL *PEN4YOU DE", "item_list": { "items": [ { "name": "SENATOR Kugelschreiber DART Clear 2602 Pantone 376 Gr\u00fcn", "sku": "P4Y15747", "price": "0.25", "currency": "EUR", "tax": "0.00", "quantity": 2000, "image_url": "" }, { "name": "Mine", "sku": "ott-340098-Mine", "price": "0.00", "currency": "EUR", "tax": "0.00", "quantity": 2000, "image_url": "" }, { "name": "Veredelung auf Schaft Standarddruck 1-farbig", "sku": "ott-340098-Veredelung auf Schaft Standarddruck 1-farbig", "price": "0.17", "currency": "EUR", "tax": "0.00", "quantity": 2000, "image_url": "" }, { "name": "-4 % Warenkorbrabatt", "sku": "sw-discount", "price": "-20.00", "currency": "EUR", "tax": "0.00", "quantity": 1, "image_url": "" } ], "shipping_address": { "recipient_name": "Torben Scholz", "line1": "Duckwitzstr., 55", "city": "Bremen", "state": "", "postal_code": "28199", "country_code": "DE" } }, "related_resources": [ { "sale": { "id": "6UF548717T2335628", "state": "completed", "amount": { "total": "975.80", "currency": "EUR", "details": { "subtotal": "820.00", "tax": "155.80", "shipping": "0.00", "insurance": "0.00", "handling_fee": "0.00", "shipping_discount": "0.00", "discount": "0.00" } }, "payment_mode": "INSTANT_TRANSFER", "protection_eligibility": "ELIGIBLE", "protection_eligibility_type": "ITEM_NOT_RECEIVED_ELIGIBLE,UNAUTHORIZED_PAYMENT_ELIGIBLE", "transaction_fee": { "value": "29.57", "currency": "EUR" }, "parent_payment": "PAYID-M7I33UY40C7510342993592F", "create_time": "2025-03-12T17:02:35Z", "update_time": "2025-03-12T17:02:35Z", "links": [ { "href": "https:\/\/api.paypal.com\/v1\/payments\/sale\/6UF548717T2335628", "rel": "self", "method": "GET" }, { "href": "https:\/\/api.paypal.com\/v1\/payments\/sale\/6UF548717T2335628\/refund", "rel": "refund", "method": "POST" }, { "href": "https:\/\/api.paypal.com\/v1\/payments\/payment\/PAYID-M7I33UY40C7510342993592F", "rel": "parent_payment", "method": "GET" } ], "soft_descriptor": "PAYPAL *PEN4YOU DE" } } ] } ], "intent": "sale", "payer": { "payment_method": "paypal", "status": "VERIFIED", "payer_info": { "email": "t.scholz@sk-apotheken.de", "first_name": "Torben", "last_name": "Scholz", "payer_id": "58CVWG8QWTY32", "shipping_address": { "recipient_name": "Torben Scholz", "line1": "Duckwitzstr., 55", "city": "Bremen", "state": "", "postal_code": "28199", "country_code": "DE" }, "phone": "1719338774", "country_code": "DE", "business_name": "sk-Apotheke im Einkaufspark Duckwitz" } }, "cart": "63B34262W8761944D" }, "links": [ { "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-6X1479190F144730Y-2YM24343HV8495613", "rel": "self", "method": "GET" }, { "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-6X1479190F144730Y-2YM24343HV8495613\/resend", "rel": "resend", "method": "POST" } ] }
Raw
{"id":"WH-6X1479190F144730Y-2YM24343HV8495613","event_version":"1.0","create_time":"2025-03-12T17:02:43.530Z","resource_type":"payment","event_type":"PAYMENTS.PAYMENT.CREATED","summary":"Checkout payment is created and approved by buyer","resource":{"update_time":"2025-03-12T17:02:35Z","create_time":"2025-03-12T17:01:07Z","links":[{"href":"https://api.paypal.com/v1/payments/payment/PAYID-M7I33UY40C7510342993592F","rel":"self","method":"GET"}],"id":"PAYID-M7I33UY40C7510342993592F","state":"approved","transactions":[{"amount":{"total":"975.80","currency":"EUR","details":{"subtotal":"820.00","tax":"155.80","shipping":"0.00","insurance":"0.00","handling_fee":"0.00","shipping_discount":"0.00","discount":"0.00"}},"payee":{"merchant_id":"PPY4499CVSR4U","email":"olaf@malsch.info"},"description":"SENATOR Kugelschreiber DART Clear 2602 Pantone 376 Grün","invoice_number":"P4Y-20997","soft_descriptor":"PAYPAL *PEN4YOU DE","item_list":{"items":[{"name":"SENATOR Kugelschreiber DART Clear 2602 Pantone 376 Grün","sku":"P4Y15747","price":"0.25","currency":"EUR","tax":"0.00","quantity":2000,"image_url":""},{"name":"Mine","sku":"ott-340098-Mine","price":"0.00","currency":"EUR","tax":"0.00","quantity":2000,"image_url":""},{"name":"Veredelung auf Schaft Standarddruck 1-farbig","sku":"ott-340098-Veredelung auf Schaft Standarddruck 1-farbig","price":"0.17","currency":"EUR","tax":"0.00","quantity":2000,"image_url":""},{"name":"-4 % Warenkorbrabatt","sku":"sw-discount","price":"-20.00","currency":"EUR","tax":"0.00","quantity":1,"image_url":""}],"shipping_address":{"recipient_name":"Torben Scholz","line1":"Duckwitzstr., 55","city":"Bremen","state":"","postal_code":"28199","country_code":"DE"}},"related_resources":[{"sale":{"id":"6UF548717T2335628","state":"completed","amount":{"total":"975.80","currency":"EUR","details":{"subtotal":"820.00","tax":"155.80","shipping":"0.00","insurance":"0.00","handling_fee":"0.00","shipping_discount":"0.00","discount":"0.00"}},"payment_mode":"INSTANT_TRANSFER","protection_eligibility":"ELIGIBLE","protection_eligibility_type":"ITEM_NOT_RECEIVED_ELIGIBLE,UNAUTHORIZED_PAYMENT_ELIGIBLE","transaction_fee":{"value":"29.57","currency":"EUR"},"parent_payment":"PAYID-M7I33UY40C7510342993592F","create_time":"2025-03-12T17:02:35Z","update_time":"2025-03-12T17:02:35Z","links":[{"href":"https://api.paypal.com/v1/payments/sale/6UF548717T2335628","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v1/payments/sale/6UF548717T2335628/refund","rel":"refund","method":"POST"},{"href":"https://api.paypal.com/v1/payments/payment/PAYID-M7I33UY40C7510342993592F","rel":"parent_payment","method":"GET"}],"soft_descriptor":"PAYPAL *PEN4YOU DE"}}]}],"intent":"sale","payer":{"payment_method":"paypal","status":"VERIFIED","payer_info":{"email":"t.scholz@sk-apotheken.de","first_name":"Torben","last_name":"Scholz","payer_id":"58CVWG8QWTY32","shipping_address":{"recipient_name":"Torben Scholz","line1":"Duckwitzstr., 55","city":"Bremen","state":"","postal_code":"28199","country_code":"DE"},"phone":"1719338774","country_code":"DE","business_name":"sk-Apotheke im Einkaufspark Duckwitz"}},"cart":"63B34262W8761944D"},"links":[{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-6X1479190F144730Y-2YM24343HV8495613","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-6X1479190F144730Y-2YM24343HV8495613/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 | "Wed, 12 Mar 2025 21:17:22 GMT" |
expires | "-1" |
pragma | "no-cache" |
server-timing | "" |
x-debug-token | "f2d584" |
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 | "def000001070c7e476513f1509bf38ee2c980ec33271a9401816bf90d4b4314762fe37068fe6a3d17307188f20e87c4d9a8cad59a5eaf0acbb3f1953246346b76888f68f" |
APP_URL | "https://www.pen4u.de/" |
BLUE_GREEN_DEPLOYMENT | "1" |
COMPOSER_HOME | "/var/www/vhosts/pen4you.de/httpdocs_pen4u.de/var/cache/composer" |
DATABASE_URL | "mysql://pen4u:Lau%2Ara1167@localhost:3306/pen4u" |
INSTANCE_ID | "JaWP3mgYEVjWjtMeoscdUxkNsuTawU2f" |
LOCK_DSN | "flock" |
MAILER_URL | "null://localhost" |
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 | "3441" |
CONTENT_TYPE | "application/json" |
CONTEXT_DOCUMENT_ROOT | "/var/www/vhosts/pen4you.de/httpdocs_pen4u.de/public" |
CONTEXT_PREFIX | "" |
DOCUMENT_ROOT | "/var/www/vhosts/pen4you.de/httpdocs_pen4u.de/public" |
FCGI_ROLE | "RESPONDER" |
GATEWAY_INTERFACE | "CGI/1.1" |
HOME | "/var/www/vhosts/pen4you.de" |
HTTPS | "on" |
HTTP_ACCEPT | "*/*" |
HTTP_CONNECTION | "close" |
HTTP_CORRELATION_ID | "f4775812d7503" |
HTTP_FORWARDED | "for="173.0.81.65";host="www.pen4u.de";proto=https" |
HTTP_HOST | "www.pen4u.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 | "d25e38c2-ff63-11ef-9ee8-4ff6a85e6265" |
HTTP_PAYPAL_TRANSMISSION_SIG | "fNe0oJ1452u2wrMd2TXdv9UsSvalu0qdvwohetpbNFyt4YjBu/G7gQzhcn+346uqu5sc2wsY57pw0Rsfr+IBlevLu9DNBJFXOLrlSJmdg8kEuOHyf8kWcR7ci33jnwKGwLtxeK9fRbR9nC0ly8IzbYR89yZ7VxX95ffK3w9hlY1C1h5RBZQtA2bm/PCDxa/XqiN9UIRtu7IuQ33B4LsBm9GHbcM+cRPgRJZaoXIKjeR5BCShdeEcilor/hK2i7ijYkwqG/OzjhPXxlrVJxI4DCybVWO5kOWdagKhF3lmB/GK2ssf7+mxbk5GXgJF1JGMwjhVEz0i0bIN4siA9oUQ+A==" |
HTTP_PAYPAL_TRANSMISSION_TIME | "2025-03-12T17:02:46Z" |
HTTP_USER_AGENT | "PayPal/AUHR-214.0-58843836" |
HTTP_X_ACCEL_INTERNAL | "/internal-nginx-static-location" |
HTTP_X_B3_SPANID | "aeb40872aa8c9fb2" |
HTTP_X_FORWARDED_FOR | "173.0.81.65" |
HTTP_X_REAL_IP | "173.0.81.65" |
PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY | "0" |
PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY | "0" |
PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" |
PHP_SELF | "/index.php" |
QUERY_STRING | "sw-token=6lBsmsHMjTOIOmc6GOoYZhUtKzRBqWDM" |
REDIRECT_HTTPS | "on" |
REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY | "0" |
REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY | "0" |
REDIRECT_QUERY_STRING | "sw-token=6lBsmsHMjTOIOmc6GOoYZhUtKzRBqWDM" |
REDIRECT_SCRIPT_URI | "https://www.pen4u.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 | "39666" |
REQUEST_METHOD | "POST" |
REQUEST_SCHEME | "https" |
REQUEST_TIME | 1741814242 |
REQUEST_TIME_FLOAT | 1741814242.2415 |
REQUEST_URI | "/api/_action/paypal/webhook/execute?sw-token=6lBsmsHMjTOIOmc6GOoYZhUtKzRBqWDM" |
SCRIPT_FILENAME | "/var/www/vhosts/pen4you.de/httpdocs_pen4u.de/public/index.php" |
SCRIPT_NAME | "/index.php" |
SCRIPT_URI | "https://www.pen4u.de/api/_action/paypal/webhook/execute" |
SCRIPT_URL | "/api/_action/paypal/webhook/execute" |
SERVER_ADDR | "78.46.81.74" |
SERVER_ADMIN | "[no address given]" |
SERVER_NAME | "www.pen4u.de" |
SERVER_PORT | "443" |
SERVER_PROTOCOL | "HTTP/1.0" |
SERVER_SIGNATURE | "<address>Apache Server at www.pen4u.de Port 443</address>\n" |
SERVER_SOFTWARE | "Apache" |
SYMFONY_DOTENV_PATH | "/var/www/vhosts/pen4you.de/httpdocs_pen4u.de/.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 | "pen4you" |
proxy-nokeepalive | "1" |