WebhookController :: executeWebhook
Request
GET Parameters
Key | Value |
---|---|
sw-token | "ss9vfzW5LfFnX0VLCKhUmCVxyV8VW7hq" |
POST Parameters
Key | Value |
---|---|
create_time | "2024-11-21T17:29:07.124Z" |
event_type | "PAYMENTS.PAYMENT.CREATED" |
event_version | "1.0" |
id | "WH-78X38491W0424342Y-6KK44852127405259" |
links | [ [ "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-78X38491W0424342Y-6KK44852127405259" "rel" => "self" "method" => "GET" ] [ "href" => "https://api.paypal.com/v1/notifications/webhooks-events/WH-78X38491W0424342Y-6KK44852127405259/resend" "rel" => "resend" "method" => "POST" ] ] |
resource | [ "update_time" => "2024-11-21T17:28:56Z" "create_time" => "2024-11-21T17:23:09Z" "links" => [ [ "href" => "https://api.paypal.com/v1/payments/payment/PAYID-M47WY7I0FB13368AS392574L" "rel" => "self" "method" => "GET" ] ] "id" => "PAYID-M47WY7I0FB13368AS392574L" "state" => "approved" "transactions" => [ [ "amount" => [ "total" => "369.40" "currency" => "EUR" "details" => [ "subtotal" => "348.90" "tax" => "0.00" "shipping" => "20.50" "insurance" => "0.00" "handling_fee" => "0.00" "shipping_discount" => "0.00" "discount" => "0.00" ] ] "payee" => [ "merchant_id" => "8EJKDZ6HN4GA2" "email" => "info@hfboy.de" ] "description" => "Boy-Katzennetz - Extrem - 50mm Maschenweite - Reißfestigkeit 100Kg - olivgrün " "custom" => "98a70976a998463687d7c43ab3d206b3" "invoice_number" => "512388296" "soft_descriptor" => "PAYPAL *HFBOYHANDEL" "item_list" => [ "items" => [ [ "name" => "Boy-Katzennetz - Extrem - 50mm Maschenweite - Reißfestigkeit 100Kg - olivgrün " "sku" => "265034" "price" => "324.90" "currency" => "EUR" "tax" => "0.00" "quantity" => 1 "image_url" => "" ] [ "name" => "Flechtleine - 20m Rolle - 3mm Ø - olivgrün, schwarz & weiß" "sku" => "400204" "price" => "6.00" "currency" => "EUR" "tax" => "0.00" "quantity" => 4 "image_url" => "" ] ] "shipping_address" => [ "recipient_name" => "Nela Nusshall" "line1" => "Promenadegasse 18/1/3" "city" => "Wien" "state" => "" "postal_code" => "1170" "country_code" => "AT" ] ] "related_resources" => [ [ "sale" => [ "id" => "4Y000742G3547170B" "state" => "completed" "amount" => [ "total" => "369.40" "currency" => "EUR" "details" => [ "subtotal" => "348.90" "tax" => "0.00" "shipping" => "20.50" "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" => "8.85" "currency" => "EUR" ] "parent_payment" => "PAYID-M47WY7I0FB13368AS392574L" "create_time" => "2024-11-21T17:28:56Z" "update_time" => "2024-11-21T17:28:56Z" "links" => [ [ "href" => "https://api.paypal.com/v1/payments/sale/4Y000742G3547170B" "rel" => "self" "method" => "GET" ] [ "href" => "https://api.paypal.com/v1/payments/sale/4Y000742G3547170B/refund" "rel" => "refund" "method" => "POST" ] [ "href" => "https://api.paypal.com/v1/payments/payment/PAYID-M47WY7I0FB13368AS392574L" "rel" => "parent_payment" "method" => "GET" ] ] "soft_descriptor" => "PAYPAL *HFBOYHANDEL" ] ] ] ] ] "intent" => "sale" "payer" => [ "payment_method" => "paypal" "status" => "VERIFIED" "payer_info" => [ "email" => "nela.nusshall@gmail.com" "first_name" => "Nela" "last_name" => "Nusshall" "payer_id" => "HY424G8SQ3XFQ" "shipping_address" => [ "recipient_name" => "Nela Nusshall" "line1" => "Promenadegasse 18/1/3" "city" => "Wien" "state" => "" "postal_code" => "1170" "country_code" => "AT" ] "phone" => "00436766052241" "country_code" => "AT" ] ] "cart" => "1U022886MX708512V" ] |
resource_type | "payment" |
summary | "Checkout payment is created and approved by buyer" |
Uploaded Files
No files were uploaded
Request Attributes
Key | Value |
---|---|
_controller | "Swag\PayPal\Webhook\WebhookController::executeWebhook" |
_cspNonce | "d9iquDRZn3k=" |
_route | "api.action.paypal.webhook.execute" |
_routeScope | Shopware\Core\Framework\Routing\Annotation\RouteScope {#1844 -scopes: [ "api" ] } |
_route_params | [ "auth_required" => false ] |
_since | Shopware\Core\Framework\Routing\Annotation\Since {#1836 -value: "0.9.0" } |
_stopwatch_token | "74f7c7" |
auth_required | false |
sw-context | Shopware\Core\Framework\Context {#1826 #extensions: [] #languageIdChain: [ "2fbb5fe2e29a4d70aa5854ce7ce3e20b" ] #versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425" #currencyId: "b7d2554b0ce847cd82f3ac9bd1c0dfca" #currencyFactor: 1.0 #scope: "system" #ruleIds: [] #source: Shopware\Core\Framework\Api\Context\SystemSource {#1818 …} #considerInheritance: false #taxState: "gross" #rounding: Shopware\Core\Framework\DataAbstractionLayer\Pricing\CashRoundingConfig {#1819 …} -states: [] } |
Request Headers
Header | Value |
---|---|
accept | "*/*" |
connection | "close" |
content-length | "3200" |
content-type | "application/json" |
correlation-id | "f562189bbf972" |
host | "www.sanetta-dev.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 | "1e93a843-a82e-11ef-9270-23ef5e66a2b3" |
paypal-transmission-sig | "KunKKr5ZznRwS1uNqtGy/Do1eVKduAE1HSqu4wtOo1wt9EnpgI1G8CRZVIBioQlmf441L+pEwISBhr5+eAnaElsA0i5HkrIh6q2XoKdk6ovJ3mb/D9HZrZBNU0sOZFeaQBk4gknjkidfjemxLREYMiR9ck/DgQtdWpdBaAnzVsSnOjnhrddz4ilYSB0/D5zoKsvEA4dH5dYainZcV1KhfmJHQIs6GIMZ5NBEpZj0Ou+OQ3gvARZN2NFVt4RtFtYff3NZZbzS9Gmk0l0Zyd8XQh8E034qnTd6iiBxtW8TuGuA7EN8mUoa98aEZkIQTWY2h4UZHZxRKUdyWtryBx3VuA==" |
paypal-transmission-time | "2024-11-21T17:29:10Z" |
user-agent | "PayPal/AUHD-214.0-58711782" |
x-b3-spanid | "17ffc3e20c09e5d5" |
x-php-ob-level | "1" |
Request Content
Pretty
{ "id": "WH-78X38491W0424342Y-6KK44852127405259", "event_version": "1.0", "create_time": "2024-11-21T17:29:07.124Z", "resource_type": "payment", "event_type": "PAYMENTS.PAYMENT.CREATED", "summary": "Checkout payment is created and approved by buyer", "resource": { "update_time": "2024-11-21T17:28:56Z", "create_time": "2024-11-21T17:23:09Z", "links": [ { "href": "https:\/\/api.paypal.com\/v1\/payments\/payment\/PAYID-M47WY7I0FB13368AS392574L", "rel": "self", "method": "GET" } ], "id": "PAYID-M47WY7I0FB13368AS392574L", "state": "approved", "transactions": [ { "amount": { "total": "369.40", "currency": "EUR", "details": { "subtotal": "348.90", "tax": "0.00", "shipping": "20.50", "insurance": "0.00", "handling_fee": "0.00", "shipping_discount": "0.00", "discount": "0.00" } }, "payee": { "merchant_id": "8EJKDZ6HN4GA2", "email": "info@hfboy.de" }, "description": "Boy-Katzennetz - Extrem - 50mm Maschenweite - Rei\u00dffestigkeit 100Kg - olivgr\u00fcn ", "custom": "98a70976a998463687d7c43ab3d206b3", "invoice_number": "512388296", "soft_descriptor": "PAYPAL *HFBOYHANDEL", "item_list": { "items": [ { "name": "Boy-Katzennetz - Extrem - 50mm Maschenweite - Rei\u00dffestigkeit 100Kg - olivgr\u00fcn ", "sku": "265034", "price": "324.90", "currency": "EUR", "tax": "0.00", "quantity": 1, "image_url": "" }, { "name": "Flechtleine - 20m Rolle - 3mm \u00d8 - olivgr\u00fcn, schwarz & wei\u00df", "sku": "400204", "price": "6.00", "currency": "EUR", "tax": "0.00", "quantity": 4, "image_url": "" } ], "shipping_address": { "recipient_name": "Nela Nusshall", "line1": "Promenadegasse 18\/1\/3", "city": "Wien", "state": "", "postal_code": "1170", "country_code": "AT" } }, "related_resources": [ { "sale": { "id": "4Y000742G3547170B", "state": "completed", "amount": { "total": "369.40", "currency": "EUR", "details": { "subtotal": "348.90", "tax": "0.00", "shipping": "20.50", "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": "8.85", "currency": "EUR" }, "parent_payment": "PAYID-M47WY7I0FB13368AS392574L", "create_time": "2024-11-21T17:28:56Z", "update_time": "2024-11-21T17:28:56Z", "links": [ { "href": "https:\/\/api.paypal.com\/v1\/payments\/sale\/4Y000742G3547170B", "rel": "self", "method": "GET" }, { "href": "https:\/\/api.paypal.com\/v1\/payments\/sale\/4Y000742G3547170B\/refund", "rel": "refund", "method": "POST" }, { "href": "https:\/\/api.paypal.com\/v1\/payments\/payment\/PAYID-M47WY7I0FB13368AS392574L", "rel": "parent_payment", "method": "GET" } ], "soft_descriptor": "PAYPAL *HFBOYHANDEL" } } ] } ], "intent": "sale", "payer": { "payment_method": "paypal", "status": "VERIFIED", "payer_info": { "email": "nela.nusshall@gmail.com", "first_name": "Nela", "last_name": "Nusshall", "payer_id": "HY424G8SQ3XFQ", "shipping_address": { "recipient_name": "Nela Nusshall", "line1": "Promenadegasse 18\/1\/3", "city": "Wien", "state": "", "postal_code": "1170", "country_code": "AT" }, "phone": "00436766052241", "country_code": "AT" } }, "cart": "1U022886MX708512V" }, "links": [ { "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-78X38491W0424342Y-6KK44852127405259", "rel": "self", "method": "GET" }, { "href": "https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-78X38491W0424342Y-6KK44852127405259\/resend", "rel": "resend", "method": "POST" } ] }
Raw
{"id":"WH-78X38491W0424342Y-6KK44852127405259","event_version":"1.0","create_time":"2024-11-21T17:29:07.124Z","resource_type":"payment","event_type":"PAYMENTS.PAYMENT.CREATED","summary":"Checkout payment is created and approved by buyer","resource":{"update_time":"2024-11-21T17:28:56Z","create_time":"2024-11-21T17:23:09Z","links":[{"href":"https://api.paypal.com/v1/payments/payment/PAYID-M47WY7I0FB13368AS392574L","rel":"self","method":"GET"}],"id":"PAYID-M47WY7I0FB13368AS392574L","state":"approved","transactions":[{"amount":{"total":"369.40","currency":"EUR","details":{"subtotal":"348.90","tax":"0.00","shipping":"20.50","insurance":"0.00","handling_fee":"0.00","shipping_discount":"0.00","discount":"0.00"}},"payee":{"merchant_id":"8EJKDZ6HN4GA2","email":"info@hfboy.de"},"description":"Boy-Katzennetz - Extrem - 50mm Maschenweite - Reißfestigkeit 100Kg - olivgrün ","custom":"98a70976a998463687d7c43ab3d206b3","invoice_number":"512388296","soft_descriptor":"PAYPAL *HFBOYHANDEL","item_list":{"items":[{"name":"Boy-Katzennetz - Extrem - 50mm Maschenweite - Reißfestigkeit 100Kg - olivgrün ","sku":"265034","price":"324.90","currency":"EUR","tax":"0.00","quantity":1,"image_url":""},{"name":"Flechtleine - 20m Rolle - 3mm Ø - olivgrün, schwarz & weiß","sku":"400204","price":"6.00","currency":"EUR","tax":"0.00","quantity":4,"image_url":""}],"shipping_address":{"recipient_name":"Nela Nusshall","line1":"Promenadegasse 18/1/3","city":"Wien","state":"","postal_code":"1170","country_code":"AT"}},"related_resources":[{"sale":{"id":"4Y000742G3547170B","state":"completed","amount":{"total":"369.40","currency":"EUR","details":{"subtotal":"348.90","tax":"0.00","shipping":"20.50","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":"8.85","currency":"EUR"},"parent_payment":"PAYID-M47WY7I0FB13368AS392574L","create_time":"2024-11-21T17:28:56Z","update_time":"2024-11-21T17:28:56Z","links":[{"href":"https://api.paypal.com/v1/payments/sale/4Y000742G3547170B","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v1/payments/sale/4Y000742G3547170B/refund","rel":"refund","method":"POST"},{"href":"https://api.paypal.com/v1/payments/payment/PAYID-M47WY7I0FB13368AS392574L","rel":"parent_payment","method":"GET"}],"soft_descriptor":"PAYPAL *HFBOYHANDEL"}}]}],"intent":"sale","payer":{"payment_method":"paypal","status":"VERIFIED","payer_info":{"email":"nela.nusshall@gmail.com","first_name":"Nela","last_name":"Nusshall","payer_id":"HY424G8SQ3XFQ","shipping_address":{"recipient_name":"Nela Nusshall","line1":"Promenadegasse 18/1/3","city":"Wien","state":"","postal_code":"1170","country_code":"AT"},"phone":"00436766052241","country_code":"AT"}},"cart":"1U022886MX708512V"},"links":[{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-78X38491W0424342Y-6KK44852127405259","rel":"self","method":"GET"},{"href":"https://api.paypal.com/v1/notifications/webhooks-events/WH-78X38491W0424342Y-6KK44852127405259/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 | "Thu, 21 Nov 2024 17:29:23 GMT" |
referrer-policy | "strict-origin-when-cross-origin" |
strict-transport-security | "max-age=31536000; includeSubDomains" |
x-content-type-options | "nosniff" |
x-debug-token | "d4b46d" |
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 | "def00000b8390910c58ee7671dbb506c653559cddd26c6e69a1a5f7e6ff698100eb4c5db018275b1caab5159f9b1882bac3a83d1bd216339092979ab700e9a4b8cc5dd09" |
APP_URL | "https://sanetta-dev.kunden.loewenstark.de" |
BLUE_GREEN_DEPLOYMENT | "1" |
COMPOSER_HOME | "/var/www/html/sanetta/htdocs/var/cache/composer" |
DATABASE_URL | "mysql://sanettasql1:BbnfzcMoqw@127.0.0.1:3306/sanettasql1" |
INSTANCE_ID | "CQFHsvxxqi2tYnUS59rHCInljldFy2M9" |
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 | "3200" |
CONTENT_TYPE | "application/json" |
CONTEXT_DOCUMENT_ROOT | "/var/customers/webs/sanetta/htdocs/public" |
CONTEXT_PREFIX | "" |
DOCUMENT_ROOT | "/var/customers/webs/sanetta/htdocs/public" |
FCGI_ROLE | "RESPONDER" |
GATEWAY_INTERFACE | "CGI/1.1" |
HTTPS | "on" |
HTTP_ACCEPT | "*/*" |
HTTP_CONNECTION | "close" |
HTTP_CORRELATION_ID | "f562189bbf972" |
HTTP_HOST | "www.sanetta-dev.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 | "1e93a843-a82e-11ef-9270-23ef5e66a2b3" |
HTTP_PAYPAL_TRANSMISSION_SIG | "KunKKr5ZznRwS1uNqtGy/Do1eVKduAE1HSqu4wtOo1wt9EnpgI1G8CRZVIBioQlmf441L+pEwISBhr5+eAnaElsA0i5HkrIh6q2XoKdk6ovJ3mb/D9HZrZBNU0sOZFeaQBk4gknjkidfjemxLREYMiR9ck/DgQtdWpdBaAnzVsSnOjnhrddz4ilYSB0/D5zoKsvEA4dH5dYainZcV1KhfmJHQIs6GIMZ5NBEpZj0Ou+OQ3gvARZN2NFVt4RtFtYff3NZZbzS9Gmk0l0Zyd8XQh8E034qnTd6iiBxtW8TuGuA7EN8mUoa98aEZkIQTWY2h4UZHZxRKUdyWtryBx3VuA==" |
HTTP_PAYPAL_TRANSMISSION_TIME | "2024-11-21T17:29:10Z" |
HTTP_USER_AGENT | "PayPal/AUHD-214.0-58711782" |
HTTP_X_B3_SPANID | "17ffc3e20c09e5d5" |
PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" |
PHPRC | "/var/www/php-fcgi-scripts/froxlor/sanetta/sanetta-dev.kunden.loewenstark.de/" |
PHP_FCGI_CHILDREN | "0" |
PHP_FCGI_MAX_REQUESTS | "50" |
PHP_SELF | "/index.php" |
PWD | "/var/www/php-fcgi-scripts/froxlor/sanetta/sanetta-dev.kunden.loewenstark.de" |
QUERY_STRING | "sw-token=ss9vfzW5LfFnX0VLCKhUmCVxyV8VW7hq" |
REDIRECT_HTTPS | "on" |
REDIRECT_QUERY_STRING | "sw-token=ss9vfzW5LfFnX0VLCKhUmCVxyV8VW7hq" |
REDIRECT_SSL_TLS_SNI | "www.sanetta-dev.kunden.loewenstark.de" |
REDIRECT_STATUS | "200" |
REDIRECT_UNIQUE_ID | "Zz9t8-9IgMniqjyOnUQA0gAAAEs" |
REDIRECT_URL | "/api/_action/paypal/webhook/execute" |
REMOTE_ADDR | "173.0.81.140" |
REMOTE_PORT | "4272" |
REQUEST_METHOD | "POST" |
REQUEST_SCHEME | "https" |
REQUEST_TIME | 1732210163 |
REQUEST_TIME_FLOAT | 1732210163.8832 |
REQUEST_URI | "/api/_action/paypal/webhook/execute?sw-token=ss9vfzW5LfFnX0VLCKhUmCVxyV8VW7hq" |
SCRIPT_FILENAME | "/var/customers/webs/sanetta/htdocs/public/index.php" |
SCRIPT_NAME | "/index.php" |
SERVER_ADDR | "88.99.104.12" |
SERVER_ADMIN | "n.alzain@loewenstark.com" |
SERVER_NAME | "www.sanetta-dev.kunden.loewenstark.de" |
SERVER_PORT | "443" |
SERVER_PROTOCOL | "HTTP/1.1" |
SERVER_SIGNATURE | "<address>Apache/2.4.62 (Debian) Server at www.sanetta-dev.kunden.loewenstark.de Port 443</address>\n" |
SERVER_SOFTWARE | "Apache/2.4.62 (Debian)" |
SSL_TLS_SNI | "www.sanetta-dev.kunden.loewenstark.de" |
SYMFONY_DOTENV_VARS | "APP_ENV,APP_SECRET,APP_URL,MAILER_URL,DATABASE_URL,COMPOSER_HOME,INSTANCE_ID,BLUE_GREEN_DEPLOYMENT,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 | "Zz9t8-9IgMniqjyOnUQA0gAAAEs" |